ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Follow the suggestion of @joq, these are the commands used to run image_proc nodelets properly:
1)
export GSCAM_CONFIG="v4l2src num-buffers=-1 device=/dev/video1 caps=\"video/x-raw-yuv,width=640,height=480,format=(fourcc)YUY2\" ! ffmpegcolorspace"
roscd gscam
cd bin
rosrun gscam gscam
2)
export ROS_NAMESPACE=/gscam
rosrun image_proc image_proc
3)
rosrun nodelet nodelet standalone image_proc/crop_decimate _x_offset=0 _y_offset=0 _width=638 _height=438 /camera/image_raw:=gscam/image_rect_color /camera/image_info:=gscam/camera_info
4)
rosrun mbn_visualizer mbn_visualizer /image_topic:=camera_out/image_raw