-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update qos and add detector_hue launch
- Loading branch information
1 parent
09fca7c
commit 78f6a9e
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import os | ||
|
||
from ament_index_python.packages import get_package_share_directory | ||
|
||
from launch import LaunchDescription | ||
from launch_ros.actions import ComposableNodeContainer | ||
from launch_ros.descriptions import ComposableNode | ||
|
||
def generate_launch_description(): | ||
container = ComposableNodeContainer( | ||
name='detector_container', | ||
namespace='', | ||
package='rclcpp_components', | ||
executable='component_container', | ||
composable_node_descriptions=[ | ||
# ComposableNode( | ||
# package='realsense2_camera', | ||
# plugin='realsense2_camera::RealSenseNodeFactory', | ||
# name='realsense2_camera', | ||
# namespace='', | ||
# parameters=[{ | ||
# 'align_depth.enable': True, | ||
# 'enable_color': True, | ||
# 'enable_depth': True | ||
# }] | ||
# ), | ||
ComposableNode( | ||
package='detector2d_node', | ||
plugin='detector2d_node::Detector2dNode', | ||
name='detector2d_node', | ||
namespace='', | ||
parameters=[{ | ||
'load_target_plugin': 'detector2d_plugins::PanelSimpleDetector', | ||
'debug': True | ||
}], | ||
remappings=[ | ||
('image_raw', 'blue/camera/image_raw') | ||
] | ||
) | ||
] | ||
) | ||
|
||
return LaunchDescription([ | ||
container | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters