#include <action_editor.h>
Public Types | |
| enum | MirrorCommandType { LeftToRight = 1, RightToLeft = 2, SwitchEach = 3 } |
| enum | MirrorTargetType { UpperBody = 1, LowerBody = 2, AllBody = 3 } |
Public Member Functions | |
| int | _getch () |
| ActionEditor () | |
| bool | askSave () |
| void | beginCommandMode () |
| void | clearCache () |
| void | clearCmd () |
| void | copyCmd (int index) |
| void | deleteStepCmd (int index) |
| void | drawEnding () |
| void | drawIntro () |
| void | drawName () |
| void | drawPage () |
| void | drawStep (int index) |
| void | drawStepLine (bool erase) |
| void | endCommandMode () |
| int | getValue () |
| void | goCmd (int index) |
| void | goToCursor (int col, int row) |
| void | helpCmd () |
| bool | initializeActionEditor (std::string robot_file_path, std::string init_file_path, std::string offset_file_path) |
| void | insertStepCmd (int index) |
| int | kbhit () |
| void | listCmd () |
| void | mirrorStepCmd (int index, int mirror_type, int target_type) |
| void | moveDownCursor () |
| void | moveLeftCursor () |
| void | moveRightCursor () |
| void | moveStepCmd (int src, int dst) |
| void | moveUpCursor () |
| void | nameCmd () |
| void | newCmd () |
| void | nextCmd () |
| void | pageCmd (int index) |
| void | playCmd () |
| void | playCmd (int mp3_index) |
| void | playCmd (const char *file_path) |
| void | prevCmd () |
| void | printCmd (const char *message) |
| void | readStep () |
| void | saveCmd () |
| void | setValue (int value) |
| void | setValueFromCache () |
| void | setValueUpDown (int offset) |
| void | speedCmd () |
| void | storeValueToCache () |
| void | timeCmd () |
| void | toggleTorque () |
| void | turnOnOffCmd (bool on, int num_param, int *list) |
| void | writeStepCmd (int index) |
| ~ActionEditor () | |
Public Attributes | |
| int | screen_col_ |
| int | screen_row_ |
Private Member Functions | |
| int | convert4095ToMirror (int id, int w4095) |
| int | convert4095ToPositionValue (int id, int w4095) |
| int | convertPositionValueTo4095 (int id, int PositionValue) |
| bool | loadMirrorJoint () |
| bool | loadMp3Path (int mp3_index, std::string &path) |
| void | resetSTDin () |
| void | setSTDin () |
Definition at line 48 of file action_editor.h.
| Enumerator | |
|---|---|
| LeftToRight | |
| RightToLeft | |
| SwitchEach | |
Definition at line 51 of file action_editor.h.
| Enumerator | |
|---|---|
| UpperBody | |
| LowerBody | |
| AllBody | |
Definition at line 57 of file action_editor.h.
| ActionEditor::ActionEditor | ( | ) |
Definition at line 28 of file action_editor.cpp.
| ActionEditor::~ActionEditor | ( | ) |
Definition at line 85 of file action_editor.cpp.
| int ActionEditor::_getch | ( | ) |
Definition at line 90 of file action_editor.cpp.
| bool ActionEditor::askSave | ( | ) |
Definition at line 791 of file action_editor.cpp.
| void ActionEditor::beginCommandMode | ( | ) |
Definition at line 1147 of file action_editor.cpp.
| void ActionEditor::clearCache | ( | ) |
Definition at line 1141 of file action_editor.cpp.
| void ActionEditor::clearCmd | ( | ) |
Definition at line 773 of file action_editor.cpp.
|
private |
Definition at line 358 of file action_editor.cpp.
|
private |
Definition at line 346 of file action_editor.cpp.
|
private |
Definition at line 352 of file action_editor.cpp.
| void ActionEditor::copyCmd | ( | int | index | ) |
Definition at line 1661 of file action_editor.cpp.
| void ActionEditor::deleteStepCmd | ( | int | index | ) |
Definition at line 1538 of file action_editor.cpp.
| void ActionEditor::drawEnding | ( | ) |
Definition at line 457 of file action_editor.cpp.
| void ActionEditor::drawIntro | ( | ) |
Definition at line 429 of file action_editor.cpp.
| void ActionEditor::drawName | ( | ) |
Definition at line 642 of file action_editor.cpp.
| void ActionEditor::drawPage | ( | ) |
Definition at line 465 of file action_editor.cpp.
| void ActionEditor::drawStep | ( | int | index | ) |
Definition at line 565 of file action_editor.cpp.
| void ActionEditor::drawStepLine | ( | bool | erase | ) |
Definition at line 657 of file action_editor.cpp.
| void ActionEditor::endCommandMode | ( | ) |
Definition at line 1156 of file action_editor.cpp.
| int ActionEditor::getValue | ( | ) |
Definition at line 1006 of file action_editor.cpp.
| void ActionEditor::goCmd | ( | int | index | ) |
Definition at line 1682 of file action_editor.cpp.
| void ActionEditor::goToCursor | ( | int | col, |
| int | row | ||
| ) |
Definition at line 145 of file action_editor.cpp.
| void ActionEditor::helpCmd | ( | ) |
Definition at line 1162 of file action_editor.cpp.
| bool ActionEditor::initializeActionEditor | ( | std::string | robot_file_path, |
| std::string | init_file_path, | ||
| std::string | offset_file_path | ||
| ) |
below code must be changed
Definition at line 259 of file action_editor.cpp.
| void ActionEditor::insertStepCmd | ( | int | index | ) |
Definition at line 1577 of file action_editor.cpp.
| int ActionEditor::kbhit | ( | void | ) |
Definition at line 103 of file action_editor.cpp.
| void ActionEditor::listCmd | ( | ) |
Definition at line 1341 of file action_editor.cpp.
|
private |
Definition at line 391 of file action_editor.cpp.
|
private |
Definition at line 363 of file action_editor.cpp.
| void ActionEditor::mirrorStepCmd | ( | int | index, |
| int | mirror_type, | ||
| int | target_type | ||
| ) |
Definition at line 1440 of file action_editor.cpp.
| void ActionEditor::moveDownCursor | ( | ) |
Definition at line 178 of file action_editor.cpp.
| void ActionEditor::moveLeftCursor | ( | ) |
Definition at line 204 of file action_editor.cpp.
| void ActionEditor::moveRightCursor | ( | ) |
Definition at line 230 of file action_editor.cpp.
| void ActionEditor::moveStepCmd | ( | int | src, |
| int | dst | ||
| ) |
Definition at line 1621 of file action_editor.cpp.
| void ActionEditor::moveUpCursor | ( | ) |
Definition at line 157 of file action_editor.cpp.
| void ActionEditor::nameCmd | ( | ) |
Definition at line 1830 of file action_editor.cpp.
| void ActionEditor::newCmd | ( | ) |
Definition at line 1675 of file action_editor.cpp.
| void ActionEditor::nextCmd | ( | ) |
Definition at line 1204 of file action_editor.cpp.
| void ActionEditor::pageCmd | ( | int | index | ) |
Definition at line 1214 of file action_editor.cpp.
| void ActionEditor::playCmd | ( | ) |
Definition at line 1248 of file action_editor.cpp.
| void ActionEditor::playCmd | ( | int | mp3_index | ) |
Definition at line 1253 of file action_editor.cpp.
| void thormang3::ActionEditor::playCmd | ( | const char * | file_path | ) |
| void ActionEditor::prevCmd | ( | ) |
Definition at line 1209 of file action_editor.cpp.
| void ActionEditor::printCmd | ( | const char * | message | ) |
Definition at line 779 of file action_editor.cpp.
| void ActionEditor::readStep | ( | ) |
Definition at line 714 of file action_editor.cpp.
|
private |
Definition at line 140 of file action_editor.cpp.
| void ActionEditor::saveCmd | ( | ) |
Definition at line 1821 of file action_editor.cpp.
|
private |
Definition at line 130 of file action_editor.cpp.
| void ActionEditor::setValue | ( | int | value | ) |
Definition at line 814 of file action_editor.cpp.
| void ActionEditor::setValueFromCache | ( | ) |
Definition at line 1123 of file action_editor.cpp.
| void ActionEditor::setValueUpDown | ( | int | offset | ) |
Definition at line 808 of file action_editor.cpp.
| void ActionEditor::speedCmd | ( | ) |
Definition at line 1241 of file action_editor.cpp.
| void ActionEditor::storeValueToCache | ( | ) |
Definition at line 1118 of file action_editor.cpp.
| void ActionEditor::timeCmd | ( | ) |
Definition at line 1234 of file action_editor.cpp.
| void ActionEditor::toggleTorque | ( | ) |
Definition at line 1080 of file action_editor.cpp.
| void ActionEditor::turnOnOffCmd | ( | bool | on, |
| int | num_param, | ||
| int * | list | ||
| ) |
Definition at line 1405 of file action_editor.cpp.
| void ActionEditor::writeStepCmd | ( | int | index | ) |
Definition at line 1516 of file action_editor.cpp.
|
private |
Definition at line 206 of file action_editor.h.
|
private |
Definition at line 188 of file action_editor.h.
|
private |
Definition at line 202 of file action_editor.h.
|
private |
Definition at line 165 of file action_editor.h.
|
private |
Definition at line 209 of file action_editor.h.
|
private |
Definition at line 186 of file action_editor.h.
|
private |
Definition at line 176 of file action_editor.h.
|
private |
Definition at line 198 of file action_editor.h.
|
private |
Definition at line 147 of file action_editor.h.
|
private |
Definition at line 169 of file action_editor.h.
|
private |
Definition at line 170 of file action_editor.h.
|
private |
Definition at line 185 of file action_editor.h.
|
private |
Definition at line 160 of file action_editor.h.
|
private |
Definition at line 166 of file action_editor.h.
|
private |
Definition at line 141 of file action_editor.h.
|
private |
Definition at line 208 of file action_editor.h.
|
private |
Definition at line 193 of file action_editor.h.
|
private |
Definition at line 150 of file action_editor.h.
|
private |
Definition at line 151 of file action_editor.h.
|
private |
Definition at line 153 of file action_editor.h.
|
private |
Definition at line 152 of file action_editor.h.
|
private |
Definition at line 194 of file action_editor.h.
|
private |
Definition at line 158 of file action_editor.h.
|
private |
Definition at line 157 of file action_editor.h.
|
private |
Definition at line 192 of file action_editor.h.
|
private |
Definition at line 161 of file action_editor.h.
|
private |
Definition at line 187 of file action_editor.h.
|
private |
Definition at line 200 of file action_editor.h.
|
private |
Definition at line 140 of file action_editor.h.
|
private |
Definition at line 207 of file action_editor.h.
|
private |
Definition at line 174 of file action_editor.h.
|
private |
Definition at line 171 of file action_editor.h.
|
private |
Definition at line 172 of file action_editor.h.
|
private |
Definition at line 144 of file action_editor.h.
|
private |
Definition at line 167 of file action_editor.h.
|
private |
Definition at line 201 of file action_editor.h.
|
private |
Definition at line 189 of file action_editor.h.
|
private |
Definition at line 190 of file action_editor.h.
|
private |
Definition at line 196 of file action_editor.h.
|
private |
Definition at line 203 of file action_editor.h.
|
private |
Definition at line 142 of file action_editor.h.
|
private |
Definition at line 205 of file action_editor.h.
|
private |
Definition at line 163 of file action_editor.h.
|
private |
Definition at line 148 of file action_editor.h.
| int thormang3::ActionEditor::screen_col_ |
Definition at line 126 of file action_editor.h.
| int thormang3::ActionEditor::screen_row_ |
Definition at line 127 of file action_editor.h.
|
private |
Definition at line 145 of file action_editor.h.
|
private |
Definition at line 204 of file action_editor.h.
|
private |
Definition at line 178 of file action_editor.h.
|
private |
Definition at line 179 of file action_editor.h.
|
private |
Definition at line 180 of file action_editor.h.
|
private |
Definition at line 181 of file action_editor.h.
|
private |
Definition at line 182 of file action_editor.h.
|
private |
Definition at line 183 of file action_editor.h.
|
private |
Definition at line 184 of file action_editor.h.
|
private |
Definition at line 177 of file action_editor.h.
|
private |
Definition at line 197 of file action_editor.h.
|
private |
Definition at line 156 of file action_editor.h.
|
private |
Definition at line 155 of file action_editor.h.