Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

include light with unique name and pose not working!


I have created a file with light source as point for the purpose of spawning different lights with different names and poses, and the filename is in GAZEBO_MODEL_PATH environment variable.

The problem that I have, is when I include the model “light source” in the world file with a unique name and pose as following:

<include> <uri>model://Light_bulbs</uri> <name>light11</name> <pose>-1 0 0 0 0 0</pose> </include>

I only get the values of the name and pose property that are in the light_bulbs.sdf and not the unique name “light11” and pose in the include

this problem is only happen with light element. And not existed with other models.

Is there a way to solve it?

Thanks in advance!