Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing all 139 articles
Browse latest View live
↧

No camera image in RVIZ?

I am using ROS Indigo on Ubuntu 14.04LTS. Previously I am using my camera with RVIZ with no problem but today when I try to run my system as usual, the camera panel of RVIZ does not display my image...

View Article


Issue with usb_cam: select timeout yuyv usb_cam package

Hello, so my issue has to do with the yuyv pixel format in the usb_cam package. My launch file and everything works well with mjpeg and I can't understand why. I have installed and reinstalled OpenCV...

View Article


hector quadrotor is publishing greyscale image

Hello, I am using hector_quadrotor in Jade, and in the middle of my simulation the Hector Forward Cam starts do publish a greyScale image. If I modify thet world inserting a Husky, for example. Can you...

View Article

how to modify and publish camera_info?

Hello. I would like to make a cropped image from raw image in python. In my program, I can subscribe `/usb_cam/image_raw` (`sensor_msgs/Image`, height=480, width=640) and `/usb_cam/camera_info`...

View Article

How can I add a floorplan image in rviz?

I would like to be able to add a floorplan image in rviz simply to debug localization. My map is feature-based, so the image would have no other purpose than to make visualization richer. Is it...

View Article


RGB and Depth sensor_msgs::Image vs XYZRGB sensor_msgs::PointCloud2

Hello, So I have ROS running across multiple machines on a limited network, and I have two possibilities, transfer a XYZRGB sensor_msgs::PointCloud2 directly or two sensor_msgs::Image (one rgb and one...

View Article

Sensor image convert and comparision using opencv

Hello All, I want to compare two(or more) consecutive image to detect movement. I am using ros indigo, ubuntu 14.04 and having kinect cam. I am subscribing the topic /camera/depth/image_raw and getting...

View Article

How can i get object distance using camera/depth/image_raw

Hello all, I am using the ros topic /camera/depth/image_raw. It publish sensor_msgs::image data with depth information. I can get the image but I do not exactly how can i get depth information. I need...

View Article


Rviz: Display image in 3D scene

Hi For a visual odometry project I'm using Rviz to display what my filter is doing. I.e. I'm displaying the current camera pose, the path the camera has taken and the features it is tracking as a...

View Article


How to use sensor_msgs/Image message?

Hi - I'm a beginner on ROS. - I want to use a topic "/usb_cam/image_raw". (this topic is usb_cam package) - So I made a package, and a Subscriber. - However, there is still error in the catkin_make...

View Article

ERROR: Advertise a service already advertised in this node

Folks, I am subscribing to a compressed image published (or republished) by image_proc (it takes my rgb_raw, and publishes rectified rgb and mono images, including compressed versions). But when I...

View Article

Writing a Simple Image Publisher (C++) tutorial does not compile

I am running ROS Kinetic on a Raspberry Pi 3 with Debian-Jessie operating system. The tutorial is here: http://wiki.ros.org/image_transport/Tutorials/PublishingImages I follow all the steps exactly....

View Article

Writing a Simple Image Publisher (C++) tutorial Segmentation Fault

I am running ROS Kinetic full desktop install on Raspberrypi 3b running Debian Jessie. These are fresh installs with nothing else added. I followed the Simple Image Publisher/Subscriber tutorials and...

View Article


Regression with indigo, freenect and depth images?

Hello all, Up to a few months ago I used a kinect with depth images the following way: roslaunch freenect_launch freenect.launch rosrun image_view image_view image:=/camera/rgb/image_raw rosrun...

View Article

Store Published Image into cv2.VideoCapture()-Like Object

Folks, How can I store published images into a video-like OpenCV object, without having to create a video file (e.g. .mp4) first? Does not have to be a VideoCapture() object, but just any object that...

View Article


rosbag Image Decompression With API

Folks, My rosbags all have compressed image topics ONLY. I want to grab the images from my rosbag and decompressed them through the rosbag API (or through code, in general). I believe that should be a...

View Article

cv_bridge in a class leads to segfault when cv_ptr->image is accessed

Hi ROS friends, I'm having an issue where when I get my `const sensor_msgs::ImageConstPtr &msg` in my callback function, and do a ` cv_ptr = cv_bridge::toCvCopy(msg,...

View Article


how to save the displaying map and plotted data in rviz on an image file

Hey All, I use rviz for visualization of path planning. How do I save the displaying map and plotted paths traversed by the robot on an image file like png or jpeg? I need to import the plotted data...

View Article

How to correctly publish and receive cv::Mat using cv_bridge? (C++)

Hey everyone, I am having troubles converting a `cv::Mat` to a `sensor_msgs/Image`, publishing it and doing the reverse operation to regain the original `cv::Mat`. The `imshow()` function shows me the...

View Article

How to convert ROS image message to OpenCV image array(circle buffer)?

We usually use the below code to convert ROS image message to OpenCV image **cv_bridge::CvImagePtr cv_ptr; cv_ptr = cv_bridge::toCvCopy(msg, "bgr8"** I need save ROS image message to a circular buffer...

View Article
Browsing all 139 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>