SIM001 › Beyond the cockpit › The flight computer
Flying with a TX15 on the serial line › Fly and watch the screen passed
As a pilot with a TX15, I want the sticks to reach the plane through the flight computer, so that I fly the way I fly the real plane.
The test behind the tutorial Fly and watch the screen: every step it takes, what it checks and what it saw.
Start
From the setup of The flight computer, and:
Given the TX15 arm switch is on And the TX15 screen battery is 11.1 V And the TX15 screen bank is 30 degrees And the ground station telemetry is flowing And the ground station map distance is 400 m And the TX15 screen mode is AUTO And the TX15 screen arming is armed
Everything it starts with
Given the TX15 is connected And the TX15 roll stick is 0 % And the TX15 pitch stick is 0 % And the TX15 throttle stick is 0 % And the TX15 arm switch is on And the corrupted frames are 0 % And the TX15 screen battery is 11.1 V And the TX15 screen bank is 30 degrees And the TX15 screen airspeed is 0 m/s And the TX15 screen climb is 0 m/s And the TX15 screen satellites is 12 And the TX15 screen message is none And the ground station telemetry is flowing And the ground station map distance is 400 m And the TX15 screen mode is AUTO And the TX15 screen arming is armed
- Every arranged state read back as arranged (16)
1 When 5 seconds pass
When 5 seconds pass Then the arm channel is at least 1900 us And the TX15 screen mode is AUTO And the TX15 screen arming is armed And the TX15 screen battery is at least 11 V And the TX15 screen battery is at most 11.2 V And the TX15 screen bank is at least 29 degrees And the TX15 screen bank is at most 31 degrees And the ground station telemetry is flowing And the ground station map distance is at least 399 m And the ground station map distance is at most 401 m
Expected behaviour: A centred stick is 1500 us, The arm switch goes to its channel, The TX15 shows when the plane is armed, The TX15 shows the battery, The TX15 shows the bank, The ground station hears the plane through the TX15, The position on the map comes from the telemetry of the line.
- the roll channel is 1500 us · A centred stick is 1500 us
- the pitch channel is 1500 us · A centred stick is 1500 us
- the arm channel is at least 1900 us · The arm switch goes to its channel
- the TX15 screen arming is armed · The TX15 shows when the plane is armed
- the TX15 screen battery is between 11 and 11.2 V · The TX15 shows the battery
- the TX15 screen bank is between 29 and 31 degrees · The TX15 shows the bank
- the ground station telemetry is flowing · The ground station hears the plane through the TX15
- the ground station map distance is between 399 and 401 m · The position on the map comes from the telemetry of the line
- the TX15 screen mode is AUTO · the story
- the TX15 screen battery is at least 11 V · the story
- the TX15 screen battery is at most 11.2 V · the story
- the TX15 screen bank is at least 29 degrees · the story
- the TX15 screen bank is at most 31 degrees · the story
- the ground station map distance is at least 399 m · the story
- the ground station map distance is at most 401 m · the story