#include <testwheel.h>
Public Member Functions | |
int | Configure () |
int | Run (float steering_angle) |
testwheel (const boost::shared_ptr< devsteer > &_dev) | |
~testwheel () | |
Private Types | |
enum | state_t { Begin, Move, Back, Done } |
Private Attributes | |
boost::shared_ptr< devsteer > | dev |
float | start_angle |
state_t | state |
float | target_angle |
double | test_angle |
bool | test_wheel |
double | timeout |
boost::shared_ptr< DriverTimer > | timer |
double | tolerance |
Definition at line 44 of file testwheel.h.
enum testwheel::state_t [private] |
Definition at line 58 of file testwheel.h.
testwheel::testwheel | ( | const boost::shared_ptr< devsteer > & | _dev | ) |
Definition at line 26 of file testwheel.cc.
Definition at line 32 of file testwheel.cc.
int testwheel::Configure | ( | ) |
Definition at line 35 of file testwheel.cc.
int testwheel::Run | ( | float | steering_angle | ) |
Definition at line 69 of file testwheel.cc.
boost::shared_ptr<devsteer> testwheel::dev [private] |
Definition at line 67 of file testwheel.h.
float testwheel::start_angle [private] |
Definition at line 76 of file testwheel.h.
state_t testwheel::state [private] |
Definition at line 66 of file testwheel.h.
float testwheel::target_angle [private] |
Definition at line 77 of file testwheel.h.
double testwheel::test_angle [private] |
Definition at line 72 of file testwheel.h.
bool testwheel::test_wheel [private] |
Definition at line 71 of file testwheel.h.
double testwheel::timeout [private] |
Definition at line 73 of file testwheel.h.
boost::shared_ptr<DriverTimer> testwheel::timer [private] |
Definition at line 68 of file testwheel.h.
double testwheel::tolerance [private] |
Definition at line 74 of file testwheel.h.