|
Fawkes API Fawkes Development Version
|
Remote control PTUs via keyboard. More...
Public Member Functions | |
| PTUJoystickControl (int argc, char **argv) | |
| Constructor. More... | |
| ~PTUJoystickControl () | |
| Destructor. More... | |
| void | init_bb () |
| Initialize BB connection. More... | |
| void | init_rx28 () |
| Initialize Robotis RX28 raw servo access. More... | |
| void | run () |
| Run control loop. More... | |
|
inline |
Constructor.
| argc | number of arguments in argv |
| argv | array of parameters passed into the program |
Definition at line 74 of file ffptu.cpp.
References fawkes::ArgumentParser::has_arg().
|
inline |
|
inline |
Initialize BB connection.
Definition at line 99 of file ffptu.cpp.
References fawkes::ArgumentParser::arg(), fawkes::ArgumentParser::has_arg(), fawkes::BlackBoard::list(), fawkes::BlackBoard::open_for_reading(), and fawkes::ArgumentParser::parse_hostport().
Referenced by run().
|
inline |
Initialize Robotis RX28 raw servo access.
Definition at line 149 of file ffptu.cpp.
References RobotisRX28::discover().
|
inline |
Run control loop.
Definition at line 161 of file ffptu.cpp.
References fawkes::ArgumentParser::has_arg(), init_bb(), fawkes::ArgumentParser::items(), and fawkes::ArgumentParser::num_items().