Skip to content

Commit

Permalink
choices to root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Oct 19, 2023
1 parent b1f5005 commit 3830546
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions rosbot_xl_bringup/launch/bringup.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ def generate_launch_description():
declare_lidar_model_arg = DeclareLaunchArgument(
"lidar_model",
default_value="slamtec_rplidar_s1",
description="Lidar model added to the URDF",
description="Add LiDAR model to the robot URDF",
)

camera_model = LaunchConfiguration("camera_model")
declare_camera_model_arg = DeclareLaunchArgument(
"camera_model",
default_value="None",
description="Camera model added to the URDF",
description="Add camera model to the robot URDF",
)

include_camera_mount = LaunchConfiguration("include_camera_mount")
Expand Down Expand Up @@ -115,4 +115,4 @@ def generate_launch_description():
laser_filter_node,
]

return LaunchDescription(actions)
return LaunchDescription(actions)
23 changes: 20 additions & 3 deletions rosbot_xl_controller/launch/controller.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,31 @@ def generate_launch_description():
declare_lidar_model_arg = DeclareLaunchArgument(
"lidar_model",
default_value="slamtec_rplidar_s1",
description="Lidar model added to the URDF",
description="Add LiDAR model to the robot URDF",
choices=[
"None",
"slamtec_rplidar_s1",
"slamtec_rplidar_a2",
"slamtec_rplidar_a3",
"velodyne_puck",
],
)

camera_model = LaunchConfiguration("camera_model")
declare_camera_model_arg = DeclareLaunchArgument(
"camera_model",
default_value="None",
description="Camera model added to the URDF",
description="Add camera model to the robot URDF",
choices=[
"None",
"intel_realsense_d435",
"stereolabs_zed",
"stereolabs_zedm",
"stereolabs_zed2",
"stereolabs_zed2i",
"stereolabs_zedx",
"stereolabs_zedxm",
],
)

include_camera_mount = LaunchConfiguration("include_camera_mount")
Expand Down Expand Up @@ -218,4 +235,4 @@ def generate_launch_description():
delay_imu_broadcaster_spawner_after_robot_controller_spawner,
]

return LaunchDescription(actions)
return LaunchDescription(actions)
21 changes: 2 additions & 19 deletions rosbot_xl_gazebo/launch/simulation.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,14 @@ def generate_launch_description():
declare_lidar_model_arg = DeclareLaunchArgument(
"lidar_model",
default_value="slamtec_rplidar_s1",
description=f"Add LiDAR model to the robot URDF",
choices=[
"None",
"slamtec_rplidar_s1",
"slamtec_rplidar_a2",
"slamtec_rplidar_a3",
"velodyne_puck",
],
description="Add LiDAR model to the robot URDF",
)

camera_model = LaunchConfiguration("camera_model")
declare_camera_model_arg = DeclareLaunchArgument(
"camera_model",
default_value="intel_realsense_d435",
description=f"Add camera model to the robot URDF model",
choices=[
"None",
"intel_realsense_d435",
"stereolabs_zed",
"stereolabs_zedm",
"stereolabs_zed2",
"stereolabs_zed2i",
"stereolabs_zedx",
"stereolabs_zedxm",
],
description="Add camera model to the robot URDF model",
)

include_camera_mount = LaunchConfiguration("include_camera_mount")
Expand Down

0 comments on commit 3830546

Please sign in to comment.