Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
arbitrator::NeighborGenerator Class Referenceabstract

#include <neighbor_generator.hpp>

Inheritance diagram for arbitrator::NeighborGenerator:
Inheritance graph
Collaboration diagram for arbitrator::NeighborGenerator:
Collaboration graph

Public Member Functions

virtual std::vector< carma_planning_msgs::msg::ManeuverPlan > generate_neighbors (carma_planning_msgs::msg::ManeuverPlan plan, const VehicleState &initial_state) const =0
 Generate the list of neighbors/children that a given node in the search graph expands to. More...
 
virtual ~NeighborGenerator ()
 Virtual destructor provided for memory safety. More...
 

Detailed Description

Generic interface representing computation of children or neighbor nodes in a planning search graph

Definition at line 30 of file neighbor_generator.hpp.

Constructor & Destructor Documentation

◆ ~NeighborGenerator()

virtual arbitrator::NeighborGenerator::~NeighborGenerator ( )
inlinevirtual

Virtual destructor provided for memory safety.

Definition at line 46 of file neighbor_generator.hpp.

46{};

Member Function Documentation

◆ generate_neighbors()

virtual std::vector< carma_planning_msgs::msg::ManeuverPlan > arbitrator::NeighborGenerator::generate_neighbors ( carma_planning_msgs::msg::ManeuverPlan  plan,
const VehicleState initial_state 
) const
pure virtual

Generate the list of neighbors/children that a given node in the search graph expands to.

Parameters
planThe maneuver plan to expand upon
initial_stateThe initial state of the vehicle at the start of plan. This will be provided to planners for specific use when plan is empty
Returns
A vector containing the new plans generated from it, if any

Implemented in arbitrator::PluginNeighborGenerator< T >.


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