From 3a521f41ae5d998bec065128288aa5034266c240 Mon Sep 17 00:00:00 2001 From: RClawnmower <144064666+RClawnmower@users.noreply.github.com> Date: Sun, 5 May 2024 15:16:33 +0200 Subject: [PATCH 1/2] Update config.h --- Inc/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Inc/config.h b/Inc/config.h index dfe17d2f..bc9b24eb 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -60,8 +60,8 @@ // ###### CONTROL VIA RC REMOTE ###### // left sensor board cable. Channel 1: steering, Channel 2: speed. Use a very short cable! -//#define CONTROL_PPM // use PPM-Sum as input. disable CONTROL_SERIAL_USART2! -//#define PPM_NUM_CHANNELS 6 // total number of PPM channels to receive, even if they are not used. +#define CONTROL_PPM // use PPM-Sum as input. disable CONTROL_SERIAL_USART2! +#define PPM_NUM_CHANNELS 4 // total number of PPM channels to receive, even if they are not used. // ###### CONTROL VIA TWO POTENTIOMETERS ###### // ADC-calibration to cover the full poti-range: connect potis to left sensor board cable (0 to 3.3V) (do NOT use the red 15V wire in the cable!). see . turn the potis to minimum position, write value 1 to ADC1_MIN and value 2 to ADC2_MIN. turn to maximum position and repeat it for ADC?_MAX. make, flash and test it. From 2214acafcbc2c4f05d06d452188d5f5eb2f80974 Mon Sep 17 00:00:00 2001 From: RClawnmower <144064666+RClawnmower@users.noreply.github.com> Date: Sun, 5 May 2024 19:43:11 +0200 Subject: [PATCH 2/2] Update config.h --- Inc/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inc/config.h b/Inc/config.h index bc9b24eb..ed3a3764 100644 --- a/Inc/config.h +++ b/Inc/config.h @@ -77,7 +77,7 @@ // ###### MOTOR TEST MODE ###### // slowly move both wheels forward and backward, ignoring all inputs -#define CONTROL_MOTOR_TEST +//#define CONTROL_MOTOR_TEST #define CONTROL_MOTOR_TEST_MAX_SPEED 300 // sweep slowly from -MAX_SPEED to MAX_SPEED (0 - 1000) // ############################### DRIVING BEHAVIOR ###############################