15 #ifndef NAV2_MPPI_CONTROLLER__CRITICS__PATH_ANGLE_CRITIC_HPP_
16 #define NAV2_MPPI_CONTROLLER__CRITICS__PATH_ANGLE_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
47 float max_angle_to_furthest_{0};
48 float threshold_to_consider_{0};
50 size_t offset_from_furthest_{0};
51 bool reversing_allowed_{
true};
52 bool forward_preference_{
true};
54 unsigned int power_{0};
Abstract critic objective function to score trajectories.
void initialize() override
Initialize critic.
void score(CriticData &data) override
Evaluate cost related to robot orientation at goal pose (considered only if robot near last goal in c...
Data to pass to critics for scoring, including state, trajectories, pruned path, global goal,...