12 #ifndef MARTY_DEFINITIONS_HPP 13 #define MARTY_DEFINITIONS_HPP 18 #define DEBUG_MODE false 21 #define ERR(x) std::cerr << "\033[22;31;1m" << x << "\033[0m"; // RED 22 #define WARN(x) std::cerr << "\033[22;33;1m" << x << "\033[0m"; // YELLOW 23 #define INFO(x) std::cerr << "\033[22;37;1m" << x << "\033[0m"; // WHITE 24 #define DEBUG(x) std::cerr << "\033[22;34;1m" << x << "\033[0m"; // BLUE 25 #define CLEAR() std::cerr << "\x1B[2J\x1B[H"; // Clear Console 27 inline void sleepms(
int ms) {usleep(ms * 1000);}
44 const std::vector <std::string>
NAMES = {
100 # define HIP_OFFSET 100 101 # define TWIST_OFFSET 110 102 # define KNEE_OFFSET 110 103 # define ARM_OFFSET 300 104 # define EYES_OFFSET 300 105 # define AUX_OFFSET 110 108 #define EYES_ANGRY 30 109 #define EYES_NORMAL 0 110 #define EYES_EXCITED -40 111 #define EYES_WIDE -120 177 #define NOTE_CS6 1109 179 #define NOTE_DS6 1245 182 #define NOTE_FS6 1480 184 #define NOTE_GS6 1661 186 #define NOTE_AS6 1865 189 #define NOTE_CS7 2217 191 #define NOTE_DS7 2489 194 #define NOTE_FS7 2960 196 #define NOTE_GS7 3322 198 #define NOTE_AS7 3729 201 #define NOTE_CS8 4435 203 #define NOTE_DS8 4978
const std::vector< int > JOINT_DIR
const std::vector< std::string > NAMES
const std::vector< int > JOINT_MULT
const std::map< std::string, int > JOINT_NAMES