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.
|
#include <route_generator_worker.hpp>
Public Member Functions | |
RouteGeneratorWorker (tf2_ros::Buffer &tf2_buffer) | |
Constructor for RouteGeneratorWorker class taking in dependencies via dependency injection. More... | |
void | setReroutingChecker (const std::function< bool()> inputFunction) |
setReroutingChecker function to set the rerouting flag More... | |
void | setWorldModelPtr (carma_wm::WorldModelConstPtr wm) |
Dependency injection for world model pointer. More... | |
void | setLoggerInterface (rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr logger) |
Dependency injection for logger interface. More... | |
void | setClock (rclcpp::Clock::SharedPtr clock) |
Dependency injection for clock object. More... | |
lanelet::Optional< lanelet::routing::Route > | routing (const lanelet::BasicPoint2d start, const std::vector< lanelet::BasicPoint2d > &via, const lanelet::BasicPoint2d end, const lanelet::LaneletMapConstPtr map_pointer, const carma_wm::LaneletRoutingGraphConstPtr graph_pointer) const |
Generate Lanelet2 route based on input destinations. More... | |
bool | getAvailableRouteCb (const std::shared_ptr< rmw_request_id_t >, const std::shared_ptr< carma_planning_msgs::srv::GetAvailableRoutes::Request >, std::shared_ptr< carma_planning_msgs::srv::GetAvailableRoutes::Response > resp) |
Get_available_route service callback. Calls to this service will respond with a list of route names for user to select. More... | |
bool | setActiveRouteCb (const std::shared_ptr< rmw_request_id_t >, const std::shared_ptr< carma_planning_msgs::srv::SetActiveRoute::Request > req, std::shared_ptr< carma_planning_msgs::srv::SetActiveRoute::Response > resp) |
Set_active_route service callback. User can select a route to start following by calling this service. More... | |
bool | abortActiveRouteCb (const std::shared_ptr< rmw_request_id_t >, const std::shared_ptr< carma_planning_msgs::srv::AbortActiveRoute::Request >, std::shared_ptr< carma_planning_msgs::srv::AbortActiveRoute::Response > resp) |
Abort_active_route service callback. User can call this service to abort a current following route and return to route selection stage. More... | |
void | bumperPoseCb () |
Callback for the front bumper pose transform. More... | |
void | twistCb (geometry_msgs::msg::TwistStamped::UniquePtr msg) |
Callback for the twist subscriber, which will store latest twist locally. More... | |
void | georeferenceCb (std_msgs::msg::String::UniquePtr msg) |
Callback for the georeference subscriber used to set the map projection. More... | |
void | setRouteFilePath (const std::string &path) |
Set method for configurable parameter. More... | |
void | setDowntrackDestinationRange (double dt_dest_range) |
Set method for configurable parameter. More... | |
void | setPublishers (const carma_ros2_utils::PubPtr< carma_planning_msgs::msg::RouteEvent > &route_event_pub, const carma_ros2_utils::PubPtr< carma_planning_msgs::msg::RouteState > &route_state_pub, const carma_ros2_utils::PubPtr< carma_planning_msgs::msg::Route > &route_pub, const carma_ros2_utils::PubPtr< visualization_msgs::msg::Marker > &route_marker_pub) |
Method to pass publishers into worker class. More... | |
bool | checkForDuplicateLaneletsInShortestPath (const lanelet::routing::Route &route) const |
Helper function to check whether a route's shortest path contains any duplicate Lanelet IDs. 'true' indicates that the route's shortest path contains duplicate Lanelet IDs. More... | |
std::vector< lanelet::BasicPoint3d > | loadRouteDestinationsInMapFrame (const std::vector< carma_v2x_msgs::msg::Position3D > &destinations) const |
Function to take route destination points from a vector of 3D points and convert them from lat/lon values to to coordinates in map frame based on the projection string. More... | |
std::vector< carma_v2x_msgs::msg::Position3D > | loadRouteDestinationGpsPointsFromRouteId (const std::string &route_id) const |
Function to load route destination points from a route file and store them in a vector of 3D points. More... | |
carma_planning_msgs::msg::Route | composeRouteMsg (const lanelet::Optional< lanelet::routing::Route > &route) const |
Helper function to generate a CARMA route message based on planned lanelet route. More... | |
bool | spinCallback () |
Spin callback which will be called frequently based on spin rate. More... | |
visualization_msgs::msg::Marker | composeRouteMarkerMsg (const lanelet::Optional< lanelet::routing::Route > &route) |
composeRouteMarkerMsg is a function to generate route rviz markers More... | |
bool | crosstrackErrorCheck (const std::shared_ptr< geometry_msgs::msg::PoseStamped > &msg, lanelet::ConstLanelet current_llt) |
crosstrackErrorCheck is a function that determines when the vehicle has left the route and reports when a crosstrack error has taken place More... | |
void | setCrosstrackErrorCountMax (int cte_max) |
set the crosstrack error counter maximum limit More... | |
void | setCrosstrackErrorDistance (double cte_dist) |
set the maximum crosstrack error distance More... | |
lanelet::ConstLanelet | getClosestLaneletFromRouteLanelets (lanelet::BasicPoint2d position) const |
"Get the closest lanelet on the route relative to the vehicle's current position. If the input list does not contain lanelets on the route, still closest lanelet from the route will be returned More... | |
void | addLanelet (lanelet::ConstLanelet llt) |
lanelet::Optional< lanelet::routing::Route > | rerouteAfterRouteInvalidation (const std::vector< lanelet::BasicPoint2d > &destination_points_in_map) |
After route is invalidated, this function returns a new route based on the destinations points. More... | |
void | initializeBumperTransformLookup () |
Initialize transform lookup from front bumper to map. More... | |
Public Attributes | |
std::function< bool()> | reroutingChecker |
reroutingChecker function to set the rerouting flag locally More... | |
boost::optional< geometry_msgs::msg::PoseStamped > | vehicle_pose_ |
Private Member Functions | |
void | publishRouteEvent (uint8_t event_type) |
Private Attributes | |
const double | DEG_TO_RAD = 0.0174533 |
RouteStateWorker | rs_worker_ |
std::string | route_file_path_ |
carma_wm::WorldModelConstPtr | world_model_ |
carma_planning_msgs::msg::Route | route_msg_ |
carma_planning_msgs::msg::RouteEvent | route_event_msg_ |
carma_planning_msgs::msg::RouteState | route_state_msg_ |
visualization_msgs::msg::Marker | route_marker_msg_ |
std::vector< lanelet::ConstPoint3d > | points_ |
lanelet::ConstLanelets | route_llts |
double | down_track_target_range_ |
double | current_crosstrack_distance_ |
double | current_downtrack_distance_ |
lanelet::BasicPoint2d | current_loc_ |
double | ll_crosstrack_distance_ |
double | ll_downtrack_distance_ |
lanelet::Id | ll_id_ |
double | speed_limit_ = 0 |
double | current_speed_ = 0 |
carma_ros2_utils::PubPtr< carma_planning_msgs::msg::RouteEvent > | route_event_pub_ |
carma_ros2_utils::PubPtr< carma_planning_msgs::msg::RouteState > | route_state_pub_ |
carma_ros2_utils::PubPtr< carma_planning_msgs::msg::Route > | route_pub_ |
carma_ros2_utils::PubPtr< visualization_msgs::msg::Marker > | route_marker_pub_ |
bool | new_route_msg_generated_ = false |
bool | new_route_marker_generated_ = false |
std::queue< uint8_t > | route_event_queue |
double | cross_track_dist_ |
int | cte_count_ = 0 |
int | cte_count_max_ |
std::vector< lanelet::BasicPoint2d > | destination_points_in_map_ |
boost::optional< std::string > | map_proj_ |
geometry_msgs::msg::TransformStamped | tf_ |
tf2::Stamped< tf2::Transform > | frontbumper_transform_ |
tf2_ros::Buffer & | tf2_buffer_ |
std::unique_ptr< tf2_ros::TransformListener > | tf2_listener_ |
rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr | logger_ |
rclcpp::Clock::SharedPtr | clock_ |
Static Private Attributes | |
static constexpr double | epsilon_ = 0.001 |
Definition at line 57 of file route_generator_worker.hpp.
route::RouteGeneratorWorker::RouteGeneratorWorker | ( | tf2_ros::Buffer & | tf2_buffer | ) |
Constructor for RouteGeneratorWorker class taking in dependencies via dependency injection.
Definition at line 21 of file route_generator_worker.cpp.
bool route::RouteGeneratorWorker::abortActiveRouteCb | ( | const std::shared_ptr< rmw_request_id_t > | , |
const std::shared_ptr< carma_planning_msgs::srv::AbortActiveRoute::Request > | , | ||
std::shared_ptr< carma_planning_msgs::srv::AbortActiveRoute::Response > | resp | ||
) |
Abort_active_route service callback. User can call this service to abort a current following route and return to route selection stage.
req | A carma_planning_msgs::srv::AbortActiveRoute::Request msg which contains the route name user wants to stop following |
resp | A carma_planning_msgs::srv::AbortActiveRoute::Response msg contains error status showing if there is an active route |
Definition at line 470 of file route_generator_worker.cpp.
References route::RouteStateWorker::getRouteState(), route::RouteStateWorker::onRouteEvent(), publishRouteEvent(), route_msg_, and rs_worker_.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::addLanelet | ( | lanelet::ConstLanelet | llt | ) |
Definition at line 778 of file route_generator_worker.cpp.
References route_llts.
void route::RouteGeneratorWorker::bumperPoseCb | ( | ) |
Callback for the front bumper pose transform.
Definition at line 494 of file route_generator_worker.cpp.
References carma_wm::TrackPos::crosstrack, crosstrackErrorCheck(), current_crosstrack_distance_, current_downtrack_distance_, current_loc_, current_speed_, down_track_target_range_, carma_wm::TrackPos::downtrack, epsilon_, frontbumper_transform_, getClosestLaneletFromRouteLanelets(), route::RouteStateWorker::getRouteState(), ll_crosstrack_distance_, ll_downtrack_distance_, ll_id_, logger_, route::RouteStateWorker::onRouteEvent(), publishRouteEvent(), route_msg_, rs_worker_, speed_limit_, tf2_buffer_, tf_, carma_wm::geometry::trackPos(), vehicle_pose_, and world_model_.
Referenced by spinCallback().
bool route::RouteGeneratorWorker::checkForDuplicateLaneletsInShortestPath | ( | const lanelet::routing::Route & | route | ) | const |
Helper function to check whether a route's shortest path contains any duplicate Lanelet IDs. 'true' indicates that the route's shortest path contains duplicate Lanelet IDs.
route | Route object from lanelet2 lib routing function |
Definition at line 296 of file route_generator_worker.cpp.
Referenced by setActiveRouteCb(), and spinCallback().
visualization_msgs::msg::Marker route::RouteGeneratorWorker::composeRouteMarkerMsg | ( | const lanelet::Optional< lanelet::routing::Route > & | route | ) |
composeRouteMarkerMsg is a function to generate route rviz markers
route | Route object from lanelet2 lib routing function |
Definition at line 384 of file route_generator_worker.cpp.
References carma_wm::TrackPos::downtrack, process_bag::i, logger_, new_route_marker_generated_, route_marker_msg_, and carma_wm::geometry::trackPos().
Referenced by setActiveRouteCb(), and spinCallback().
carma_planning_msgs::msg::Route route::RouteGeneratorWorker::composeRouteMsg | ( | const lanelet::Optional< lanelet::routing::Route > & | route | ) | const |
Helper function to generate a CARMA route message based on planned lanelet route.
route | Route object from lanelet2 lib routing function |
Definition at line 450 of file route_generator_worker.cpp.
Referenced by setActiveRouteCb(), and spinCallback().
bool route::RouteGeneratorWorker::crosstrackErrorCheck | ( | const std::shared_ptr< geometry_msgs::msg::PoseStamped > & | msg, |
lanelet::ConstLanelet | current_llt | ||
) |
crosstrackErrorCheck is a function that determines when the vehicle has left the route and reports when a crosstrack error has taken place
msg | Msg that contains the vehicle's current position |
current_llt | The lanelet that the vehicle is currently in |
Definition at line 712 of file route_generator_worker.cpp.
References cross_track_dist_, cte_count_, cte_count_max_, and logger_.
Referenced by bumperPoseCb().
void route::RouteGeneratorWorker::georeferenceCb | ( | std_msgs::msg::String::UniquePtr | msg | ) |
Callback for the georeference subscriber used to set the map projection.
msg | The latest georeference |
Definition at line 582 of file route_generator_worker.cpp.
References map_proj_.
Referenced by route::Route::handle_on_configure().
bool route::RouteGeneratorWorker::getAvailableRouteCb | ( | const std::shared_ptr< rmw_request_id_t > | , |
const std::shared_ptr< carma_planning_msgs::srv::GetAvailableRoutes::Request > | , | ||
std::shared_ptr< carma_planning_msgs::srv::GetAvailableRoutes::Response > | resp | ||
) |
Get_available_route service callback. Calls to this service will respond with a list of route names for user to select.
req | An empty carma_planning_msgs::srv::GetAvailableRoutes::Request |
resp | A carma_planning_msgs::srv::GetAvailableRoutes::Response msg contains a list of empty Route messages with only route name populated |
Definition at line 76 of file route_generator_worker.cpp.
References route::RouteStateWorker::getRouteState(), logger_, route::RouteStateWorker::onRouteEvent(), publishRouteEvent(), route_file_path_, and rs_worker_.
Referenced by route::Route::handle_on_configure().
lanelet::ConstLanelet route::RouteGeneratorWorker::getClosestLaneletFromRouteLanelets | ( | lanelet::BasicPoint2d | position | ) | const |
"Get the closest lanelet on the route relative to the vehicle's current position. If the input list does not contain lanelets on the route, still closest lanelet from the route will be returned
position | the current position of the vehicle |
Definition at line 751 of file route_generator_worker.cpp.
References process_bag::i, and route_llts.
Referenced by bumperPoseCb().
void route::RouteGeneratorWorker::initializeBumperTransformLookup | ( | ) |
Initialize transform lookup from front bumper to map.
Definition at line 488 of file route_generator_worker.cpp.
References tf2_buffer_, and tf2_listener_.
Referenced by route::Route::handle_on_configure().
std::vector< carma_v2x_msgs::msg::Position3D > route::RouteGeneratorWorker::loadRouteDestinationGpsPointsFromRouteId | ( | const std::string & | route_id | ) | const |
Function to load route destination points from a route file and store them in a vector of 3D points.
route_id | This function will read the route file with provided route_id |
Definition at line 351 of file route_generator_worker.cpp.
References route_file_path_.
Referenced by setActiveRouteCb().
std::vector< lanelet::BasicPoint3d > route::RouteGeneratorWorker::loadRouteDestinationsInMapFrame | ( | const std::vector< carma_v2x_msgs::msg::Position3D > & | destinations | ) | const |
Function to take route destination points from a vector of 3D points and convert them from lat/lon values to to coordinates in map frame based on the projection string.
destinations | A vector of carma_v2x_msgs::msg::Position3D points containing destination points provided as lat/long values |
Definition at line 320 of file route_generator_worker.cpp.
References map_proj_.
Referenced by setActiveRouteCb().
|
private |
Definition at line 603 of file route_generator_worker.cpp.
References route_event_queue.
Referenced by abortActiveRouteCb(), bumperPoseCb(), getAvailableRouteCb(), setActiveRouteCb(), setRouteFilePath(), and spinCallback().
lanelet::Optional< lanelet::routing::Route > route::RouteGeneratorWorker::rerouteAfterRouteInvalidation | ( | const std::vector< lanelet::BasicPoint2d > & | destination_points_in_map | ) |
After route is invalidated, this function returns a new route based on the destinations points.
destination_points_in_map | vector of destination points |
Definition at line 608 of file route_generator_worker.cpp.
References current_downtrack_distance_, current_loc_, destination_points_in_map_, process_bag::i, logger_, routing(), and world_model_.
Referenced by spinCallback().
lanelet::Optional< lanelet::routing::Route > route::RouteGeneratorWorker::routing | ( | const lanelet::BasicPoint2d | start, |
const std::vector< lanelet::BasicPoint2d > & | via, | ||
const lanelet::BasicPoint2d | end, | ||
const lanelet::LaneletMapConstPtr | map_pointer, | ||
const carma_wm::LaneletRoutingGraphConstPtr | graph_pointer | ||
) | const |
Generate Lanelet2 route based on input destinations.
start | Lanelet 2D point in map frame indicates the starting point of selected route |
via | A vector of lanelet 2D points in map frame which contains points we want to visit along the route |
end | Lanelet 2D point in map frame indicates the final destination of selected route |
map_pointer | A constant pointer to lanelet vector map |
graph_pointer | A constant pointer to lanelet vector map routing graph |
Definition at line 40 of file route_generator_worker.cpp.
References logger_, and process_traj_logs::point.
Referenced by rerouteAfterRouteInvalidation(), and setActiveRouteCb().
bool route::RouteGeneratorWorker::setActiveRouteCb | ( | const std::shared_ptr< rmw_request_id_t > | , |
const std::shared_ptr< carma_planning_msgs::srv::SetActiveRoute::Request > | req, | ||
std::shared_ptr< carma_planning_msgs::srv::SetActiveRoute::Response > | resp | ||
) |
Set_active_route service callback. User can select a route to start following by calling this service.
req | A carma_planning_msgs::srv::SetActiveRoute::Request msg which contains either a route name a user wants to select or an array of carma_v2x_msgs::msg::Position3D destination points to generate a route from. |
resp | A carma_planning_msgs::srv::SetActiveRoute::Response msg contains error status indicating whether the routing succeeded |
Definition at line 150 of file route_generator_worker.cpp.
References checkForDuplicateLaneletsInShortestPath(), clock_, composeRouteMarkerMsg(), composeRouteMsg(), destination_points_in_map_, route::RouteStateWorker::getRouteState(), loadRouteDestinationGpsPointsFromRouteId(), loadRouteDestinationsInMapFrame(), logger_, map_proj_, new_route_msg_generated_, route::RouteStateWorker::onRouteEvent(), publishRouteEvent(), route_llts, route_marker_msg_, route_msg_, routing(), rs_worker_, vehicle_pose_, and world_model_.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setClock | ( | rclcpp::Clock::SharedPtr | clock | ) |
Dependency injection for clock object.
clock | Clock object that will be used by worker class |
Definition at line 35 of file route_generator_worker.cpp.
References clock_.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setCrosstrackErrorCountMax | ( | int | cte_max | ) |
set the crosstrack error counter maximum limit
cte_max | the maximum amount of acceptable crosstrack error instances |
Definition at line 772 of file route_generator_worker.cpp.
References cte_count_max_.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setCrosstrackErrorDistance | ( | double | cte_dist | ) |
set the maximum crosstrack error distance
cte_dist | maximum distance value (specified in the this package's parameters.yaml configuration file) |
Definition at line 767 of file route_generator_worker.cpp.
References cross_track_dist_.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setDowntrackDestinationRange | ( | double | dt_dest_range | ) |
Set method for configurable parameter.
dt_dest_range | Minimum down track error which can trigger route complete event |
Definition at line 598 of file route_generator_worker.cpp.
References down_track_target_range_.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setLoggerInterface | ( | rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr | logger | ) |
Dependency injection for logger interface.
logger | Logger interface that will be used by worker class |
Definition at line 29 of file route_generator_worker.cpp.
References logger_, rs_worker_, and route::RouteStateWorker::setLoggerInterface().
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setPublishers | ( | const carma_ros2_utils::PubPtr< carma_planning_msgs::msg::RouteEvent > & | route_event_pub, |
const carma_ros2_utils::PubPtr< carma_planning_msgs::msg::RouteState > & | route_state_pub, | ||
const carma_ros2_utils::PubPtr< carma_planning_msgs::msg::Route > & | route_pub, | ||
const carma_ros2_utils::PubPtr< visualization_msgs::msg::Marker > & | route_marker_pub | ||
) |
Method to pass publishers into worker class.
route_event_pub | Route event publisher |
route_state_pub | Route state publisher |
route_pub | Route publisher |
route_marker_pub | Route marker publisher |
Definition at line 587 of file route_generator_worker.cpp.
References route_event_pub_, route_marker_pub_, route_pub_, and route_state_pub_.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setReroutingChecker | ( | const std::function< bool()> | inputFunction | ) |
setReroutingChecker function to set the rerouting flag
Definition at line 71 of file route_generator_worker.cpp.
References reroutingChecker.
Referenced by route::Route::handle_on_configure().
void route::RouteGeneratorWorker::setRouteFilePath | ( | const std::string & | path | ) |
Set method for configurable parameter.
path | The location of route files |
Definition at line 142 of file route_generator_worker.cpp.
References route::RouteStateWorker::onRouteEvent(), publishRouteEvent(), route_file_path_, and rs_worker_.
Referenced by route::Route::handle_on_activate().
void route::RouteGeneratorWorker::setWorldModelPtr | ( | carma_wm::WorldModelConstPtr | wm | ) |
Dependency injection for world model pointer.
wm | CARMA world model object providing lanelet vector map and traffic regulations |
Definition at line 24 of file route_generator_worker.cpp.
References world_model_.
Referenced by route::Route::handle_on_configure().
bool route::RouteGeneratorWorker::spinCallback | ( | ) |
Spin callback which will be called frequently based on spin rate.
Definition at line 636 of file route_generator_worker.cpp.
References bumperPoseCb(), checkForDuplicateLaneletsInShortestPath(), clock_, composeRouteMarkerMsg(), composeRouteMsg(), current_crosstrack_distance_, current_downtrack_distance_, destination_points_in_map_, route::RouteStateWorker::getRouteState(), ll_downtrack_distance_, ll_id_, logger_, new_route_marker_generated_, new_route_msg_generated_, route::RouteStateWorker::onRouteEvent(), publishRouteEvent(), rerouteAfterRouteInvalidation(), reroutingChecker, route_event_msg_, route_event_pub_, route_event_queue, route_marker_msg_, route_marker_pub_, route_msg_, route_pub_, route_state_pub_, rs_worker_, speed_limit_, and world_model_.
Referenced by route::Route::handle_on_activate().
void route::RouteGeneratorWorker::twistCb | ( | geometry_msgs::msg::TwistStamped::UniquePtr | msg | ) |
Callback for the twist subscriber, which will store latest twist locally.
msg | Latest twist message |
Definition at line 577 of file route_generator_worker.cpp.
References current_speed_.
Referenced by route::Route::handle_on_configure().
|
private |
Definition at line 353 of file route_generator_worker.hpp.
Referenced by setActiveRouteCb(), setClock(), and spinCallback().
|
private |
Definition at line 330 of file route_generator_worker.hpp.
Referenced by crosstrackErrorCheck(), and setCrosstrackErrorDistance().
|
private |
Definition at line 333 of file route_generator_worker.hpp.
Referenced by crosstrackErrorCheck().
|
private |
Definition at line 335 of file route_generator_worker.hpp.
Referenced by crosstrackErrorCheck(), and setCrosstrackErrorCountMax().
|
private |
Definition at line 290 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and spinCallback().
|
private |
Definition at line 293 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), rerouteAfterRouteInvalidation(), and spinCallback().
|
private |
Definition at line 296 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and rerouteAfterRouteInvalidation().
|
private |
Definition at line 309 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and twistCb().
|
private |
Definition at line 264 of file route_generator_worker.hpp.
|
private |
Definition at line 338 of file route_generator_worker.hpp.
Referenced by rerouteAfterRouteInvalidation(), setActiveRouteCb(), and spinCallback().
|
private |
Definition at line 287 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and setDowntrackDestinationRange().
|
staticconstexprprivate |
Definition at line 311 of file route_generator_worker.hpp.
Referenced by bumperPoseCb().
|
private |
Definition at line 344 of file route_generator_worker.hpp.
Referenced by bumperPoseCb().
|
private |
Definition at line 299 of file route_generator_worker.hpp.
Referenced by bumperPoseCb().
|
private |
Definition at line 302 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and spinCallback().
|
private |
Definition at line 304 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and spinCallback().
|
private |
Definition at line 351 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), composeRouteMarkerMsg(), crosstrackErrorCheck(), getAvailableRouteCb(), rerouteAfterRouteInvalidation(), routing(), setActiveRouteCb(), setLoggerInterface(), and spinCallback().
|
private |
Definition at line 341 of file route_generator_worker.hpp.
Referenced by georeferenceCb(), loadRouteDestinationsInMapFrame(), and setActiveRouteCb().
|
private |
Definition at line 321 of file route_generator_worker.hpp.
Referenced by composeRouteMarkerMsg(), and spinCallback().
|
private |
Definition at line 320 of file route_generator_worker.hpp.
Referenced by setActiveRouteCb(), and spinCallback().
|
private |
Definition at line 281 of file route_generator_worker.hpp.
std::function<bool()> route::RouteGeneratorWorker::reroutingChecker |
reroutingChecker function to set the rerouting flag locally
Definition at line 69 of file route_generator_worker.hpp.
Referenced by setReroutingChecker(), and spinCallback().
|
private |
Definition at line 277 of file route_generator_worker.hpp.
Referenced by spinCallback().
|
private |
Definition at line 314 of file route_generator_worker.hpp.
Referenced by setPublishers(), and spinCallback().
|
private |
Definition at line 324 of file route_generator_worker.hpp.
Referenced by publishRouteEvent(), and spinCallback().
|
private |
Definition at line 270 of file route_generator_worker.hpp.
Referenced by getAvailableRouteCb(), loadRouteDestinationGpsPointsFromRouteId(), and setRouteFilePath().
|
private |
Definition at line 284 of file route_generator_worker.hpp.
Referenced by addLanelet(), getClosestLaneletFromRouteLanelets(), and setActiveRouteCb().
|
private |
Definition at line 279 of file route_generator_worker.hpp.
Referenced by composeRouteMarkerMsg(), setActiveRouteCb(), and spinCallback().
|
private |
Definition at line 317 of file route_generator_worker.hpp.
Referenced by setPublishers(), and spinCallback().
|
private |
Definition at line 276 of file route_generator_worker.hpp.
Referenced by abortActiveRouteCb(), bumperPoseCb(), setActiveRouteCb(), and spinCallback().
|
private |
Definition at line 316 of file route_generator_worker.hpp.
Referenced by setPublishers(), and spinCallback().
|
private |
Definition at line 278 of file route_generator_worker.hpp.
|
private |
Definition at line 315 of file route_generator_worker.hpp.
Referenced by setPublishers(), and spinCallback().
|
private |
Definition at line 267 of file route_generator_worker.hpp.
Referenced by abortActiveRouteCb(), bumperPoseCb(), getAvailableRouteCb(), setActiveRouteCb(), setLoggerInterface(), setRouteFilePath(), and spinCallback().
|
private |
Definition at line 307 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and spinCallback().
|
private |
Definition at line 347 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and initializeBumperTransformLookup().
|
private |
Definition at line 348 of file route_generator_worker.hpp.
Referenced by initializeBumperTransformLookup().
|
private |
Definition at line 343 of file route_generator_worker.hpp.
Referenced by bumperPoseCb().
boost::optional<geometry_msgs::msg::PoseStamped> route::RouteGeneratorWorker::vehicle_pose_ |
Definition at line 260 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), and setActiveRouteCb().
|
private |
Definition at line 273 of file route_generator_worker.hpp.
Referenced by bumperPoseCb(), rerouteAfterRouteInvalidation(), setActiveRouteCb(), setWorldModelPtr(), and spinCallback().