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
defines_debug.h
- Committer:
- ambyld
- Date:
- 2018-06-29
- Revision:
- 4:cae255669971
- Parent:
- 2:984eb2c5e8ee
- Child:
- 5:864709d3eb76
File content as of revision 4:cae255669971:
#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