1#ifndef BITSIM_ESTIMATION_DIFF_DRIVE_ODOMETRY_H
2#define BITSIM_ESTIMATION_DIFF_DRIVE_ODOMETRY_H
79 const Pose &
pose() const noexcept {
return pose_; }
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through ...
const Pose & update(real_t left_angle, real_t right_angle)
Move the pose by what the wheels turned since the last update, heading included.
Definition diff_drive_odometry.cpp:42
const Pose & pose() const noexcept
Definition diff_drive_odometry.h:79
real_t wheel_radius() const noexcept
Definition diff_drive_odometry.h:87
real_t axle_length() const noexcept
Definition diff_drive_odometry.h:88
DiffDriveOdometry(real_t wheel_radius, real_t axle_length)
Definition diff_drive_odometry.cpp:12
real_t distance() const noexcept
Definition diff_drive_odometry.h:85
void reset(const Pose &pose, real_t left_angle, real_t right_angle)
Start from a pose, with the wheels at the given angles [rad].
Definition diff_drive_odometry.cpp:21
Definition diff_drive_ekf.cpp:12
Definition dc_motor_backend_base.h:9
double real_t
real_t
Definition bitsim_types.h:20
A pose in the plane: the point halfway between the wheels and the heading from the x axis [m,...
Definition diff_drive_odometry.h:45
real_t yaw
Definition diff_drive_odometry.h:48
real_t x
Definition diff_drive_odometry.h:46
real_t y
Definition diff_drive_odometry.h:47