Go to the documentation of this file. 1 #ifndef _ROSSERIAL_VEX_CORTEX_LOGGER_H_ 2 #define _ROSSERIAL_VEX_CORTEX_LOGGER_H_ 11 #define VEXROS_DEBUG_MODE 0 17 #define VEXROS_DEBUG_OUTPUT_SERIAL uart2 18 #define VEXROS_ROSSERIAL_OUTPUT_SERIAL stdout 19 #define VEXROS_ROSSERIAL_INPUT_SERIAL stdin 25 #define vexroslog(fmtstr, ...) fprintf((VEXROS_DEBUG_OUTPUT_SERIAL ), "[%d]: " " " fmtstr " " "\r\n", millis() ,##__VA_ARGS__) 28 #define vexroswrite(...) fprintf((VEXROS_ROSSERIAL_OUTPUT_SERIAL), __VA_ARGS__) 29 #define vexroswritechar(ch) fputc(ch, VEXROS_ROSSERIAL_OUTPUT_SERIAL) 30 #define vexrosreadchar() fgetc(VEXROS_ROSSERIAL_INPUT_SERIAL) 33 #define vexroslogdebug(fmtstr, ...) { \ 35 vexroslog(fmtstr, ##__VA_ARGS__); \