Niryo robot vision
This package is the one dealing with all vision related stuff.
It is made of several services to deal with video streaming, object detection… It also works in simulation with gazebo.
It belongs to the ROS namespace: /niryo_robot_vision
.
Package Documentation
ROS topics
Publishers
Topic Name |
Type |
Description |
---|---|---|
/niryo_robot_vision/compressed_video_stream |
Publish camera video stream as compressed images |
|
/niryo_robot_vision/visualization_marker |
N/A |
|
/rosout |
N/A |
|
/niryo_robot_vision/video_stream_parameters |
Publish the brightness, contrast and saturation settings of the video stream |
|
/niryo_robot_vision/video_stream_is_active |
Whether the video stream is active or not |
|
/niryo_robot_vision/visualization_marker |
Publish visual markers for Rviz |
|
/niryo_robot_vision/camera_intrinsics |
Publish camera’s intrinsic parameters |
Subscribers
Topic Name |
Type |
Description |
---|---|---|
/gazebo_camera/camera_info |
N/A |
ROS Services
Service Name |
Type |
Description |
---|---|---|
/niryo_robot_vision/get_loggers |
roscpp/GetLoggers |
N/A |
/niryo_robot_vision/obj_detection_rel |
N/A |
|
/niryo_robot_vision/set_logger_level |
roscpp/SetLoggerLevel |
N/A |
/niryo_robot_vision/debug_colors |
Get a masked image showing only detected pixels of the given color |
|
/niryo_robot_vision/debug_markers |
Get an image highlighting detected markers |
|
/niryo_robot_vision/set_brightness |
Set the brightness of the video stream |
|
/niryo_robot_vision/set_contrast |
Set the contrast of the video stream |
|
/niryo_robot_vision/set_saturation |
Set the saturation of the video stream |
|
/niryo_robot_vision/start_stop_video_streaming |
Start or stop the video stream |
|
/niryo_robot_vision/take_picture |
Take a picture and save it to the corresponding path |
|
/niryo_robot_vision/visualization |
Add visuals markers of objects detected by the robot’s camera to Rviz |
ROS Parameters
Parameter Name |
Default value |
Simulation value |
Unit |
Description |
---|---|---|---|---|
/niryo_robot_vision/camera_port |
-1 |
N/A |
int |
Port of the camera |
/niryo_robot_vision/debug_compression_quality |
70 |
N/A |
percentage |
Quality of the debug image compression |
/niryo_robot_vision/display |
False |
N/A |
bool |
Whether the video stream should be displayed on the computer or not |
/niryo_robot_vision/flip_img |
True |
N/A |
bool |
Whether the image should be flipped or not |
/niryo_robot_vision/frame_rate |
15 |
N/A |
Hz |
Frame rate of the video stream |
/niryo_robot_vision/frame_size |
[640, 480] |
N/A |
pixels |
Resolution of the video stream |
/niryo_robot_vision/hardware_version |
ned2 |
N/A |
string |
Hardware version of the robot |
/niryo_robot_vision/is_active_rate |
2.0 |
N/A |
seconds |
Rate at which the video stream is checked to be active |
/niryo_robot_vision/log_level |
INFO |
N/A |
N/A |
N/A |
/niryo_robot_vision/max_restart_time |
120.0 |
N/A |
seconds |
Maximum time before stopping to restart the video stream |
/niryo_robot_vision/obj_calib_name |
cam_intrinsics |
N/A |
string |
Calibration yaml file name |
/niryo_robot_vision/restart_rate |
0.2 |
N/A |
N/A |
N/A |
/niryo_robot_vision/simulation_mode |
True |
N/A |
bool |
Whether the vision node is in simulation mode or not |
/niryo_robot_vision/stream_compression_quality |
55 |
N/A |
percentage |
Quality of the video stream compression |
/niryo_robot_vision/subsampling |
3 |
N/A |
int |
Subsampling factor of the video stream |
/niryo_robot_vision/undistort_stream |
False |
N/A |
bool |
Whether the video stream should be undistorted or not |
ROS Action
Namespace: None