mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:58:53 +08:00
previously, get_devname() was used as the I2C device path, but on NuttX, get_devname() is the device file which the driver creates. This patch changes it, so the sematics are the same as on NuttX: both now use _bus to decide to which I2C bus device to talk to. I did not see any other use-cases than the led on ocpoc.
34 lines
816 B
Plaintext
34 lines
816 B
Plaintext
uorb start
|
|
|
|
param select /home/root/rootfs/eeprom/parameters
|
|
param load
|
|
param set SYS_AUTOSTART 4001
|
|
param set MAV_BROADCAST 1
|
|
param set MAV_TYPE 2
|
|
param set MAV_SYS_ID 1
|
|
param set SYS_MC_EST_GROUP 2
|
|
|
|
df_mpu9250_wrapper start_without_mag -R 10
|
|
df_hmc5883_wrapper start
|
|
df_ms5611_wrapper start
|
|
rgbled start -b 1
|
|
ocpoc_adc start
|
|
gps start -d /dev/ttyS5 -s
|
|
sensors start
|
|
commander start
|
|
navigator start
|
|
dataman start
|
|
ekf2 start
|
|
land_detector start multicopter
|
|
mc_pos_control start
|
|
mc_att_control start
|
|
|
|
mavlink start -d /dev/ttyPS1
|
|
mavlink stream -d /dev/ttyPS1 -s HIGHRES_IMU -r 50
|
|
mavlink stream -d /dev/ttyPS1 -s ATTITUDE -r 50
|
|
|
|
ocpoc_sbus_rc_in start
|
|
linux_pwm_out start -p ocpoc_mmap -m ROMFS/px4fmu_common/mixers/ocpoc_quad_x.main.mix
|
|
logger start -t -b 200
|
|
mavlink boot_complete
|