Infrared-RGB functionality https://github.com/plusone-robotics/realsense/pull/30 adds a ROS Parameter to enable itself, which is not available yet in the launch files in realsense2_camera pkg. Users have to define such a Parameter by themselves.
Approach
Add needed ROS Parameters.
Test
With roslaunch realsense2_camera rs_camera.launch enable_infra:=true enable_infra_rgb:=true, I was able to see /camera/infra/image_raw topic being published (without the change in this PR and the command args I didn't see it published).
FYI I used the following docker-compose config file and have Realsense driver running in the Docker container. Worked.
Problem
Infrared-RGB functionality https://github.com/plusone-robotics/realsense/pull/30 adds a ROS Parameter to enable itself, which is not available yet in the launch files in
realsense2_camera
pkg. Users have to define such a Parameter by themselves.Approach
Add needed ROS Parameters.
Test
With
roslaunch realsense2_camera rs_camera.launch enable_infra:=true enable_infra_rgb:=true
, I was able to see/camera/infra/image_raw
topic being published (without the change in this PR and the command args I didn't see it published).FYI I used the following docker-compose config file and have Realsense driver running in the Docker container. Worked.