ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.08k stars 17.65k forks source link

Plane: auto takeoff timeout does not timeout #21319

Open teodoryantcheff opened 2 years ago

teodoryantcheff commented 2 years ago

Bug report

Issue details Timeout value for takeoff is discarded. Motor spins indefinitely.

To reproduce:

  1. remove prop
  2. set Takeoff as mode (77) on arbitrary rc channel.
  3. set-up shake to wake.
  4. set TKOFF_TIMEOUT. I used 5 seconds.
  5. arm plane.
  6. "activate" takeoff mode channel.
  7. shake to wake. The motor spins as expected.
  8. leave the plane on the ground.
  9. wait for more than the set TKOFF_TIMEOUT.
  10. Takeoff mode is not cancelled, Motor spins indefinitely, plane remains armed.

Version plane 4.2.1

Platform [ ] All [ ] AntennaTracker [ ] Copter [X ] Plane [ ] Rover [ ] Submarine

Hardware type Matek f765wing

teodoryantcheff commented 1 year ago

Just now tested the same with Plane 4.4.2. TKOFF_TIMEOUT is still not taken into account and the motor spins indefinitely with the model on the ground. No airspeed sensor, but a solid ~10 sats GPS lock.

magicrub commented 1 year ago

I'll take a look

teodoryantcheff commented 5 months ago

I'll take a look

Did you, @magicrub ?