Go to the documentation of this file.
17 #ifndef MOTION_MODEL__MOTION_MODEL_INTERFACE_HPP_
18 #define MOTION_MODEL__MOTION_MODEL_INTERFACE_HPP_
30 namespace motion_model
38 template<
typename Derived>
52 template<
typename StateT>
53 inline auto predict(
const StateT & state,
const std::chrono::nanoseconds & dt)
const
57 "\n\nStateT must be a GenericState\n\n");
58 return this->impl().crtp_predict(state, dt);
70 template<
typename StateT>
71 inline auto jacobian(
const StateT & state,
const std::chrono::nanoseconds & dt)
const
75 "\n\nStateT must be a GenericState\n\n");
76 return this->impl().crtp_jacobian(state, dt);
84 #endif // MOTION_MODEL__MOTION_MODEL_INTERFACE_HPP_
Forward-declare is_state trait.
Definition: generic_state.hpp:51
This file defines a class for a generic state vector representation.
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
auto jacobian(const StateT &state, const std::chrono::nanoseconds &dt) const
Get the Jacobian of this motion model.
Definition: motion_model_interface.hpp:71
auto predict(const StateT &state, const std::chrono::nanoseconds &dt) const
Get the next predicted state.
Definition: motion_model_interface.hpp:53
This file includes common helper functions.
A CRTP interface for any motion model.
Definition: motion_model_interface.hpp:39