scenario_simulator_v2 C++ API
Public Member Functions | Static Public Member Functions | List of all members
entity_behavior::pedestrian::WalkStraightAction Class Reference

#include <walk_straight_action.hpp>

Inheritance diagram for entity_behavior::pedestrian::WalkStraightAction:
Inheritance graph
[legend]
Collaboration diagram for entity_behavior::pedestrian::WalkStraightAction:
Collaboration graph
[legend]

Public Member Functions

 WalkStraightAction (const std::string &name, const BT::NodeConfiguration &config)
 
BT::NodeStatus tick () override
 
void getBlackBoardValues ()
 
- Public Member Functions inherited from entity_behavior::PedestrianActionNode
 PedestrianActionNode (const std::string &name, const BT::NodeConfiguration &config)
 
auto calculateUpdatedEntityStatusInWorldFrame (double target_speed) const -> traffic_simulator::EntityStatus
 
auto calculateUpdatedEntityStatus (double target_speed) const -> traffic_simulator::EntityStatus
 
- Public Member Functions inherited from entity_behavior::ActionNode
 ActionNode (const std::string &name, const BT::NodeConfiguration &config)
 
 ~ActionNode () override=default
 
auto foundConflictingEntity (const lanelet::Ids &following_lanelets) const -> bool
 
auto getDistanceToConflictingEntity (const lanelet::Ids &route_lanelets, const math::geometry::CatmullRomSplineInterface &spline) const -> std::optional< double >
 
auto getFrontEntityName (const math::geometry::CatmullRomSplineInterface &spline) const -> std::optional< std::string >
 
auto calculateStopDistance (const traffic_simulator_msgs::msg::DynamicConstraints &) const -> double
 
auto getDistanceToFrontEntity (const math::geometry::CatmullRomSplineInterface &spline) const -> std::optional< double >
 
auto getDistanceToStopLine (const lanelet::Ids &route_lanelets, const std::vector< geometry_msgs::msg::Point > &waypoints) const -> std::optional< double >
 
auto getDistanceToTrafficLightStopLine (const lanelet::Ids &route_lanelets, const math::geometry::CatmullRomSplineInterface &spline) const -> std::optional< double >
 
auto getRightOfWayEntities () const -> std::vector< traffic_simulator::CanonicalizedEntityStatus >
 
auto getRightOfWayEntities (const lanelet::Ids &following_lanelets) const -> std::vector< traffic_simulator::CanonicalizedEntityStatus >
 
auto getYieldStopDistance (const lanelet::Ids &following_lanelets) const -> std::optional< double >
 
auto getOtherEntityStatus (lanelet::Id lanelet_id) const -> std::vector< traffic_simulator::CanonicalizedEntityStatus >
 
auto stopEntity () const -> void
 
auto getHorizon () const -> double
 
auto executeTick () -> BT::NodeStatus override
 throws if the derived class return RUNNING. More...
 
void halt () override final
 
auto getBlackBoardValues () -> void
 
auto getEntityStatus (const std::string &target_name) const -> const traffic_simulator::CanonicalizedEntityStatus &
 
auto getDistanceToTargetEntityPolygon (const math::geometry::CatmullRomSplineInterface &spline, const std::string target_name, double width_extension_right=0.0, double width_extension_left=0.0, double length_extension_front=0.0, double length_extension_rear=0.0) const -> std::optional< double >
 
auto setCanonicalizedEntityStatus (const traffic_simulator::EntityStatus &entity_status) -> void
 
auto calculateUpdatedEntityStatus (double target_speed, const traffic_simulator_msgs::msg::DynamicConstraints &) const -> traffic_simulator::EntityStatus
 
auto calculateUpdatedEntityStatusInWorldFrame (double target_speed, const traffic_simulator_msgs::msg::DynamicConstraints &) const -> traffic_simulator::EntityStatus
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 
- Static Public Member Functions inherited from entity_behavior::PedestrianActionNode
static BT::PortsList providedPorts ()
 
- Static Public Member Functions inherited from entity_behavior::ActionNode
static BT::PortsList providedPorts ()
 

Additional Inherited Members

- Public Attributes inherited from entity_behavior::PedestrianActionNode
traffic_simulator_msgs::msg::PedestrianParameters pedestrian_parameters
 
- Protected Attributes inherited from entity_behavior::PedestrianActionNode
traffic_simulator_msgs::msg::BehaviorParameter behavior_parameter
 
- Protected Attributes inherited from entity_behavior::ActionNode
traffic_simulator::behavior::Request request
 
std::shared_ptr< hdmap_utils::HdMapUtilshdmap_utils
 
std::shared_ptr< traffic_simulator::TrafficLightsBasetraffic_lights
 
std::shared_ptr< traffic_simulator::CanonicalizedEntityStatuscanonicalized_entity_status
 
double current_time
 
double step_time
 
double default_matching_distance_for_lanelet_pose_calculation
 
std::optional< double > target_speed
 
EntityStatusDict other_entity_status
 
lanelet::Ids route_lanelets
 

Constructor & Destructor Documentation

◆ WalkStraightAction()

entity_behavior::pedestrian::WalkStraightAction::WalkStraightAction ( const std::string &  name,
const BT::NodeConfiguration &  config 
)

Member Function Documentation

◆ getBlackBoardValues()

void entity_behavior::pedestrian::WalkStraightAction::getBlackBoardValues ( )
virtual

◆ providedPorts()

static BT::PortsList entity_behavior::pedestrian::WalkStraightAction::providedPorts ( )
inlinestatic

◆ tick()

BT::NodeStatus entity_behavior::pedestrian::WalkStraightAction::tick ( )
override

The documentation for this class was generated from the following files: