From 5a208cf5c4dd841262567073b6c7c81da83f825c Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Fri, 23 Feb 2024 16:11:25 +0100 Subject: [PATCH] added px4 sdcard configs --- .../pixhawk_sdcard_config/pixhawk_4/etc/extras.txt | 12 ++++++++++++ .../pixhawk_6x_6c/etc/extras.txt | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 miscellaneous/pixhawk_sdcard_config/pixhawk_4/etc/extras.txt create mode 100644 miscellaneous/pixhawk_sdcard_config/pixhawk_6x_6c/etc/extras.txt diff --git a/miscellaneous/pixhawk_sdcard_config/pixhawk_4/etc/extras.txt b/miscellaneous/pixhawk_sdcard_config/pixhawk_4/etc/extras.txt new file mode 100644 index 0000000..2215181 --- /dev/null +++ b/miscellaneous/pixhawk_sdcard_config/pixhawk_4/etc/extras.txt @@ -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 diff --git a/miscellaneous/pixhawk_sdcard_config/pixhawk_6x_6c/etc/extras.txt b/miscellaneous/pixhawk_sdcard_config/pixhawk_6x_6c/etc/extras.txt new file mode 100644 index 0000000..00d6043 --- /dev/null +++ b/miscellaneous/pixhawk_sdcard_config/pixhawk_6x_6c/etc/extras.txt @@ -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