Browse Source

SITL: improve testing instructions for simulated rangefinders

zr-v5.1
Peter Barker 5 years ago committed by Peter Barker
parent
commit
7b046c8b75
  1. 5
      libraries/SITL/SIM_RF_BLping.h
  2. 5
      libraries/SITL/SIM_RF_Benewake_TF02.h
  3. 4
      libraries/SITL/SIM_RF_Benewake_TF03.h
  4. 4
      libraries/SITL/SIM_RF_Benewake_TFmini.h
  5. 7
      libraries/SITL/SIM_RF_Lanbao.h
  6. 7
      libraries/SITL/SIM_RF_LeddarOne.h
  7. 7
      libraries/SITL/SIM_RF_LightWareSerial.h
  8. 5
      libraries/SITL/SIM_RF_MaxsonarSerialLV.h
  9. 5
      libraries/SITL/SIM_RF_NMEA.h
  10. 5
      libraries/SITL/SIM_RF_Wasp.h
  11. 5
      libraries/SITL/SIM_RF_uLanding_v0.h
  12. 5
      libraries/SITL/SIM_RF_uLanding_v1.h

5
libraries/SITL/SIM_RF_BLping.h

@ -19,7 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 23 param set RNGFND1_TYPE 23
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

5
libraries/SITL/SIM_RF_Benewake_TF02.h

@ -19,8 +19,13 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 19 param set RNGFND1_TYPE 19
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

4
libraries/SITL/SIM_RF_Benewake_TF03.h

@ -19,8 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 27 param set RNGFND1_TYPE 27
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

4
libraries/SITL/SIM_RF_Benewake_TFmini.h

@ -19,8 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 20 param set RNGFND1_TYPE 20
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

7
libraries/SITL/SIM_RF_Lanbao.h

@ -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

7
libraries/SITL/SIM_RF_LeddarOne.h

@ -15,11 +15,16 @@
/* /*
Simulator for the LeddarOne rangefinder Simulator for the LeddarOne rangefinder
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduPlane -A --uartF=sim:leddarone --speedup=1 ./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=sim:leddarone --speedup=1
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 12 param set RNGFND1_TYPE 12
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

7
libraries/SITL/SIM_RF_LightWareSerial.h

@ -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 serial LightWare rangefinder Simulator for the serial LightWare rangefinder
./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=sim:lightwareserial --speedup=1 ./Tools/autotest/sim_vehicle.py --gdb --debug -v ArduCopter -A --uartF=sim:lightwareserial --speedup=1
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 8 param set RNGFND1_TYPE 8
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

5
libraries/SITL/SIM_RF_MaxsonarSerialLV.h

@ -19,7 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 13 param set RNGFND1_TYPE 13
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

5
libraries/SITL/SIM_RF_NMEA.h

@ -19,7 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 17 param set RNGFND1_TYPE 17
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

5
libraries/SITL/SIM_RF_Wasp.h

@ -19,7 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 18 param set RNGFND1_TYPE 18
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

5
libraries/SITL/SIM_RF_uLanding_v0.h

@ -19,7 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 11 param set RNGFND1_TYPE 11
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

5
libraries/SITL/SIM_RF_uLanding_v1.h

@ -19,7 +19,12 @@
param set SERIAL5_PROTOCOL 9 param set SERIAL5_PROTOCOL 9
param set RNGFND1_TYPE 11 param set RNGFND1_TYPE 11
graph RANGEFINDER.distance
graph GLOBAL_POSITION_INT.relative_alt/1000-RANGEFINDER.distance
reboot reboot
arm throttle
rc 3 1600
*/ */
#pragma once #pragma once

Loading…
Cancel
Save