7 const Eigen::VectorXd &motion_data,
8 [[maybe_unused]]
const double delta_t) {
9 Eigen::Vector3d pose_difference;
10 pose_difference(0) = motion_data(0) - previous_pose(0);
11 pose_difference(1) = motion_data(1) - previous_pose(1);
13 return pose_difference;
17 [[maybe_unused]]
const Eigen::Vector3d &previous_pose,
18 [[maybe_unused]]
const Eigen::VectorXd &motion_data, [[maybe_unused]]
const double delta_t) {
19 Eigen::Matrix3d jacobian = Eigen::Matrix3d::Identity();
24 [[maybe_unused]]
const Eigen::Vector3d &previous_pose,
25 [[maybe_unused]]
const Eigen::VectorXd &motion_data, [[maybe_unused]]
const double delta_t) {
26 Eigen::MatrixXd jacobian = Eigen::MatrixXd::Zero(3, 4);
Eigen::Vector3d get_pose_difference(const Eigen::Vector3d &previous_pose, const Eigen::VectorXd &motion_data, const double delta_t) override
Gives the increments to the pose instead of the next pose.
Eigen::Matrix3d get_jacobian_pose(const Eigen::Vector3d &previous_pose, const Eigen::VectorXd &motion_data, const double delta_t) override
Get the Jacobian matrix of the motion model in relation to motion_data (commands)
Eigen::MatrixXd get_jacobian_motion_data(const Eigen::Vector3d &previous_pose, const Eigen::VectorXd &motion_data, const double delta_t) override
Get the Jacobian matrix of the motion model in relation to motion data (commands)
double normalize_angle(double angle)
Function to keep angle in [-Pi, Pi[ radians.