15 #ifndef NAV2_MPPI_CONTROLLER__CRITIC_DATA_HPP_
16 #define NAV2_MPPI_CONTROLLER__CRITIC_DATA_HPP_
22 #pragma GCC diagnostic push
23 #pragma GCC diagnostic ignored "-Warray-bounds"
24 #pragma GCC diagnostic ignored "-Wstringop-overflow"
25 #include <xtensor/xtensor.hpp>
26 #pragma GCC diagnostic pop
28 #include "geometry_msgs/msg/pose_stamped.hpp"
29 #include "nav2_core/goal_checker.hpp"
30 #include "nav2_mppi_controller/models/state.hpp"
31 #include "nav2_mppi_controller/models/trajectories.hpp"
32 #include "nav2_mppi_controller/models/path.hpp"
33 #include "nav2_mppi_controller/motion_models.hpp"
49 const geometry_msgs::msg::Pose & goal;
51 xt::xtensor<float, 1> & costs;
56 std::shared_ptr<MotionModel> motion_model;
57 std::optional<std::vector<bool>> path_pts_valid;
58 std::optional<size_t> furthest_reached_path_point;
Function-object for checking whether a goal has been reached.
Data to pass to critics for scoring, including state, trajectories, pruned path, global goal,...
Path represented as a tensor.
State information: velocities, controls, poses, speed.