These packages and developed using ROS dashing on Ubuntu 18.04. For ROS2 foxy or others, see notes below.
use the following command to launch the main camera on rb5
ros2 launch rb5_ros2_vision rb_camera_main_ocv.launch
make sure that 'use_rb_cam' parameter is set to true.
use the following command to launch on a webcam
ros2 launch rb5_ros2_vision rb_camera_webcam_ocv.launch
make sure that 'use_rb_cam' parameter is set to false.
If 'image_rectify' is set to true, make sure you set the 'camera_parameter_path' correctly to a xml or yaml/yml file. (tested on yaml) Notice that newer versions of opencv saves matrices with 'dt' representing data type. Also the file must start with the yaml version.
- In launch files, dashing uses node_executable while foxy uses executable.
- Dashing doesn't support command line arguements.