Base (abstract) class for longitudinal controllers (the ones that calculate throttle)
More...
#include <base_longitudinal_controller.hpp>
Base (abstract) class for longitudinal controllers (the ones that calculate throttle)
Definition at line 13 of file base_longitudinal_controller.hpp.
◆ LongitudinalController()
◆ ~LongitudinalController()
| virtual LongitudinalController::~LongitudinalController |
( |
| ) |
|
|
virtualdefault |
◆ get_throttle_command()
Returns the throttle command calculated by the solver (only throttle)
Implemented in PID.
◆ path_callback()
| virtual void LongitudinalController::path_callback |
( |
const custom_interfaces::msg::PathPointArray & |
msg | ) |
|
|
pure virtual |
Called when a new path is sent by Path Planning.
Implemented in PID.
◆ publish_solver_data()
| virtual void LongitudinalController::publish_solver_data |
( |
std::shared_ptr< rclcpp::Node > |
node, |
|
|
std::map< std::string, std::shared_ptr< rclcpp::PublisherBase > > & |
publisher_map |
|
) |
| |
|
pure virtual |
Publishes solver specific data using the provided ControlNode.
- Parameters
-
| node | shared pointer to the ControlNode |
| publisher_map | map of topic names to publisher pointers |
Implemented in PID.
◆ vehicle_pose_callback()
| virtual void LongitudinalController::vehicle_pose_callback |
( |
const custom_interfaces::msg::Pose & |
msg | ) |
|
|
pure virtual |
Called when the car pose is updated by SLAM.
Implemented in PID.
◆ vehicle_state_callback()
| virtual void LongitudinalController::vehicle_state_callback |
( |
const custom_interfaces::msg::Velocities & |
msg | ) |
|
|
pure virtual |
Called when the car state (currently just velocity) is updated.
Implemented in PID.
◆ params_
The documentation for this class was generated from the following file: