Tools: ros2: Reformat

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2024-09-05 17:46:27 -06:00 committed by Peter Barker
parent d6cfc392a2
commit c16fee3f47
2 changed files with 4 additions and 9 deletions

View File

@ -35,6 +35,7 @@ TRUE_STRING = "True"
FALSE_STRING = "False" FALSE_STRING = "False"
BOOL_STRING_CHOICES = set([TRUE_STRING, FALSE_STRING]) BOOL_STRING_CHOICES = set([TRUE_STRING, FALSE_STRING])
class VirtualPortsLaunch: class VirtualPortsLaunch:
"""Launch functions for creating virtual ports using `socat`.""" """Launch functions for creating virtual ports using `socat`."""
@ -369,16 +370,10 @@ class MAVProxyLaunch:
description="SITL output port.", description="SITL output port.",
), ),
DeclareLaunchArgument( DeclareLaunchArgument(
"map", "map", default_value="False", description="Enable MAVProxy Map.", choices=BOOL_STRING_CHOICES
default_value="False",
description="Enable MAVProxy Map.",
choices=BOOL_STRING_CHOICES
), ),
DeclareLaunchArgument( DeclareLaunchArgument(
"console", "console", default_value="False", description="Enable MAVProxy Console.", choices=BOOL_STRING_CHOICES
default_value="False",
description="Enable MAVProxy Console.",
choices=BOOL_STRING_CHOICES
), ),
] ]