Translates user input into the ROS message TowrCommand.msg. More...
#include <towr_user_interface.h>
Public Member Functions | |
void | CallbackKey (int c) |
TowrUserInterface () | |
Constructs default object to interact with framework. More... | |
virtual | ~TowrUserInterface ()=default |
Private Member Functions | |
int | AdvanceCircularBuffer (int &curr, int max) const |
void | PrintScreen () const |
void | PrintVector (const Eigen::Vector3d &v) const |
void | PrintVector2D (const Eigen::Vector2d &v) const |
void | PublishCommand () |
Private Attributes | |
int | gait_combo_ |
xpp::State3dEuler | goal_geom_ |
bool | optimize_ |
bool | optimize_phase_durations_ |
bool | play_initialization_ |
bool | plot_trajectory_ |
bool | publish_optimized_trajectory_ |
double | replay_speed_ |
int | robot_ |
int | terrain_ |
double | total_duration_ |
::ros::Publisher | user_command_pub_ |
the output message to TOWR. More... | |
bool | visualize_trajectory_ |
Translates user input into the ROS message TowrCommand.msg.
This includes high level input about where to go (e.g. converting keyboard input into a goal state), which terrain to visualize, etc.
Definition at line 45 of file towr_user_interface.h.
towr::TowrUserInterface::TowrUserInterface | ( | ) |
Constructs default object to interact with framework.
Definition at line 55 of file towr_user_interface.cc.
|
virtualdefault |
|
private |
Definition at line 323 of file towr_user_interface.cc.
void towr::TowrUserInterface::CallbackKey | ( | int | c | ) |
Called whenever a keyboard key is pressed.
c | Unicode character of that key (see ncurses library). |
Definition at line 189 of file towr_user_interface.cc.
|
private |
Definition at line 85 of file towr_user_interface.cc.
|
private |
Definition at line 329 of file towr_user_interface.cc.
|
private |
Definition at line 335 of file towr_user_interface.cc.
|
private |
Definition at line 296 of file towr_user_interface.cc.
|
private |
Definition at line 67 of file towr_user_interface.h.
|
private |
Definition at line 65 of file towr_user_interface.h.
|
private |
Definition at line 73 of file towr_user_interface.h.
|
private |
Definition at line 76 of file towr_user_interface.h.
|
private |
Definition at line 70 of file towr_user_interface.h.
|
private |
Definition at line 72 of file towr_user_interface.h.
|
private |
Definition at line 74 of file towr_user_interface.h.
|
private |
Definition at line 71 of file towr_user_interface.h.
|
private |
Definition at line 68 of file towr_user_interface.h.
|
private |
Definition at line 66 of file towr_user_interface.h.
|
private |
Definition at line 75 of file towr_user_interface.h.
|
private |
the output message to TOWR.
Definition at line 60 of file towr_user_interface.h.
|
private |
Definition at line 69 of file towr_user_interface.h.