From 8a8dc30d15808cadeaea6c79742b1260d86954f8 Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Fri, 31 Dec 2021 23:24:40 +0200 Subject: [PATCH] Updates --- content/ardupilot/ardupilot-recommended-settings.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/content/ardupilot/ardupilot-recommended-settings.md b/content/ardupilot/ardupilot-recommended-settings.md index 766b855..a8e509f 100644 --- a/content/ardupilot/ardupilot-recommended-settings.md +++ b/content/ardupilot/ardupilot-recommended-settings.md @@ -37,17 +37,11 @@ SCHED_LOOP_RATE=100 # Faster scheduler updates. ## Servo update rate -If you want a higher servo update rate (because of digital servos), it is probably better to set the scheduler loop rate to the frequency you want, and enable ONESHOT (assuming you have a BLHeli ESC): +If you want a higher servo update rate (because of digital servos), it is probably better to set the scheduler loop rate to the frequency you want, and enable ONESHOT on the servos: ```js -SCHED_LOOP_RATE=100 # As above. -SERVO_BLH_OTYPE=1 # For ONESHOT. -``` - -With no BLHeli ESCs, change your `SERVO_RATE`: - -```js -SERVO_RATE=100 +SCHED_LOOP_RATE=200 # As above. +ONESHOT_MASK=6 # Change to whatever channels your servos are on. ``` * * *