ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rviz ardrone

asked 2012-01-09 04:43:42 -0500

metal gravatar image

updated 2012-01-09 04:44:34 -0500

Hello guys, I am trying to get the video feed of ardrone to the rviz

The situation is that Rviz is not able to get the camera feed from the ardrone. It says the following:

Camerainfo: no camerainfo received on [ /ardrone/camera_info] topic may not exsist transform : For frame []: Fixed Frame[/world] does not exist image topic: /ardrone/image_raw

but when i execute

rostopic list

I get

/ardrone/camera_info

/ardrone/image_raw

/ardrone/image_raw/compressed

/ardrone/image_raw/compressed/parameter_descriptions

/ardrone/image_raw/compressed/parameter_updates

/ardrone/image_raw/theora

/ardrone/image_raw/theora/parameter_descriptions

/ardrone/image_raw/theora/parameter_updates

/ardrone/land

/ardrone/navdata

/ardrone/reset

/ardrone/takeoff

/ardrone/togglecam

/cmd_vel

/rosout

/rosout_agg

The topic ardrone/camera_info does exist but RVIZ is not able to see that.Like wise this is the case when i tried to access the usb cam or system integrated cam.In all of the cases the rviz says that it is void of camera info topic even though its running clear

any help would be greatly appreciated.

thanks!!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-01-13 10:55:46 -0500

metal gravatar image

updated 2012-01-14 06:08:04 -0500

The reason is that the display parameter chosen should be "IMAGE" and choose the topic "ardron e" from the drop down and the image will be displayed in a window.

edit flag offensive delete link more

Comments

The Camera display assumes a camera_info topic is available and attempts to overall other data onto the image using the CameraInfo. The Image display type does not use CameraInfo and is suitable for displaying raw, unrectified images (similar to the image_view tool).
Eric Perko gravatar image Eric Perko  ( 2012-01-15 10:21:01 -0500 )edit
0

answered 2012-01-09 04:53:31 -0500

I think this is because your target frame is blank in rviz. Try setting the target frame to something from the dropdown. Alternatively, you can verify you're getting data using image_view:

rosrun image_view image_view image:=/ardrone/image_raw
edit flag offensive delete link more

Comments

yes I am getting proper video feed from the AR DRONE ,and I tried accessing rviz while I am getting video feed from the ardrone and RVIZ is not able to get the feed.
metal gravatar image metal  ( 2012-01-09 06:19:48 -0500 )edit
Did you check that it's possible to lookup the transform between your fixed frame and target frame? From your original post, it looks like your fixed frame is /world, and target frame is blank. Without a valid transform, rviz isn't able to display anything.
Dan Lazewatsky gravatar image Dan Lazewatsky  ( 2012-01-09 08:01:39 -0500 )edit
DLAZ, i am not getting you.how should I specify my target frame ? and this is what the transform parameter says: Transform [sender=/ardrone_publisher] For frame []: Fixed Frame [/world] does not exist . i am missing something simple i see.any suggestions pls..
metal gravatar image metal  ( 2012-01-09 08:23:59 -0500 )edit
Under global options (by default in the top left), there are fields for "fixed frame" and "target frame." These are what I'm referring to. They're described in more detail in the rviz user guide: http://www.ros.org/wiki/rviz/UserGuide#Coordinate_Frames
Dan Lazewatsky gravatar image Dan Lazewatsky  ( 2012-01-09 08:30:55 -0500 )edit
As of now my target frame is <Fixed frame >and my fixed frame is /world. In the drop down for the target frame ,i am not getting any list at all..its blank.
metal gravatar image metal  ( 2012-01-10 03:33:08 -0500 )edit
0

answered 2012-01-09 04:52:56 -0500

DimitriProsser gravatar image

It seems as if you're receiving a transform error. It says that the frame_id is blank, and you're trying to transform it to the /world frame.

edit flag offensive delete link more

Comments

[ WARN] [1326146324.449279010]: MessageFilter [target=/world ]: Discarding message from [/ardrone_publisher] due to empty frame_id. This message will only print once. ya it says the image id is blank,but the i am getting crystal clear video feed from the ardrone and i am not sure why rviz is not able to see that.
metal gravatar image metal  ( 2012-01-09 08:01:37 -0500 )edit
Whatever node you are using to convert the video stream to a ROS message should fill in the frame_id. If it doesn't, you can fix that to resolve this issue.
DimitriProsser gravatar image DimitriProsser  ( 2012-01-09 08:28:59 -0500 )edit
dimitri how do i make sure that the frame_id is filled . here is the list of the following nodes:
metal gravatar image metal  ( 2012-01-12 16:24:32 -0500 )edit

Question Tools

Stats

Asked: 2012-01-09 04:43:42 -0500

Seen: 2,781 times

Last updated: Jan 14 '12