SIM001 › Flying the VTOL › Flying with a radio
Taking off with the TX15 › Arm, pick QLOITER, lift off and land failed
As a pilot with a radio, I want to arm the VTOL, pick a hover mode and lift off with the throttle stick, so that I can fly the plane the way I fly it in the field.
The test behind the tutorial Taking off with the TX15: every step it takes, what it checks and what it saw.
Start
From the setup of Flying with a radio.
Everything it starts with
Given the game clock is off And the link is connected And the vehicle is disarmed And the autopilot mode is MANUAL And the map tool is pan And the plan has 0 items And the plan altitude is 40 m And the last plan item is none And the takeoff is not planned And the vehicle mission is empty And the home position is set And the waypoints are unchecked And the mission file is missing And the measured distance is hidden And the vehicle's current item is 0 And the throttle stick is low And the arm switch is off And the mode switch is QHOVER And the radio line is USB And the airframe is VTOL And the plane is on the ground

- Every arranged state read back as arranged (21)
1 When the arm switch is on
When the arm switch is on Then the vehicle is armed
Expected behaviour: The arm switch arms the vehicle.

- the vehicle is armed · The arm switch arms the vehicle
- the last plan item is none · An empty plan has no last item
2 When the mode switch is QLOITER
When the mode switch is QLOITER Then the autopilot mode is QLOITER
Expected behaviour: The mode switch picks the mode.

- the autopilot mode is QLOITER · The mode switch picks the mode
- the last plan item is none · An empty plan has no last item
3 When the throttle stick is high
When the throttle stick is high Then the flight is hovering And the height above home is at least 5 m
Expected behaviour: A raised throttle stick lifts the plane.

- the flight is hovering · A raised throttle stick lifts the plane — observed grounded
- the height above home is at least 15 m · A raised throttle stick lifts the plane — observed 0.145
- the plane is flying · A raised throttle stick lifts the plane — observed on the ground
- the last plan item is none · An empty plan has no last item
- the height above home is at least 5 m · the story — observed 0.145
4 When the throttle stick is middle
When the throttle stick is middle Then the flight is hovering
Expected behaviour: A centred throttle stick holds the height.
- the flight is hovering · A centred throttle stick holds the height
- the height above home is at least 5 m · A centred throttle stick holds the height
- the last plan item is none · An empty plan has no last item
5 When the throttle stick is low
When the throttle stick is low Then the plane is on the ground
Expected behaviour: A lowered throttle stick brings the plane down.
- the plane is on the ground · A lowered throttle stick brings the plane down
- the last plan item is none · An empty plan has no last item