works on humble
This commit is contained in:
@@ -34,11 +34,33 @@ def generate_launch_description():
|
||||
parameters=[
|
||||
{"fire_ext_max_capacity": 100},
|
||||
],
|
||||
remappings=[
|
||||
('image', '/camera_node/image_raw')
|
||||
]
|
||||
)
|
||||
|
||||
camera_node = Node(
|
||||
package='camera_ros',
|
||||
executable='camera_node',
|
||||
name='camera_node',
|
||||
#namespace='camera',
|
||||
output='screen',
|
||||
parameters=[{
|
||||
# Camera selection index (0 for the first detected libcamera device)
|
||||
'camera': 0,
|
||||
# Image streams configuration
|
||||
'width': 640,
|
||||
'height': 480,
|
||||
'frame_rate': 10.0,
|
||||
# Available options depend on your camera (e.g., 'sensor', 'video', 'still')
|
||||
'role': 'video',
|
||||
}]
|
||||
)
|
||||
|
||||
return LaunchDescription(
|
||||
launch_args
|
||||
+ [
|
||||
base_gesture_control_node,
|
||||
camera_node
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user