Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewHWang1605 committed Jan 30, 2025
1 parent bd50b4e commit 7b42ae1
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions ff_drivers/launch/rs_d455.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,30 @@
from launch_ros.actions import Node, SetParameter, PushRosNamespace
from launch_ros.substitutions import FindPackageShare


def generate_launch_description():
robot_name = LaunchConfiguration("robot_name")
camera_name = LaunchConfiguration("camera_name")

launch_camera = IncludeLaunchDescription(
PythonLaunchDescriptionSource([
PathJoinSubstitution([
FindPackageShare('realsense2_camera'),
'launch',
'rs_launch.py'
])
]),
PythonLaunchDescriptionSource(
[
PathJoinSubstitution(
[FindPackageShare("realsense2_camera"), "launch", "rs_launch.py"]
)
]
),
launch_arguments={
"camera_name":camera_name,
"initial_reset":"True",
"rgb_camera.profile":"640x360x30",
"depth_module.profile":"640x360x30",
"rgb.enable_auto_white_balance":"False",
"rgb_enable_white_balance":"3800.0",
"rgb_enable_auto_exposure":"False",
"enable_infra1":"False",
"enable_infra2":"False",
}.items()
"camera_name": camera_name,
"initial_reset": "True",
"rgb_camera.profile": "640x360x30",
"depth_module.profile": "640x360x30",
"rgb.enable_auto_white_balance": "False",
"rgb_enable_white_balance": "3800.0",
"rgb_enable_auto_exposure": "False",
"enable_infra1": "False",
"enable_infra2": "False",
}.items(),
)

return LaunchDescription(
Expand All @@ -62,7 +63,6 @@ def generate_launch_description():
PushRosNamespace(robot_name),
launch_camera,
]
)
),
]
)

0 comments on commit 7b42ae1

Please sign in to comment.