mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 17:36:40 +08:00
ekf2 replay: refactor to use unified rcS scripts
This commit is contained in:
@@ -36,19 +36,6 @@ then
|
||||
model="iris"
|
||||
fi
|
||||
|
||||
# check replay mode
|
||||
if [ "$replay_mode" == "ekf2" ]
|
||||
then
|
||||
model="iris_replay"
|
||||
# create the publisher rules
|
||||
publisher_rules_file="$rootfs/orb_publisher.rules"
|
||||
cat <<EOF > "$publisher_rules_file"
|
||||
restrict_topics: sensor_combined, vehicle_gps_position, vehicle_land_detected
|
||||
module: replay
|
||||
ignore_others: false
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ "$#" -lt 7 ]
|
||||
then
|
||||
echo usage: sitl_run.sh sitl_bin rcS_path debugger program model src_path build_path
|
||||
|
||||
Reference in New Issue
Block a user