2021-11-19 21:13:37 -05:00
# ArduPilot recommended settings
2021-10-30 16:46:46 -04:00
This section contains some recommended settings for ArduPilot. Nothing is set in stone, these are just some defaults I've found to work well.
## GPS
2021-11-19 21:13:37 -05:00
```js
2021-10-30 16:46:46 -04:00
GPS_GNSS_MODE=71 # Enable GPS/SBAS/Galileo/GLONASS.
GPS_RATE_MS=100 # 10 Hz update rate.
```
## Crossfire/ELRS
2021-11-19 21:13:37 -05:00
```js
2021-10-30 16:46:46 -04:00
SERIALn_PROTOCOL=23 # Crossfire/ELRS.
RC_OPTION=800 # 5 - Arming check throttle.
# 8 - CRSF telemetry passthrough.
# 9 - Suppress CRSF mode/rate message for ELRS.
```
2021-10-30 17:20:55 -04:00
## Expo
30% expo is a good starting point:
2021-11-19 21:13:37 -05:00
```js
2021-10-30 17:20:55 -04:00
MAN_EXPO_ROLL=30
MAN_EXPO_PITCH=30
MAN_EXPO_RUDDER=30
```
2021-10-30 16:46:46 -04:00
## Miscellaneous
2021-11-19 21:13:37 -05:00
```js
2021-10-30 16:46:46 -04:00
INS_GYRO_FILTER=60 # Faster gyro updates.
SCHED_LOOP_RATE=100 # Faster scheduler updates.
```
2021-12-31 11:37:43 -05:00
## Servo update rate
2021-12-31 16:24:40 -05:00
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:
2021-12-31 11:37:43 -05:00
```js
2021-12-31 16:24:40 -05:00
SCHED_LOOP_RATE=200 # As above.
ONESHOT_MASK=6 # Change to whatever channels your servos are on.
2021-12-31 11:37:43 -05:00
```
2021-10-30 16:46:46 -04:00
* * *
< p style = "font-size:80%; font-style: italic" >
2021-12-31 11:37:43 -05:00
Last updated on December 31, 2021. For any questions/feedback,
2021-10-30 16:46:46 -04:00
email me at < a href = "mailto:hi@stavros.io" > hi@stavros.io< / a > .
< / p >