#include <diff_drive.hpp>
|
| DiffDrive () |
|
void | getWheelJointStates (double &wheel_left_angle, double &wheel_left_angle_rate, double &wheel_right_angle, double &wheel_right_angle_rate) |
|
const ecl::DifferentialDrive::Kinematics & | kinematics () |
|
std::vector< double > | pointVelocity () const |
|
void | reset () |
|
void | setVelocityCommands (const double &vx, const double &wz) |
|
void | update (const uint16_t &time_stamp, const uint16_t &left_encoder, const uint16_t &right_encoder, ecl::LegacyPose2D< double > &pose_update, ecl::linear_algebra::Vector3d &pose_update_rates) |
| Updates the odometry from firmware stamps and encoders. More...
|
|
void | velocityCommands (const double &vx, const double &wz) |
|
void | velocityCommands (const short &cmd_speed, const short &cmd_radius) |
|
void | velocityCommands (const std::vector< double > &cmd) |
|
void | velocityCommands (const std::vector< short > &cmd) |
|
std::vector< short > | velocityCommands () |
|
double | wheel_bias () const |
|
|
short | bound (const double &value) |
|
Definition at line 38 of file diff_drive.hpp.
kobuki::DiffDrive::DiffDrive |
( |
| ) |
|
short kobuki::DiffDrive::bound |
( |
const double & |
value | ) |
|
|
private |
void kobuki::DiffDrive::getWheelJointStates |
( |
double & |
wheel_left_angle, |
|
|
double & |
wheel_left_angle_rate, |
|
|
double & |
wheel_right_angle, |
|
|
double & |
wheel_right_angle_rate |
|
) |
| |
const ecl::DifferentialDrive::Kinematics& kobuki::DiffDrive::kinematics |
( |
| ) |
|
|
inline |
std::vector< double > kobuki::DiffDrive::pointVelocity |
( |
| ) |
const |
void kobuki::DiffDrive::reset |
( |
| ) |
|
void kobuki::DiffDrive::setVelocityCommands |
( |
const double & |
vx, |
|
|
const double & |
wz |
|
) |
| |
void kobuki::DiffDrive::update |
( |
const uint16_t & |
time_stamp, |
|
|
const uint16_t & |
left_encoder, |
|
|
const uint16_t & |
right_encoder, |
|
|
ecl::LegacyPose2D< double > & |
pose_update, |
|
|
ecl::linear_algebra::Vector3d & |
pose_update_rates |
|
) |
| |
Updates the odometry from firmware stamps and encoders.
Really horrible - could do with an overhaul.
- Parameters
-
time_stamp | |
left_encoder | |
right_encoder | |
pose_update | |
pose_update_rates | |
Definition at line 52 of file diff_drive.cpp.
void kobuki::DiffDrive::velocityCommands |
( |
const double & |
vx, |
|
|
const double & |
wz |
|
) |
| |
void kobuki::DiffDrive::velocityCommands |
( |
const short & |
cmd_speed, |
|
|
const short & |
cmd_radius |
|
) |
| |
void kobuki::DiffDrive::velocityCommands |
( |
const std::vector< double > & |
cmd | ) |
|
|
inline |
void kobuki::DiffDrive::velocityCommands |
( |
const std::vector< short > & |
cmd | ) |
|
|
inline |
std::vector< short > kobuki::DiffDrive::velocityCommands |
( |
| ) |
|
double kobuki::DiffDrive::wheel_bias |
( |
| ) |
const |
|
inline |
double kobuki::DiffDrive::bias |
|
private |
ecl::DifferentialDrive::Kinematics kobuki::DiffDrive::diff_drive_kinematics |
|
private |
int kobuki::DiffDrive::imu_heading_offset |
|
private |
double kobuki::DiffDrive::last_diff_time |
|
private |
double kobuki::DiffDrive::last_rad_left |
|
private |
double kobuki::DiffDrive::last_rad_right |
|
private |
unsigned short kobuki::DiffDrive::last_tick_left |
|
private |
unsigned short kobuki::DiffDrive::last_tick_right |
|
private |
unsigned short kobuki::DiffDrive::last_timestamp |
|
private |
double kobuki::DiffDrive::last_velocity_left |
|
private |
double kobuki::DiffDrive::last_velocity_right |
|
private |
std::vector<double> kobuki::DiffDrive::point_velocity |
|
private |
double kobuki::DiffDrive::radius |
|
private |
double kobuki::DiffDrive::speed |
|
private |
ecl::Mutex kobuki::DiffDrive::state_mutex |
|
private |
const double kobuki::DiffDrive::tick_to_rad |
|
private |
ecl::Mutex kobuki::DiffDrive::velocity_mutex |
|
private |
double kobuki::DiffDrive::wheel_radius |
|
private |
The documentation for this class was generated from the following files: