-
Notifications
You must be signed in to change notification settings - Fork 20.2k
Description
Bug report
See also this thread at the BlueRobotics community forums.
We are working to confirm this behavior with our other BlueROVs.
Testing on a BlueROV2 Heavy running BlueOS-1.4.2 with Ardupilot 4.5.7 (also tested with 4.5.5).
Under a very specific set of circumstances:
- Vehicle in the water, armed, running in alt hold
- Disarm vehicle
- Set to manual mode
- Arm vehicle (now in manual mode)
- Set to alt hold mode
The vehicle will descend suddenly by ~1m, then stabilize at a depth slightly below its original depth. The second and third steps are interchangeable (manual then disarm or disarm then manual).
Expected behavior
On all transitions from manual mode to alt hold mode, the vehicle should hold the current vehicle depth.
Issue details
If the sub is disarmed in manual mode, the output "throttle" (vertical control) is set to 0.0, corresponding to full downward thrust. While this value is not used in manual control, it is used as an initial value on subsequent mode changes (e.g. to ALT_HOLD).
Set to 0.5 (neutral, no vertical thrust) instead.
Version
BlueOS 1.4.2, Ardupilot 4.5.7 (also observed with 4.5.5)
Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ X] Submarine
Airframe and hardware type
BlueROV Heavy with Pi5 and Navigator5 board
Logs
Logfile attached, see interpretation in the BR Forum post linked above.