ArduCopter
GitHub
ardupilot
ArduCopter
APM_Config_mavlink_hil.h
Go to the documentation of this file.
1
// HIL_MODE SELECTION
2
//
3
// Mavlink supports
4
// 1. HIL_MODE_SENSORS: full sensor simulation
5
#define HIL_MODE HIL_MODE_SENSORS
6
7
// HIL_PORT SELCTION
8
//
9
// PORT 1
10
// If you would like to run telemetry communications for a groundstation
11
// while you are running hardware in the loop it is necessary to set
12
// HIL_PORT to 1. This uses the port that would have been used for the gps
13
// as the hardware in the loop port. You will have to solder
14
// headers onto the gps port connection on the apm
15
// and connect via an ftdi cable.
16
//
17
// The baud rate is set to 115200 in this mode.
18
//
19
// PORT 3
20
// If you don't require telemetry communication with a gcs while running
21
// hardware in the loop you may use the telemetry port as the hardware in
22
// the loop port. Alternatively, use a telemetry/HIL shim like FGShim
23
// https://ardupilot-mega.googlecode.com/svn/Tools/trunk/FlightGear
24
//
25
// The buad rate is controlled by SERIAL1_BAUD in this mode.
26
27
#define HIL_PORT 3
28
Generated by
1.8.14