Go to the documentation of this file.
17 #ifndef PURE_PURSUIT__PURE_PURSUIT_HPP_
18 #define PURE_PURSUIT__PURE_PURSUIT_HPP_
20 #include <autoware_auto_msgs/msg/trajectory.hpp>
21 #include <autoware_auto_msgs/msg/trajectory_point.hpp>
22 #include <autoware_auto_msgs/msg/vehicle_kinematic_state.hpp>
23 #include <autoware_auto_msgs/msg/vehicle_control_command.hpp>
35 namespace pure_pursuit
64 PURE_PURSUIT_LOCAL
void compute_errors(
const TrajectoryPoint & current_point);
68 PURE_PURSUIT_LOCAL
void compute_lookahead_distance(
const float32_t current_velocity);
75 PURE_PURSUIT_LOCAL
bool8_t in_traveling_direction(
84 PURE_PURSUIT_LOCAL
void compute_interpolate_target_point(
96 PURE_PURSUIT_LOCAL
static float32_t compute_points_distance_squared(
103 PURE_PURSUIT_LOCAL std::pair<float32_t, float32_t> compute_relative_xy_offset(
114 PURE_PURSUIT_LOCAL
float32_t compute_command_accel_mps(
116 const bool8_t is_emergency)
const;
124 uint32_t m_reference_idx;
125 uint32_t m_iterations;
132 #endif // PURE_PURSUIT__PURE_PURSUIT_HPP_
autoware_auto_msgs::msg::VehicleControlCommand VehicleControlCommand
Definition: pure_pursuit.hpp:41
autoware_auto_msgs::msg::VehicleKinematicState VehicleKinematicState
Definition: trajectory_spoofer.hpp:44
autoware_auto_msgs::msg::ControlDiagnostic ControllerDiagnostic
Definition: pure_pursuit.hpp:40
autoware_auto_msgs::msg::TrajectoryPoint TrajectoryPoint
Definition: pure_pursuit.hpp:38
autoware_auto_msgs::msg::Trajectory Trajectory
Definition: pure_pursuit.hpp:37
Given a trajectory and the current state, compute the control command.
Definition: pure_pursuit.hpp:44
bool bool8_t
Definition: types.hpp:33
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
A configuration class for the PurePursuit class.
Definition: control/pure_pursuit/include/pure_pursuit/config.hpp:34
float float32_t
Definition: types.hpp:36
Definition: controller_base.hpp:76
Definition: controller_base.hpp:30
autoware_auto_msgs::msg::VehicleKinematicState TrajectoryPointStamped
Definition: pure_pursuit.hpp:39