18#ifndef ACKERMANN_STEERING_CONTROLLER__ACKERMANN_STEERING_CONTROLLER_HPP_
19#define ACKERMANN_STEERING_CONTROLLER__ACKERMANN_STEERING_CONTROLLER_HPP_
23#include "ackermann_steering_controller/visibility_control.h"
24#include "ackermann_steering_controller_parameters.hpp"
25#include "steering_controllers_library/steering_controllers_library.hpp"
27namespace ackermann_steering_controller
30static constexpr size_t STATE_TRACTION_RIGHT_WHEEL = 0;
31static constexpr size_t STATE_TRACTION_LEFT_WHEEL = 1;
32static constexpr size_t STATE_STEER_RIGHT_WHEEL = 2;
33static constexpr size_t STATE_STEER_LEFT_WHEEL = 3;
36static constexpr size_t CMD_TRACTION_RIGHT_WHEEL = 0;
37static constexpr size_t CMD_TRACTION_LEFT_WHEEL = 1;
38static constexpr size_t CMD_STEER_RIGHT_WHEEL = 2;
39static constexpr size_t CMD_STEER_LEFT_WHEEL = 3;
41static constexpr size_t NR_STATE_ITFS = 4;
42static constexpr size_t NR_CMD_ITFS = 4;
43static constexpr size_t NR_REF_ITFS = 2;
50 ACKERMANN_STEERING_CONTROLLER__VISIBILITY_PUBLIC controller_interface::CallbackReturn
51 configure_odometry()
override;
53 ACKERMANN_STEERING_CONTROLLER__VISIBILITY_PUBLIC
bool update_odometry(
54 const rclcpp::Duration & period)
override;
56 ACKERMANN_STEERING_CONTROLLER__VISIBILITY_PUBLIC
void
57 initialize_implementation_parameter_listener()
override;
60 std::shared_ptr<ackermann_steering_controller::ParamListener> ackermann_param_listener_;
61 ackermann_steering_controller::Params ackermann_params_;
Definition ackermann_steering_controller.hpp:46
Definition steering_controllers_library.hpp:48