mirror of https://github.com/ArduPilot/ardupilot
SITL: remove references to legacy UART order
This commit is contained in:
parent
60493fd11c
commit
d2456f4199
|
@ -4,7 +4,7 @@
|
||||||
// param set EAHRS_TYPE 5
|
// param set EAHRS_TYPE 5
|
||||||
// param set SERIAL4_PROTOCOL 36
|
// param set SERIAL4_PROTOCOL 36
|
||||||
// param set SERIAL4_BAUD 460800
|
// param set SERIAL4_BAUD 460800
|
||||||
// sim_vehicle.py -v ArduPlane -D --console --map -A --uartE=sim:ILabs
|
// sim_vehicle.py -v ArduPlane -D --console --map -A --serial4=sim:ILabs
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "SIM_Aircraft.h"
|
#include "SIM_Aircraft.h"
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
/*
|
/*
|
||||||
Simulator for the Loweheiser EFI/generator
|
Simulator for the Loweheiser EFI/generator
|
||||||
|
|
||||||
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=sim:loweheiser --speedup=1 --console
|
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --serial5=sim:loweheiser --speedup=1 --console
|
||||||
|
|
||||||
param set SIM_EFI_TYPE 2
|
param set SIM_EFI_TYPE 2
|
||||||
param set SERIAL5_PROTOCOL 2
|
param set SERIAL5_PROTOCOL 2
|
||||||
|
@ -57,7 +57,7 @@ long SET_MESSAGE_INTERVAL 225 100000
|
||||||
|
|
||||||
# run SITL against real generator:
|
# run SITL against real generator:
|
||||||
DEV=/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
|
DEV=/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
|
||||||
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=uart:$DEV:115200 --speedup=1 --console
|
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --serial5=uart:$DEV:115200 --speedup=1 --console
|
||||||
|
|
||||||
# run generator test script against simulator:
|
# run generator test script against simulator:
|
||||||
python ./libraries/AP_Generator/scripts/test-loweheiser.py tcp:localhost:5762
|
python ./libraries/AP_Generator/scripts/test-loweheiser.py tcp:localhost:5762
|
||||||
|
|
Loading…
Reference in New Issue