Skip to content

Commit

Permalink
feat: register V2ITrafficSignalControllerAction as "V2ITrafficSignalC…
Browse files Browse the repository at this point in the history
…ontrollerAction@v1" for custom command
  • Loading branch information
HansRobo committed Jan 9, 2024
1 parent bcf44b1 commit 84ccaf2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ struct ApplyRequestToCorporateCommandAction : public CustomCommand,
}
};

struct ApplyV2ITrafficSignalControllerAction : public CustomCommand,
public SimulatorCore::NonStandardOperation
struct ApplyV2ITrafficSignalControllerAction : public CustomCommand,
public SimulatorCore::NonStandardOperation
{
using CustomCommand::CustomCommand;

Expand Down Expand Up @@ -324,6 +324,7 @@ auto makeCustomCommand(const std::string & type, const std::string & content)
ELEMENT("FaultInjectionAction@v2", ApplyFaultInjectionAction<2>),
ELEMENT("PseudoTrafficSignalDetectorConfidenceSetAction@v1", ApplyPseudoTrafficSignalDetectorConfidenceSetAction<1>),
ELEMENT("RequestToCooperateCommandAction@v1", ApplyRequestToCorporateCommandAction<1>),
ELEMENT("V2ITrafficSignalControllerAction@v1", ApplyV2ITrafficSignalControllerAction),
ELEMENT("V2ITrafficSignalStateAction", ApplyV2ITrafficSignalStateAction),
ELEMENT("WalkStraightAction", ApplyWalkStraightAction),
ELEMENT("debugError", DebugError),
Expand Down

0 comments on commit 84ccaf2

Please sign in to comment.