2011-02-24 01:56:59 -04:00
|
|
|
// HIL_MODE SELECTION
|
|
|
|
//
|
|
|
|
// Mavlink supports
|
2014-01-02 01:28:50 -04:00
|
|
|
// 1. HIL_MODE_SENSORS: full sensor simulation
|
|
|
|
#define HIL_MODE HIL_MODE_SENSORS
|
2011-02-24 01:56:59 -04:00
|
|
|
|
2019-03-25 20:57:55 -03:00
|
|
|
// HIL_PORT SELECTION
|
2011-02-24 01:56:59 -04:00
|
|
|
//
|
|
|
|
// PORT 1
|
|
|
|
// If you would like to run telemetry communications for a groundstation
|
|
|
|
// while you are running hardware in the loop it is necessary to set
|
|
|
|
// HIL_PORT to 1. This uses the port that would have been used for the gps
|
|
|
|
// as the hardware in the loop port. You will have to solder
|
|
|
|
// headers onto the gps port connection on the apm
|
|
|
|
// and connect via an ftdi cable.
|
|
|
|
//
|
|
|
|
// The baud rate is set to 115200 in this mode.
|
|
|
|
//
|
|
|
|
// PORT 3
|
|
|
|
// If you don't require telemetry communication with a gcs while running
|
|
|
|
// hardware in the loop you may use the telemetry port as the hardware in
|
|
|
|
// the loop port. Alternatively, use a telemetry/HIL shim like FGShim
|
|
|
|
// https://ardupilot-mega.googlecode.com/svn/Tools/trunk/FlightGear
|
|
|
|
//
|
2013-11-25 19:58:50 -04:00
|
|
|
// The buad rate is controlled by SERIAL1_BAUD in this mode.
|
2011-02-24 01:56:59 -04:00
|
|
|
|
|
|
|
#define HIL_PORT 3
|
|
|
|
|