mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Update bebop configuration and use parameters
This commit is contained in:
parent
cc0d28e59b
commit
83ec092b46
@ -31,6 +31,7 @@ echo "Connection successfully established"
|
||||
sleep 1
|
||||
|
||||
adb shell mount -o remount,rw /
|
||||
adb shell touch /home/root/parameters
|
||||
|
||||
../Tools/adb_upload.sh $@
|
||||
|
||||
|
||||
@ -1,15 +1,12 @@
|
||||
uorb start
|
||||
param select /home/root/parameters
|
||||
param load
|
||||
param set SYS_AUTOSTART 4001
|
||||
param set MAV_BROADCAST 1
|
||||
df_ms5607_wrapper start
|
||||
sleep 1
|
||||
param set MAV_TYPE 2
|
||||
sensors start
|
||||
commander start
|
||||
ekf2 start
|
||||
land_detector start multicopter
|
||||
mc_pos_control start
|
||||
mc_att_control start
|
||||
mavlink start -u 14556 -r 1000000
|
||||
sleep 1
|
||||
mavlink stream -u 14556 -s HIGHRES_IMU -r 50
|
||||
mavlink stream -u 14556 -s ATTITUDE -r 50
|
||||
mavlink stream -u 14556 -s ALTITUDE -r 1
|
||||
mavlink boot_complete
|
||||
|
||||
@ -162,6 +162,8 @@ __END_DECLS
|
||||
#define PX4_ROOTFSDIR
|
||||
#elif defined(__PX4_POSIX_EAGLE)
|
||||
#define PX4_ROOTFSDIR "/home/linaro"
|
||||
#elif defined(__PX4_POSIX_BEBOP)
|
||||
#define PX4_ROOTFSDIR "/home/root"
|
||||
#else
|
||||
#define PX4_ROOTFSDIR "rootfs"
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user