mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
SITL: add simulation instructions for TSYS03 sensor
This commit is contained in:
parent
823527588c
commit
d9818ae1ab
@ -7,6 +7,20 @@
|
|||||||
/*
|
/*
|
||||||
Simulator for the TSYS03 temperature sensor
|
Simulator for the TSYS03 temperature sensor
|
||||||
|
|
||||||
|
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -f Callisto -A --speedup=1
|
||||||
|
param set TEMP1_TYPE 4
|
||||||
|
param fetch
|
||||||
|
param set TEMP1_BUS 2
|
||||||
|
param set TEMP1_SRC 3
|
||||||
|
param set TEMP1_SRC_ID 1
|
||||||
|
graph BATTERY_STATUS.temperature*0.01
|
||||||
|
reboot
|
||||||
|
|
||||||
|
arm throttle
|
||||||
|
rc 3 2000
|
||||||
|
|
||||||
|
fly around, check BAT[0].temperature
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace SITL {
|
namespace SITL {
|
||||||
|
Loading…
Reference in New Issue
Block a user