scenario_simulator_v2 C++ API
|
#include <plugin.hpp>
Public Member Functions | |
void | update (double current_time, double step_time) override |
just update timestamp of entity_status_ member variable. More... | |
void | configure (const rclcpp::Logger &logger) override |
setup rclcpp::logger for debug output, but there is no debug output in this plugin. More... | |
const std::string & | getCurrentAction () const override |
Get the Current Action object. More... | |
std::vector< visualization_msgs::msg::Marker > | getDebugMarker () override |
void | setDebugMarker (const std::vector< visualization_msgs::msg::Marker > &) override |
double | getDefaultMatchingDistanceForLaneletPoseCalculation () override |
void | setDefaultMatchingDistanceForLaneletPoseCalculation (const double &) override |
std::vector< geometry_msgs::msg::Pose > | getGoalPoses () override |
void | setGoalPoses (const std::vector< geometry_msgs::msg::Pose > &) override |
traffic_simulator::lane_change::Parameter | getLaneChangeParameters () override |
void | setLaneChangeParameters (const traffic_simulator::lane_change::Parameter &) override |
std::optional< traffic_simulator_msgs::msg::Obstacle > | getObstacle () override |
void | setObstacle (const std::optional< traffic_simulator_msgs::msg::Obstacle > &) override |
EntityStatusDict | getOtherEntityStatus () override |
void | setOtherEntityStatus (const EntityStatusDict &) override |
traffic_simulator_msgs::msg::PedestrianParameters | getPedestrianParameters () override |
void | setPedestrianParameters (const traffic_simulator_msgs::msg::PedestrianParameters &) override |
std::shared_ptr< math::geometry::CatmullRomSpline > | getReferenceTrajectory () override |
void | setReferenceTrajectory (const std::shared_ptr< math::geometry::CatmullRomSpline > &) override |
lanelet::Ids | getRouteLanelets () override |
void | setRouteLanelets (const lanelet::Ids &) override |
std::optional< double > | getTargetSpeed () override |
void | setTargetSpeed (const std::optional< double > &) override |
std::shared_ptr< traffic_simulator::TrafficLightsBase > | getTrafficLights () override |
void | setTrafficLights (const std::shared_ptr< traffic_simulator::TrafficLightsBase > &) override |
traffic_simulator_msgs::msg::VehicleParameters | getVehicleParameters () override |
void | setVehicleParameters (const traffic_simulator_msgs::msg::VehicleParameters &) override |
traffic_simulator_msgs::msg::WaypointsArray | getWaypoints () override |
void | setWaypoints (const traffic_simulator_msgs::msg::WaypointsArray &) override |
traffic_simulator_msgs::msg::BehaviorParameter | getBehaviorParameter () override |
void | setBehaviorParameter (const traffic_simulator_msgs::msg::BehaviorParameter &value) override |
std::shared_ptr< traffic_simulator::CanonicalizedEntityStatus > | getCanonicalizedEntityStatus () override |
void | setCanonicalizedEntityStatus (const std::shared_ptr< traffic_simulator::CanonicalizedEntityStatus > &value) override |
double | getCurrentTime () override |
void | setCurrentTime (const double &value) override |
std::shared_ptr< hdmap_utils::HdMapUtils > | getHdMapUtils () override |
void | setHdMapUtils (const std::shared_ptr< hdmap_utils::HdMapUtils > &value) override |
std::shared_ptr< traffic_simulator_msgs::msg::PolylineTrajectory > | getPolylineTrajectory () override |
void | setPolylineTrajectory (const std::shared_ptr< traffic_simulator_msgs::msg::PolylineTrajectory > &value) override |
traffic_simulator::behavior::Request | getRequest () override |
void | setRequest (const traffic_simulator::behavior::Request &value) override |
double | getStepTime () override |
void | setStepTime (const double &value) override |
Public Member Functions inherited from entity_behavior::BehaviorPluginBase | |
virtual | ~BehaviorPluginBase ()=default |
auto | getBehaviorParameterKey () const -> const std::string & |
auto | getCanonicalizedEntityStatusKey () const -> const std::string & |
auto | getCurrentTimeKey () const -> const std::string & |
auto | getDebugMarkerKey () const -> const std::string & |
auto | getDefaultMatchingDistanceForLaneletPoseCalculationKey () const -> const std::string & |
auto | getGoalPosesKey () const -> const std::string & |
auto | getHdMapUtilsKey () const -> const std::string & |
auto | getLaneChangeParametersKey () const -> const std::string & |
auto | getObstacleKey () const -> const std::string & |
auto | getOtherEntityStatusKey () const -> const std::string & |
auto | getPedestrianParametersKey () const -> const std::string & |
auto | getPolylineTrajectoryKey () const -> const std::string & |
auto | getReferenceTrajectoryKey () const -> const std::string & |
auto | getRequestKey () const -> const std::string & |
auto | getRouteLaneletsKey () const -> const std::string & |
auto | getStepTimeKey () const -> const std::string & |
auto | getTargetSpeedKey () const -> const std::string & |
auto | getTrafficLightsKey () const -> const std::string & |
auto | getVehicleParametersKey () const -> const std::string & |
auto | getWaypointsKey () const -> const std::string & |
|
overridevirtual |
setup rclcpp::logger for debug output, but there is no debug output in this plugin.
logger | logger for debug output, this argument exists for other BehaviorPlugin classes but are not used by this plugin. |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
overridevirtual |
Get the Current Action object.
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
inlineoverridevirtual |
Implements entity_behavior::BehaviorPluginBase.
|
overridevirtual |
just update timestamp of entity_status_ member variable.
current_time | current time in scenario time |
step_time | step time of the simulation, this argument exists for other BehaviorPlugin classes but are not used by this plugin. |
Implements entity_behavior::BehaviorPluginBase.