|
|
@ -13,13 +13,18 @@ |
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
Simulator for the Lanbao rangefinder
|
|
|
|
Simulator for the Lanbao rangefinder |
|
|
|
|
|
|
|
|
|
|
|
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=sim:lanbao --speedup=1 |
|
|
|
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=sim:lanbao --speedup=1 |
|
|
|
|
|
|
|
|
|
|
|
param set SERIAL5_PROTOCOL 9 |
|
|
|
param set SERIAL5_PROTOCOL 9 |
|
|
|
param set RNGFND1_TYPE 26 |
|
|
|
param set RNGFND1_TYPE 26 |
|
|
|
|
|
|
|
graph RANGEFINDER.distance |
|
|
|
|
|
|
|
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance |
|
|
|
reboot |
|
|
|
reboot |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
arm throttle |
|
|
|
|
|
|
|
rc 3 1600 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#pragma once |
|
|
|
#pragma once |
|
|
|