ekf2 replay: allow user to change parameters

This commit is contained in:
Roman
2016-04-04 22:26:26 +02:00
parent 7352dc6f2e
commit bd4a0e30de
2 changed files with 54 additions and 0 deletions
+6
View File
@@ -86,6 +86,12 @@ elif [ "$program" == "replay" ] && [ "$no_sim" == "" ]
then
echo "Replaying logfile: $logfile"
# This is not a simulator, but a log file to replay
# Check if we need to creat a param file to allow user to change parameters
if ! [ -f "${build_path}/src/firmware/posix/rootfs/replay_params.txt" ]
then
touch ${build_path}/src/firmware/posix/rootfs/replay_params.txt
fi
fi
cd $build_path/src/firmware/posix