cps_rmp220_support/launch/oakd.launch.py

24 lines
506 B
Python
Raw Normal View History

2023-09-21 09:11:04 +00:00
import os
from launch import LaunchDescription
from launch_ros.actions import Node
def generate_launch_description():
return LaunchDescription([
Node(
package='v4l2_camera',
executable='v4l2_camera_node',
output='screen',
namespace='camera',
parameters=[{
'image_size': [640,480],
'time_per_frame': [1, 6],
'camera_frame_id': 'camera_link_optical'
}]
)
])