-
[Some Basic Knowledge](#Some Basic Knowledge)
-
[Servo Testing](#Servo Testing)
-
[Transmitter & Mission Planner Setup](#Transmitter & Mission Planner Setup)
-
[Flight Mode Setup](#Flight Mode Setup)
-
[Sensor Setup](#Sensor Setup)
- [Airspeed Sensor](#Airspeed Sensor)
Mission Planner is the software we use to monitor sensors and perform autonomous tasks and flight modes with the plane. More info here. A transmitter is that cool thing with joysticks that we use to control the planes manually. We highly recommend that you practice with a transmitter and simulator first before flying any actual planes.
- Control Surfaces
These are the things that control the plane's movement or attitude. They are called the ailerons, elevator, and rudder, which control roll, pitch, and yaw, respectively. Roll, pitch, and yaw are rotation about the x, y, and z axes. Here's a diagram.
-
What is 'trim'? (You'll see this mentioned in Transmitter Setup)
First, you should know that the servos controlling the control surfaces have a range of PWM signals they respond to. For example, the minimum PWM signal for the elevator could point it all the way down, and the max could point it all the way up. Trim is a way of adjusting the placement of this range so the middle value is in the correct place. However, this also adjusts the placement of the min amd max values, which limits the range of the control surface (Ex: If the min PWM signal is raised, the elevator can't point all the way down). So, if the control surface is off by a little bit, go ahead and adjust it with trim. If it has a major offset (like the elevator is pointing down when it should be in the middle), adjust the servo connection manually. (As a side note, when setting the trim in Transmitter Setup, it's changing the PWM signals for non-control surface channels, giving the channels involved 6 options instead of 9. Trim's purpose is less straightforward).
-
Flight mode parameters (the weird words in all caps)
These control various things about autonomous flight modes and failsafes. They can be found in Mission Planner under the top CONFIG/TUNING tab, and then under "Advanced Params" in the sidebar.
In LOITER mode the plane will circle around the point where you started the loiter, holding altitude at the altitude that you entered loiter in.
- WP_LOITER_RAD
- NAV_ROLL_CD
- NAVL1_PERIOD
- Altitude?
- Set FS_GCS_ENABL to 1 to enable it.
- Connect to the Mission Planner via telemetry. Verify on the bottom right corner of the HUD that you are “flying” in a non auto mode (Manual, Stabilize, FBW are ok).
- Unplug one of the telemetry radios. After a few minutes power off your autopilot. (Remember the autopilot will not go into failsafe until FS_LONG_TIMEOUT seconds of MAVlink inactivity have passed).
- Connect your autopilot to the mission planner and pull the logs. Verify on the log that the autopilot went into RTL after FS_LONG_TIMEOUT sec of MAVlink inactivity.
- FS_SHORT_TIMEOUT: 1
- FS_SHORT_ACTN: 0
- FS_LONG_TIMEOUT: 5
- FS_LONG_ACTN: 1