15 #ifndef NAV2_MPPI_CONTROLLER__MODELS__TRAJECTORIES_HPP_
16 #define NAV2_MPPI_CONTROLLER__MODELS__TRAJECTORIES_HPP_
18 #include <xtensor/xtensor.hpp>
19 #include <xtensor/xview.hpp>
21 namespace mppi::models
30 xt::xtensor<float, 2> x;
31 xt::xtensor<float, 2> y;
32 xt::xtensor<float, 2> yaws;
37 void reset(
unsigned int batch_size,
unsigned int time_steps)
39 x = xt::zeros<float>({batch_size, time_steps});
40 y = xt::zeros<float>({batch_size, time_steps});
41 yaws = xt::zeros<float>({batch_size, time_steps});
void reset(unsigned int batch_size, unsigned int time_steps)
Reset state data.