You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.9 KiB
80 lines
1.9 KiB
uorb start |
|
param set CAL_GYRO0_ID 2293760 |
|
param set CAL_ACC0_ID 1310720 |
|
param set CAL_ACC1_ID 1376256 |
|
param set CAL_MAG0_ID 196608 |
|
commander start |
|
param set RC_RECEIVER_TYPE 1 |
|
rc_receiver start -D /dev/tty-1 |
|
attitude_estimator_q start |
|
position_estimator_inav start |
|
mc_pos_control start |
|
mc_att_control start |
|
sleep 1 |
|
param set SYS_AUTOSTART 4001 |
|
param set SYS_AUTOCONFIG 1 |
|
param set MAV_TYPE 2 |
|
param set RC_MAP_THROTTLE 1 |
|
param set RC_MAP_ROLL 2 |
|
param set RC_MAP_PITCH 3 |
|
param set RC_MAP_YAW 4 |
|
param set RC_MAP_MODE_SW 5 |
|
param set RC_MAP_POSCTL_SW 6 |
|
param set RC1_MAX 1900 |
|
param set RC1_MIN 1099 |
|
param set RC1_TRIM 1099 |
|
param set RC1_REV 1 |
|
param set RC2_MAX 1900 |
|
param set RC2_MIN 1099 |
|
param set RC2_TRIM 1500 |
|
param set RC2_REV -1 |
|
param set RC3_MAX 1900 |
|
param set RC3_MIN 1099 |
|
param set RC3_TRIM 1500 |
|
param set RC3_REV 1 |
|
param set RC4_MAX 1900 |
|
param set RC4_MIN 1099 |
|
param set RC4_TRIM 1500 |
|
param set RC4_REV -1 |
|
param set RC5_MAX 1900 |
|
param set RC5_MIN 1099 |
|
param set RC5_TRIM 1500 |
|
param set RC5_REV 1 |
|
param set RC6_MAX 1900 |
|
param set RC6_MIN 1099 |
|
param set RC6_TRIM 1099 |
|
param set RC6_REV 1 |
|
sensors start |
|
param set MC_YAW_P 7.0 |
|
param set MC_YAWRATE_P 0.08 |
|
param set MC_YAWRATE_I 0.0 |
|
param set MC_YAWRATE_D 0 |
|
param set MC_PITCH_P 7.0 |
|
param set MC_PITCHRATE_P 0.08 |
|
param set MC_PITCHRATE_I 0.0 |
|
param set MC_PITCHRATE_D 0.0001 |
|
param set MC_ROLL_P 7.0 |
|
param set MC_ROLLRATE_P 0.08 |
|
param set MC_ROLLRATE_I 0.0 |
|
param set MC_ROLLRATE_D 0.0001 |
|
param set ATT_W_MAG 0.00 |
|
param set PE_MAG_NOISE 1.0f |
|
param set SENS_BOARD_ROT 6 |
|
param set MPU_GYRO_LPF_ENUM 4 |
|
param set MPU_ACC_LPF_ENUM 4 |
|
param set MPU_SAMPLE_RATE_ENUM 2 |
|
sleep 1 |
|
mpu9x50 start -D /dev/spi-1 |
|
param set UART_ESC_MODEL 0 |
|
param set UART_ESC_BAUDRATE 250000 |
|
param set UART_ESC_PX4MOTOR1 2 |
|
param set UART_ESC_PX4MOTOR2 4 |
|
param set UART_ESC_PX4MOTOR3 1 |
|
param set UART_ESC_PX4MOTOR4 3 |
|
sleep 1 |
|
uart_esc start -D /dev/tty-2 |
|
csr_gps start -D /dev/tty-3 |
|
list_devices |
|
list_files |
|
list_tasks |
|
list_topics
|
|
|