diff --git a/content/ardupilot/_index.md b/content/ardupilot/_index.md index 8f37c42..167d786 100644 --- a/content/ardupilot/_index.md +++ b/content/ardupilot/_index.md @@ -8,6 +8,7 @@ insert_anchor_links = "right" Click on a link in the list below to go to that page: +1. [ArduPilot recommended settings](../../ardupilot/ardupilot-recommended-settings) 1. [ArduPilot setup checklist](../../ardupilot/ardupilot-setup-checklist) 1. [Building ArduPilot](../../ardupilot/building-ardupilot) 1. [Configuring a switch as a relay](../../ardupilot/configuring-a-switch-as-a-relay) diff --git a/content/ardupilot/ardupilot-recommended-settings.md b/content/ardupilot/ardupilot-recommended-settings.md new file mode 100644 index 0000000..3b746d6 --- /dev/null +++ b/content/ardupilot/ardupilot-recommended-settings.md @@ -0,0 +1,37 @@ ++++ +title = "ArduPilot recommended settings" +weight = 1 +sort_by = "weight" +insert_anchor_links = "right" ++++ +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 + +``` +GPS_GNSS_MODE=71 # Enable GPS/SBAS/Galileo/GLONASS. +GPS_RATE_MS=100 # 10 Hz update rate. +``` + +## Crossfire/ELRS + +``` +SERIALn_PROTOCOL=23 # Crossfire/ELRS. +RC_OPTION=800 # 5 - Arming check throttle. + # 8 - CRSF telemetry passthrough. + # 9 - Suppress CRSF mode/rate message for ELRS. +``` + +## Miscellaneous + +``` +INS_GYRO_FILTER=60 # Faster gyro updates. +SCHED_LOOP_RATE=100 # Faster scheduler updates. +``` + +* * * + +

+Last updated on October 30, 2021. For any questions/feedback, +email me at hi@stavros.io. +

diff --git a/content/ardupilot/ardupilot-setup-checklist.md b/content/ardupilot/ardupilot-setup-checklist.md index 0802816..fb3141e 100644 --- a/content/ardupilot/ardupilot-setup-checklist.md +++ b/content/ardupilot/ardupilot-setup-checklist.md @@ -1,6 +1,6 @@ +++ title = "ArduPilot setup checklist" -weight = 1 +weight = 2 sort_by = "weight" insert_anchor_links = "right" +++ @@ -24,7 +24,7 @@ See [Building ArduPilot](../../ardupilot/building-ardupilot) for instructions on The values in this section are specific to the Omnibus F4, but the settings aren't, so you'll usually need to adjust your outputs to your specific configuration but you probably won't need to skip many of the steps here. -- [ ] Connect GPS to UART 6 (SERIAL4). You don't need to do anything else for GPS, it should work out of the box. +- [ ] Connect GPS to UART 6 (SERIAL4). You don't need to do anything else for GPS, it should work out of the box. If it doesn't, set `SERIALn_PROTOCOL=5 SERIALn_BAUD=115` - [ ] Change the FC's orientation with `AHRS_ORIENTATION` and monitor the artificial horizon to see if it moves correctly. - [ ] Calibrate the accelerometer. "Forward" here needs to be the forward direction of the plane, not the arrow on the FC. - [ ] Connect Fport to a UART. I chose UART 3 (SERIAL2). If you want to use UART 1, you should set the RC input jumper to PPM on the F4 to disconnect the SBUS inverter from the pin. @@ -59,8 +59,6 @@ The values in this section are specific to the Omnibus F4, but the settings aren - [ ] Set `COMPASS_ENABLE=0` if you don't have a compass, otherwise calibrate it (not detailed here). - [ ] Set `TERRAIN_ENABLE=0` to get rid of the terrain warning. - [ ] Set the FC's pitch relative to the body with `AHRS_TRIM_Y` and check that FBWA mode flies level. -- [ ] Set `INS_GYRO_FILTER=60` for faster updates. -- [ ] Set `SCHED_LOOP_RATE=100` for the same reason. - [ ] If you don't use logging, set `LOG_BACKEND_TYPE=0`. - [ ] Check the preflight errors to warn on, though usually leaving it set to "all" is fine. - [ ] Set up the OSD (Mission Planner has a very nice UI for that). Keep in mind that ArduPilot's airspeed and windspeed estimation are quite good, so you may want to add those even if you don't have an airspeed sensor. You may also want to set up multiple screens, I use a potentiometer to switch between the four different screens of the OSD: @@ -102,6 +100,9 @@ The values in this section are specific to the Omnibus F4, but the settings aren - [ ] Set `TKOFF_THR_DELAY` to the number of deciseconds that you want the motor to wait before it starts up. - [ ] Potentially set `TKOFF_THR_SLEW=-1` to make the throttle spin up faster. +## Recommended settings. + +See the [recommended settings](../../ardupilot/ardupilot-recommended-settings) page for other recommended defaults. ## In the field - [ ] Run an autotune. @@ -112,6 +113,6 @@ _(Many thanks to Michel Pastor for his help with everything in this note.)_ * * *

