Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed ros_lib_kinetic
Diff: defines_debug.h
- Revision:
- 1:40bdbe1a93b7
- Child:
- 2:984eb2c5e8ee
diff -r dd126a1080d3 -r 40bdbe1a93b7 defines_debug.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/defines_debug.h Fri Jun 22 02:09:50 2018 +0000 @@ -0,0 +1,32 @@ +#ifndef DEFINES_DEBUG_H +#define DEFINES_DEBUG_H + +//#####################################################################################\\ +// Mode defines: +#define NORMAL 0 +#define DEBUG_THRUSTERS 1 +#define DEBUG_WHEEL_CONST 2 +#define DEBUG_WHEEL_PID 3 +#define DEBUG_LED_CONST 4 +#define DEBUG_LED_COLOR_SEQ 5 +#define DEBUG_LED_ALPHA_SEQ 6 + +#define MODE NORMAL + +// Thruster debugging +#define DT_PERIOD 500.0 // [ms] Length of thrust pulse + +// Wheel constant PWM debugging +#define DWC_PWM 0.2 + +// Wheel PID debugging +#define DWP_SETPOINT 400.0 + +// LED constant debugging +#define DLC_COLOR red + +// Other modes +#define MODE_DUTY_CYCLE_CMD false +#define MODE_FEED_FORWARD false + +#endif \ No newline at end of file