Base (abstract) class for lateral control solvers (that calculate steering command)
More...
#include <base_lateral_controller.hpp>
Base (abstract) class for lateral control solvers (that calculate steering command)
Definition at line 13 of file base_lateral_controller.hpp.
◆ LateralController()
◆ ~LateralController()
| virtual LateralController::~LateralController |
( |
| ) |
|
|
virtualdefault |
◆ get_steering_command()
| virtual double LateralController::get_steering_command |
( |
| ) |
|
|
pure virtual |
Returns the steering command calculated by the solver.
Implemented in PurePursuit.
◆ path_callback()
| virtual void LateralController::path_callback |
( |
const custom_interfaces::msg::PathPointArray & |
msg | ) |
|
|
pure virtual |
◆ publish_solver_data()
| virtual void LateralController::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 PurePursuit.
◆ vehicle_pose_callback()
| virtual void LateralController::vehicle_pose_callback |
( |
const custom_interfaces::msg::Pose & |
msg | ) |
|
|
pure virtual |
Called when the car pose is updated by SLAM.
Implemented in PurePursuit.
◆ vehicle_state_callback()
| virtual void LateralController::vehicle_state_callback |
( |
const custom_interfaces::msg::Velocities & |
msg | ) |
|
|
pure virtual |
Called when the car state (currently just velocity) is updated.
Implemented in PurePursuit.
◆ params_
The documentation for this class was generated from the following file: