mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 10:43:58 -04:00
SITL: add instructions for testing MaxSonarI2CXL in SITL
This commit is contained in:
parent
fd1ade76ca
commit
5fcac2b304
@ -1,5 +1,19 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
/*
|
||||||
|
Simulator for the MaxsonarI2XL rangefinder
|
||||||
|
|
||||||
|
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter --speedup=1
|
||||||
|
|
||||||
|
param set RNGFND1_TYPE 2
|
||||||
|
graph RANGEFINDER.distance
|
||||||
|
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
|
||||||
|
reboot
|
||||||
|
|
||||||
|
arm throttle
|
||||||
|
rc 3 1600
|
||||||
|
*/
|
||||||
|
|
||||||
#include "SIM_config.h"
|
#include "SIM_config.h"
|
||||||
|
|
||||||
#if AP_SIM_MAXSONAR_I2C_XL_ENABLED
|
#if AP_SIM_MAXSONAR_I2C_XL_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user