mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2024-11-23 23:55:09 +00:00
24 lines
506 B
Python
24 lines
506 B
Python
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'
|
|
}]
|
|
)
|
|
])
|