15 #ifndef NAV2_MPPI_CONTROLLER__CRITICS__PATH_ALIGN_LEGACY_CRITIC_HPP_
16 #define NAV2_MPPI_CONTROLLER__CRITICS__PATH_ALIGN_LEGACY_CRITIC_HPP_
18 #include "nav2_mppi_controller/critic_function.hpp"
19 #include "nav2_mppi_controller/models/state.hpp"
20 #include "nav2_mppi_controller/tools/utils.hpp"
22 namespace mppi::critics
49 size_t offset_from_furthest_{0};
50 int trajectory_point_step_{0};
51 float threshold_to_consider_{0};
52 float max_path_occupancy_ratio_{0};
53 bool use_path_orientations_{
false};
54 unsigned int power_{0};
Abstract critic objective function to score trajectories.
Critic objective function for aligning to the path. Note: High settings of this will follow the path ...
void score(CriticData &data) override
Evaluate cost related to trajectories path alignment.
void initialize() override
Initialize critic.
Data to pass to critics for scoring, including state, trajectories, pruned path, global goal,...