forked from Archive/PX4-Autopilot
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
uorb start
|
|
simulator start -s
|
|
param load
|
|
param set MAV_TYPE 1
|
|
param set SYS_AUTOSTART 3033
|
|
param set SYS_RESTART_TYPE 2
|
|
dataman start
|
|
param set CAL_GYRO0_ID 2293768
|
|
param set CAL_ACC0_ID 1376264
|
|
param set CAL_ACC1_ID 1310728
|
|
param set CAL_MAG0_ID 196616
|
|
param set CAL_GYRO0_XOFF 0.01
|
|
param set CAL_ACC0_XOFF 0.01
|
|
param set CAL_ACC0_YOFF -0.01
|
|
param set CAL_ACC0_ZOFF 0.01
|
|
param set CAL_ACC0_XSCALE 1.01
|
|
param set CAL_ACC0_YSCALE 1.01
|
|
param set CAL_ACC0_ZSCALE 1.01
|
|
param set CAL_ACC1_XOFF 0.01
|
|
param set CAL_MAG0_XOFF 0.01
|
|
param set MPC_XY_P 0.4
|
|
param set MPC_XY_VEL_P 0.2
|
|
param set MPC_XY_VEL_D 0.005
|
|
param set COM_RC_IN_MODE 1
|
|
param set COM_DL_LOSS_EN 1
|
|
rgbled start
|
|
tone_alarm start
|
|
gyrosim start
|
|
accelsim start
|
|
barosim start
|
|
adcsim start
|
|
gpssim start
|
|
measairspeedsim start
|
|
pwm_out_sim mode_pwm
|
|
sleep 1
|
|
sensors start
|
|
commander start
|
|
land_detector start fixedwing
|
|
navigator start
|
|
ekf_att_pos_estimator start
|
|
fw_att_control start
|
|
fw_pos_control_l1 start
|
|
mixer load /dev/pwm_output0 ../../../../ROMFS/px4fmu_common/mixers/IO_pass.main.mix
|
|
mavlink start -u 14556 -r 60000
|
|
mavlink stream -r 50 -s POSITION_TARGET_LOCAL_NED -u 14556
|
|
mavlink stream -r 50 -s LOCAL_POSITION_NED -u 14556
|
|
mavlink stream -r 50 -s ATTITUDE -u 14556
|
|
mavlink stream -r 50 -s ATTITUDE_TARGET -u 14556
|
|
mavlink boot_complete
|
|
sdlog2 start -r 100 -e -t -a
|