Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera_downwardがtrueのときRGBカメラが斜め下を向くように変更 #75

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions raspimouse_gazebo/launch/raspimouse_with_emptyworld.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def generate_launch_description():
'use_rgb_camera',
default_value='false',
description='Set "true" to mount rgb camera.')
declare_arg_camera_downward = DeclareLaunchArgument(
'camera_downward',
default_value='false',
description='Set "true" to point the camera downwards.')
declare_arg_world_name = DeclareLaunchArgument(
'world_name',
default_value=get_package_share_directory('raspimouse_gazebo')+'/worlds/empty_world.sdf',
Expand Down Expand Up @@ -94,6 +98,7 @@ def generate_launch_description():
description_loader.lidar_frame = LaunchConfiguration('lidar_frame')
description_loader.use_gazebo = 'true'
description_loader.use_rgb_camera = LaunchConfiguration('use_rgb_camera')
description_loader.camera_downward = LaunchConfiguration('camera_downward')
description_loader.gz_control_config_package = 'raspimouse_gazebo'
description_loader.gz_control_config_file_path = 'config/raspimouse_controllers.yaml'

Expand Down Expand Up @@ -154,6 +159,7 @@ def generate_launch_description():
declare_arg_lidar,
declare_arg_lidar_frame,
declare_arg_use_rgb_camera,
declare_arg_camera_downward,
declare_arg_world_name,
declare_arg_spawn_x,
declare_arg_spawn_y,
Expand Down