2018-08-25 12:02:37 -03:00
|
|
|
#!/bin/sh
|
2018-08-04 12:26:05 -03:00
|
|
|
# PX4 commands need the 'px4-' prefix in bash.
|
|
|
|
# (px4-alias.sh is expected to be in the PATH)
|
2018-09-27 14:54:09 -03:00
|
|
|
. px4-alias.sh
|
2018-08-04 12:26:05 -03:00
|
|
|
|
2017-03-09 06:20:52 -04:00
|
|
|
# HITL configuration
|
|
|
|
# connect to it with jMAVSim:
|
2022-08-22 12:00:03 -03:00
|
|
|
# ./Tools/simulation/jmavsim/jmavsim_run.sh -q -i <IP> -p 14577 -r 250
|
2017-03-09 06:20:52 -04:00
|
|
|
|
2022-08-22 12:00:03 -03:00
|
|
|
param select parameters.bson
|
2021-12-23 13:29:35 -04:00
|
|
|
param import
|
|
|
|
|
2020-05-04 14:07:58 -03:00
|
|
|
param set CBRK_SUPPLY_CHK 894281
|
2017-03-09 06:20:52 -04:00
|
|
|
param set SYS_AUTOSTART 1001
|
|
|
|
param set MAV_TYPE 2
|
2020-01-07 12:08:37 -04:00
|
|
|
|
2021-01-07 11:12:20 -04:00
|
|
|
# Multi-EKF
|
|
|
|
param set EKF2_MULTI_IMU 2
|
|
|
|
param set SENS_IMU_MODE 0
|
|
|
|
|
2017-03-09 09:29:17 -04:00
|
|
|
dataman start
|
2020-01-07 12:08:37 -04:00
|
|
|
|
2020-08-11 19:33:44 -03:00
|
|
|
load_mon start
|
|
|
|
|
2019-11-24 14:25:11 -04:00
|
|
|
rc_update start
|
2017-03-09 06:20:52 -04:00
|
|
|
sensors start -hil
|
|
|
|
commander start -hil
|
|
|
|
navigator start
|
|
|
|
ekf2 start
|
|
|
|
land_detector start multicopter
|
2020-03-11 22:20:54 -03:00
|
|
|
mc_hover_thrust_estimator start
|
2020-10-24 12:09:25 -03:00
|
|
|
flight_mode_manager start
|
2017-03-09 06:20:52 -04:00
|
|
|
mc_pos_control start
|
|
|
|
mc_att_control start
|
2019-11-19 18:03:11 -04:00
|
|
|
mc_rate_control start
|
2020-01-07 12:08:37 -04:00
|
|
|
|
2021-01-31 09:36:27 -04:00
|
|
|
mavlink start -x -u 14577 -r 1000000 -p
|
2017-03-09 06:20:52 -04:00
|
|
|
navio_sysfs_rc_in start
|
2018-03-04 12:00:40 -04:00
|
|
|
pwm_out_sim start
|
2022-08-24 15:44:17 -03:00
|
|
|
control_allocator start
|
2020-01-07 12:08:37 -04:00
|
|
|
|
2017-04-24 04:12:10 -03:00
|
|
|
logger start -t -b 200
|
2020-01-07 12:08:37 -04:00
|
|
|
|
2017-03-09 06:20:52 -04:00
|
|
|
mavlink boot_complete
|
|
|
|
|