|
@@ -20,12 +20,14 @@
|
|
|
|
|
|
#define MAX_X_AXE_ANGLE 360 // Max angle value for 100% range
|
|
|
#define MAX_Y_AXE_ANGLE 360 // Max angle value for 100% range
|
|
|
-#define MOTOR_START_STOP_PWM_VALUE 60
|
|
|
-#define MOTOR_HIGH_SPEED_PWM_VALUE 100
|
|
|
+#define MOTOR_START_STOP_PWM_VALUE 60 // PWM duty for slow down/speed up movement phase
|
|
|
+#define MOTOR_HIGH_SPEED_PWM_VALUE 100 // PWM duty for normal movement phase
|
|
|
|
|
|
-#define ANGLE_RANGE_FOR_MOTOR_SPEED_LIMIT 5
|
|
|
+#define ANGLE_RANGE_FOR_MOTOR_SPEED_LIMIT 5 // percentage value for motor slow down/speed up boundary
|
|
|
+#define AXE_X_MIDDLE_VALUE 50 // percentage value of position for C limiter
|
|
|
+#define AXE_Y_MIDDLE_VALUE 50 // percentage value of position for C limiter
|
|
|
#define TIME_MS_FOR_MOTOR_SPEED_LIMIT 1000
|
|
|
-#define NO_MOVE_TIMEOUT_MS 10000
|
|
|
+#define NO_MOVE_TIMEOUT_MS 1000 // timeout for no movement detection
|
|
|
|
|
|
#define WATCHDOG_ENABLED
|
|
|
//#define USER_MOCKS
|