SIM001 › Beyond the cockpit › The flight computer
Flying with a TX15 on the serial line › Full travel on the sticks 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 Full travel on the sticks: every step it takes, what it checks and what it saw.
Start
From the setup of The flight computer, and:
Given the TX15 roll stick is 100 % And the TX15 pitch stick is -50 % And the TX15 throttle stick is 100 % And the TX15 arm switch is on
Everything it starts with
Given the TX15 is connected And the TX15 roll stick is 100 % And the TX15 pitch stick is -50 % And the TX15 throttle stick is 100 % And the TX15 arm switch is on And the corrupted frames are 0 % And the TX15 screen battery is 12 V And the TX15 screen bank is 0 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 silent And the ground station map distance is 0 m And the TX15 screen mode is MANUAL And the TX15 screen arming is disarmed
- Every arranged state read back as arranged (16)
1 When 5 seconds pass
When 5 seconds pass Then the roll channel is at least 1990 us And the pitch channel is at least 1245 us And the pitch channel is at most 1255 us And the throttle channel is at least 1990 us And the arm channel is at least 1900 us
Expected behaviour: A stick at full travel is at the end of the range, A stick at half travel is half way, The arm switch goes to its channel.
- the roll channel is at least 1990 us · A stick at full travel is at the end of the range
- the throttle channel is at least 1990 us · A stick at full travel is at the end of the range
- the pitch channel is between 1245 and 1255 us · A stick at half travel is half way
- the arm channel is at least 1900 us · The arm switch goes to its channel
- the pitch channel is at least 1245 us · the story
- the pitch channel is at most 1255 us · the story