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

Simulate camera with stage + rviz?

asked 2011-10-04 21:21:28 -0500

jlo gravatar image

updated 2011-10-04 21:38:20 -0500

Hi, I was able to follow this tutorial successfully (simulating one robot with stage + rviz), so my next step would be, how could I simulate a camera in the robot? I can add it in rviz, but there's no image source for it to be found. Is there any way I can include it somehow?

Thanks,

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
2

answered 2011-10-04 21:37:39 -0500

updated 2011-10-04 21:39:52 -0500

Stage is a 2D simulator, so there is no way to simulate a camera. You should try Gazebo instead. There's a tutorial how to add a camera to your URDF here.

edit flag offensive delete link more
2

answered 2012-11-01 20:17:04 -0500

SL Remy gravatar image
edit flag offensive delete link more
0

answered 2012-11-15 08:28:26 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi guys!

I've seen that appear a patch on the ticket page to add camera to rosstage. I've modified my rosstage.cpp as suggested, and now a topic publish camera images. But i've noticed that now the simulatore has some problems of speed (i think that the publushing slows the simulator enviroment)

Anyone has tried this??

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2011-10-04 21:21:28 -0500

Seen: 1,539 times

Last updated: Nov 15 '12