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

Robot "Headlights" in Gazebo

asked 2012-05-10 07:57:19 -0600

DimitriProsser gravatar image

Is it possible to include headlights (or any type of mounted lighting fixture) on your robot model in Gazebo?

edit retag flag offensive close merge delete


Good question! It's a shame nobody seems to know the answer... maybe it would help to figure out how the simulated Prosilica pattern projector on the PR2 works (it seems to be "kind of" a light source, right?)

Martin Günther gravatar image Martin Günther  ( 2012-05-12 22:47:52 -0600 )edit

There is a gazebo_plugin called gazebo_ros_projector that looks like it may perform this function. It appears to add an extra rendering pass to the scene to aplly such a texture.

JonW gravatar image JonW  ( 2012-06-03 16:13:13 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-08-21 10:18:41 -0600

lucasw gravatar image

updated 2017-06-15 13:12:42 -0600

See and

It looks like it has been recently added (updating this mid 2017), though I'm not sure which version of gazebo and ROS it will be available in (compiling gazebo from source could address that).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-05-10 07:57:19 -0600

Seen: 1,209 times

Last updated: Jun 15 '17