Skip to content

Commit

Permalink
SITL: add simulation instructions for TSYS03 sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Sep 6, 2023
1 parent 8235275 commit d9818ae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions libraries/SITL/SIM_Temperature_TSYS03.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
/*
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 {
Expand Down

0 comments on commit d9818ae

Please sign in to comment.