Update bebop configuration and use parameters

This commit is contained in:
Michael Schaeuble 2016-06-19 16:55:06 +02:00 committed by Lorenz Meier
parent cc0d28e59b
commit 83ec092b46
3 changed files with 8 additions and 8 deletions

View File

@ -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 $@

View File

@ -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

View File

@ -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