Skip to content

Commit

Permalink
added px4 sdcard configs
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Feb 23, 2024
1 parent 10b7b81 commit 5a208cf
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions miscellaneous/pixhawk_sdcard_config/pixhawk_4/etc/extras.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
mavlink start -d /dev/ttyS2 -b 921600
mavlink stream -d /dev/ttyS2 -s ATTITUDE -r 100
mavlink stream -d /dev/ttyS2 -s ATTITUDE_TARGET -r 100
mavlink stream -d /dev/ttyS2 -s HIGHRES_IMU -r 100
mavlink stream -d /dev/ttyS2 -s RC_CHANNELS -r 10
mavlink stream -d /dev/ttyS2 -s LOCAL_POSITION_NED -r 100
mavlink stream -d /dev/ttyS2 -s GLOBAL_POSITION_INT -r 100
mavlink stream -d /dev/ttyS2 -s SYS_STATUS -r 10
mavlink stream -d /dev/ttyS2 -s DISTANCE_SENSOR -r 100
mavlink stream -d /dev/ttyS2 -s HEARTBEAT -r 100
mavlink stream -d /dev/ttyS2 -s UTM_GLOBAL_POSITION -r 1
usleep 100000
13 changes: 13 additions & 0 deletions miscellaneous/pixhawk_sdcard_config/pixhawk_6x_6c/etc/extras.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mavlink start -d /dev/ttyS1 -b 2000000
mavlink stream -d /dev/ttyS1 -s ATTITUDE -r 100
mavlink stream -d /dev/ttyS1 -s ATTITUDE_TARGET -r 100
mavlink stream -d /dev/ttyS1 -s HIGHRES_IMU -r 100
mavlink stream -d /dev/ttyS1 -s RC_CHANNELS -r 10
mavlink stream -d /dev/ttyS1 -s LOCAL_POSITION_NED -r 100
mavlink stream -d /dev/ttyS1 -s ODOMETRY -r 100
mavlink stream -d /dev/ttyS1 -s GLOBAL_POSITION_INT -r 100
mavlink stream -d /dev/ttyS1 -s SYS_STATUS -r 10
mavlink stream -d /dev/ttyS1 -s DISTANCE_SENSOR -r 100
mavlink stream -d /dev/ttyS1 -s HEARTBEAT -r 100
mavlink stream -d /dev/ttyS1 -s UTM_GLOBAL_POSITION -r 1
usleep 100000

0 comments on commit 5a208cf

Please sign in to comment.