Skip to content

Commit

Permalink
Tools: cx_vehicle_bundle: add missing --defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Dec 31, 2024
1 parent bcd2114 commit 4c8e21a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tools/autotest/cx_vehicle_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def main():
if defaults:
defaults = os.path.join(os.path.dirname(__file__), defaults)
defaults = os.path.abspath(defaults)
shutil.copy(defaults, frame_root)
shutil.copy(defaults, os.path.join(frame_root, "defaults.parm"))
# copy the scripts
script_patterns = frames[frame].get('scripts', [])
scripts_root = os.path.join(frame_root, 'scripts')
Expand All @@ -93,6 +93,7 @@ def main():
launch_line += ' -O 40.0594626,-88.5513292,206.0,0'
launch_line += ' --serial0 tcp:0'
launch_line += f' -M {frames[frame].get("model", frame)}'
launch_line += '--defaults=defaults.parm'
launch_line += '\r\n'
f.write(launch_line)

Expand Down

0 comments on commit 4c8e21a

Please sign in to comment.