Skip to content

Commit

Permalink
camera_downwardがtrueのときRGBカメラが斜め下を向くように変更 (#75)
Browse files Browse the repository at this point in the history
* camera_downwardがtrueのときRGBカメラが斜め下を向くように変更

* camera_downwardの説明を修正

Co-authored-by: Shota Aoki <[email protected]>

---------

Co-authored-by: Shota Aoki <[email protected]>
  • Loading branch information
YusukeKato and Shota Aoki authored Nov 21, 2023
1 parent 78b5a51 commit 825e683
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit 825e683

Please sign in to comment.