From 658eea4ad6adc786bee174affb32fbe51beacd0a Mon Sep 17 00:00:00 2001 From: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> Date: Fri, 8 Nov 2024 02:35:08 -0700 Subject: [PATCH] Tools: Add mavcesium option to sim_vehicle.py Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com> --- Tools/autotest/sim_vehicle.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Tools/autotest/sim_vehicle.py b/Tools/autotest/sim_vehicle.py index 19dbbb5ee7cd3a..6096e6c64da6d7 100755 --- a/Tools/autotest/sim_vehicle.py +++ b/Tools/autotest/sim_vehicle.py @@ -964,6 +964,8 @@ def start_mavproxy(opts, stuff): cmd.extend(['--aircraft', opts.aircraft]) if opts.moddebug: cmd.append('--moddebug=%u' % opts.moddebug) + if opts.mavcesium: + cmd.append('--mavcesium') if opts.fresh_params: # these were built earlier: @@ -1373,6 +1375,11 @@ def generate_frame_help(): default=False, action='store_true', help="load map module on startup") +group.add_option("", "--mavcesium", + default=False, + action='store_true', + help="load MAVCesium module on startup") + group.add_option("", "--console", default=False, action='store_true',