Beat Küng
7 years ago
committed by
Daniel Agar
5 changed files with 40 additions and 28 deletions
@ -0,0 +1,18 @@
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/bash |
||||
|
||||
# EKF2 replay script |
||||
|
||||
publisher_rules_file="orb_publisher.rules" |
||||
cat <<EOF > "$publisher_rules_file" |
||||
restrict_topics: sensor_combined, vehicle_gps_position, vehicle_land_detected |
||||
module: replay |
||||
ignore_others: false |
||||
EOF |
||||
|
||||
uorb start |
||||
param set SDLOG_DIRS_MAX 7 |
||||
|
||||
ekf2 start -r |
||||
logger start -f -t -b 1000 -p vehicle_attitude |
||||
sleep 0.2 |
||||
replay start |
@ -1,13 +0,0 @@
@@ -1,13 +0,0 @@
|
||||
#!/usr/bin/bash |
||||
# PX4 commands need the 'px4-' prefix in bash. |
||||
# (px4-alias.sh is expected to be in the PATH) |
||||
source px4-alias.sh |
||||
|
||||
uorb start |
||||
param set SDLOG_DIRS_MAX 7 |
||||
|
||||
ekf2 start -r |
||||
logger start -f -t -b 1000 -p vehicle_attitude |
||||
sleep 0.2 |
||||
replay start |
||||
|
Loading…
Reference in new issue