#include <odom_control.hpp>
|
| OdomControl () |
|
| OdomControl (bool use_control, PidGains pid_gains, int max, int min, std::string log_filename) |
|
| 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::string |
log_filename |
|
) |
| |
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_ |
bool openrover::OdomControl::enable_file_logging_ |
std::ofstream openrover::OdomControl::fs_ |
double openrover::OdomControl::integral_value_ |
double openrover::OdomControl::K_D_ |
double openrover::OdomControl::K_I_ |
double openrover::OdomControl::K_P_ |
std::string openrover::OdomControl::log_filename_ |
const double openrover::OdomControl::MAX_ACCEL_CUTOFF_ |
const double openrover::OdomControl::MAX_VELOCITY_ |
const double openrover::OdomControl::MIN_VELOCITY_ |
const int openrover::OdomControl::MOTOR_DEADBAND_ |
const int openrover::OdomControl::MOTOR_MAX_ |
const 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_history_ |
double openrover::OdomControl::velocity_measured_ |
The documentation for this class was generated from the following files: