#include <odom_control.hpp>
|
| OdomControl () |
|
| OdomControl (bool use_control, PidGains pid_gains, int max, int min, std::ofstream *fs) |
|
| OdomControl (bool use_control, PidGains pid_gains, int max, int min) |
|
void | reset () |
|
unsigned char | run (bool e_stop_on, bool control_on, double commanded_vel, double measured_vel, double dt) |
|
void | start (bool use_control, PidGains pid_gains, int max, int min) |
|
Definition at line 11 of file odom_control.hpp.
openrover::OdomControl::OdomControl |
( |
| ) |
|
openrover::OdomControl::OdomControl |
( |
bool |
use_control, |
|
|
PidGains |
pid_gains, |
|
|
int |
max, |
|
|
int |
min, |
|
|
std::ofstream * |
fs |
|
) |
| |
openrover::OdomControl::OdomControl |
( |
bool |
use_control, |
|
|
PidGains |
pid_gains, |
|
|
int |
max, |
|
|
int |
min |
|
) |
| |
int openrover::OdomControl::boundMotorSpeed |
( |
int |
motor_speed, |
|
|
int |
max, |
|
|
int |
min |
|
) |
| |
|
private |
double openrover::OdomControl::D |
( |
double |
error, |
|
|
double |
dt |
|
) |
| |
|
private |
int openrover::OdomControl::deadbandOffset |
( |
int |
motor_speed, |
|
|
int |
deadband_offset |
|
) |
| |
|
private |
int openrover::OdomControl::feedThroughControl |
( |
| ) |
|
|
private |
double openrover::OdomControl::filter |
( |
double |
left_motor_vel, |
|
|
double |
dt |
|
) |
| |
|
private |
bool openrover::OdomControl::hasZeroHistory |
( |
const std::vector< double > & |
vel_history | ) |
|
|
private |
double openrover::OdomControl::I |
( |
double |
error, |
|
|
double |
dt |
|
) |
| |
|
private |
double openrover::OdomControl::P |
( |
double |
error, |
|
|
double |
dt |
|
) |
| |
|
private |
int openrover::OdomControl::PID |
( |
double |
error, |
|
|
double |
dt |
|
) |
| |
|
private |
void openrover::OdomControl::reset |
( |
| ) |
|
unsigned char openrover::OdomControl::run |
( |
bool |
e_stop_on, |
|
|
bool |
control_on, |
|
|
double |
commanded_vel, |
|
|
double |
measured_vel, |
|
|
double |
dt |
|
) |
| |
void openrover::OdomControl::start |
( |
bool |
use_control, |
|
|
PidGains |
pid_gains, |
|
|
int |
max, |
|
|
int |
min |
|
) |
| |
void openrover::OdomControl::velocityController |
( |
| ) |
|
|
private |
bool openrover::OdomControl::at_max_motor_speed_ |
bool openrover::OdomControl::at_min_motor_speed_ |
unsigned char openrover::OdomControl::deadband_offset_ |
double openrover::OdomControl::differential_error_ |
std::ofstream* openrover::OdomControl::fs_ |
double openrover::OdomControl::integral_error_ |
double openrover::OdomControl::K_D_ |
double openrover::OdomControl::K_I_ |
double openrover::OdomControl::K_P_ |
double openrover::OdomControl::MAX_ACCEL_CUTOFF_ |
double openrover::OdomControl::MAX_VELOCITY_ |
double openrover::OdomControl::MIN_VELOCITY_ |
int openrover::OdomControl::MOTOR_DEADBAND_ |
int openrover::OdomControl::MOTOR_MAX_ |
int openrover::OdomControl::MOTOR_MIN_ |
int openrover::OdomControl::motor_speed_ |
bool openrover::OdomControl::skip_measurement_ |
bool openrover::OdomControl::stop_integrating_ |
bool openrover::OdomControl::use_control_ |
double openrover::OdomControl::velocity_commanded_ |
bool openrover::OdomControl::velocity_control_on_ |
double openrover::OdomControl::velocity_error_ |
double openrover::OdomControl::velocity_filtered_ |
std::vector<double> openrover::OdomControl::velocity_filtered_history_ |
std::vector<double> openrover::OdomControl::velocity_history_ |
double openrover::OdomControl::velocity_measured_ |
The documentation for this class was generated from the following files: