#include <iostream>#include <cstring>#include <stdio.h>#include <string.h>#include <stdlib.h>#include "../include/platform.h"#include "../include/cmd.h"#include "../include/robot.h"#include "../include/util.h"#include "../include/vecmath.h"#include "../include/motion.h"#include "../include/parser.h"#include "../include/commands.h"#include "../include/interpolation.h"#include "../include/vars.h"#include "../include/test.h"#include <curses.h>#include <signal.h>Namespaces | |
| namespace | std |
Defines | |
| #define | SIMPLECONSOLE |
| #define | ESCDELAY 0 |
| #define | TEXT_COLORS_COUNT 7 |
| #define | ROUND(x) (float)((int)(x*100))/100.0 |
| #define | ATTRON(win, x) if (x >= TEXT_BOLD) wattron(win, COLOR_PAIR(x - TEXT_BOLD) | A_BOLD); else wattron(win, COLOR_PAIR(x)); |
| #define | ATTROFF(win, x) if (x >= TEXT_BOLD) wattroff(win, COLOR_PAIR(x - TEXT_BOLD) | A_BOLD); else wattroff(win, COLOR_PAIR(x)); |
| #define | KINCOUNT global.robotInput.kinematicChains.length |
Functions | |
| void | resizeHandler (int) |
| int | getIndexByName (char *name) |
Variables | |
| WINDOW * | winInput = NULL |
| WINDOW * | winLog = NULL |
| WINDOW * | winInfo = NULL |
| const int | TEXT_COLORS [TEXT_COLORS_COUNT][2] |
| bool | isSizing = false |
| #define ATTROFF | ( | win, | |||
| x | ) | if (x >= TEXT_BOLD) wattroff(win, COLOR_PAIR(x - TEXT_BOLD) | A_BOLD); else wattroff(win, COLOR_PAIR(x)); |
| #define ATTRON | ( | win, | |||
| x | ) | if (x >= TEXT_BOLD) wattron(win, COLOR_PAIR(x - TEXT_BOLD) | A_BOLD); else wattron(win, COLOR_PAIR(x)); |
| #define ESCDELAY 0 |
| #define KINCOUNT global.robotInput.kinematicChains.length |
| #define ROUND | ( | x | ) | (float)((int)(x*100))/100.0 |
| #define SIMPLECONSOLE |
| #define TEXT_COLORS_COUNT 7 |
| int getIndexByName | ( | char * | name | ) |
| void resizeHandler | ( | int | ) |
| bool isSizing = false |
| const int TEXT_COLORS[TEXT_COLORS_COUNT][2] |
Initial value:
{
{COLOR_RED, COLOR_WHITE},
{COLOR_YELLOW, COLOR_WHITE},
{COLOR_BLACK, COLOR_WHITE},
{COLOR_WHITE, COLOR_BLUE},
{COLOR_RED, COLOR_WHITE},
{COLOR_WHITE, COLOR_RED},
{COLOR_BLACK, COLOR_WHITE}
}
| WINDOW* winInfo = NULL |
| WINDOW* winInput = NULL |
| WINDOW* winLog = NULL |
1.5.2