-Last updated on October 26, 2021. For any questions/feedback, +Last updated on October 30, 2021. For any questions/feedback, email me at hi@stavros.io.

diff --git a/content/ardupilot/building-ardupilot.md b/content/ardupilot/building-ardupilot.md index 99c97bc..0849a17 100644 --- a/content/ardupilot/building-ardupilot.md +++ b/content/ardupilot/building-ardupilot.md @@ -1,6 +1,6 @@ +++ title = "Building ArduPilot" -weight = 2 +weight = 3 sort_by = "weight" insert_anchor_links = "right" +++ diff --git a/content/ardupilot/configuring-a-switch-as-a-relay.md b/content/ardupilot/configuring-a-switch-as-a-relay.md index fbec2de..482db30 100644 --- a/content/ardupilot/configuring-a-switch-as-a-relay.md +++ b/content/ardupilot/configuring-a-switch-as-a-relay.md @@ -1,6 +1,6 @@ +++ title = "Configuring a switch as a relay" -weight = 3 +weight = 4 sort_by = "weight" insert_anchor_links = "right" +++ diff --git a/content/ardupilot/miscellaneous-notes.md b/content/ardupilot/miscellaneous-notes.md index f5625bc..d2a7647 100644 --- a/content/ardupilot/miscellaneous-notes.md +++ b/content/ardupilot/miscellaneous-notes.md @@ -1,6 +1,6 @@ +++ title = "Miscellaneous notes" -weight = 4 +weight = 5 sort_by = "weight" insert_anchor_links = "right" +++ diff --git a/content/ardupilot/reverse-thrust.md b/content/ardupilot/reverse-thrust.md index 1bb004a..488d655 100644 --- a/content/ardupilot/reverse-thrust.md +++ b/content/ardupilot/reverse-thrust.md @@ -1,6 +1,6 @@ +++ title = "Reverse thrust" -weight = 5 +weight = 6 sort_by = "weight" insert_anchor_links = "right" +++ diff --git a/content/ardupilot/tecs-tuning-calculator.md b/content/ardupilot/tecs-tuning-calculator.md index b950ee9..859a6c4 100644 --- a/content/ardupilot/tecs-tuning-calculator.md +++ b/content/ardupilot/tecs-tuning-calculator.md @@ -1,6 +1,6 @@ +++ title = "TECS tuning calculator" -weight = 6 +weight = 7 sort_by = "weight" insert_anchor_links = "right" +++ diff --git a/content/ardupilot/transfer-config-between-craft.md b/content/ardupilot/transfer-config-between-craft.md index aabb6b4..2769bfb 100644 --- a/content/ardupilot/transfer-config-between-craft.md +++ b/content/ardupilot/transfer-config-between-craft.md @@ -1,6 +1,6 @@ +++ title = "Transfer config between craft" -weight = 7 +weight = 8 sort_by = "weight" insert_anchor_links = "right" +++ diff --git a/content/ardupilot/tuning-the-tecs.md b/content/ardupilot/tuning-the-tecs.md index 5e2a126..911bb0d 100644 --- a/content/ardupilot/tuning-the-tecs.md +++ b/content/ardupilot/tuning-the-tecs.md @@ -1,6 +1,6 @@ +++ title = "Tuning the TECS" -weight = 8 +weight = 9 sort_by = "weight" insert_anchor_links = "right" +++