ardupilot
ardupilot copied to clipboard
Copter: Sonar Enabled/Disable is not refreshed upon start/reset of APM
Testing Sonar with an XL-MB1240, conditions. Found that the APM upon power up is not refreshing the Sonar enable/disable param if a radio channel is used to control it.
Steps to reproduce:
- Sonar enable/disable parameter set to 1 (Enable)
- Assign channel (CH8) to turn Sonar off and on
- Leave Radio Switch in Disable position (Sonar Off)
- Power up APM
- Read Params, will see that Sonar is 1 (Enabled) where it should be disabled.
- Toggle Ch8 back and forth on radio, refresh params and it will now properly follow the CH8 setting.
This is fixed in master, so it will go out with AC3.1. Feel free to double check the release candidate when it goes out which should be within 1 week.