We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traffic light model in gzweb cannot light up but it works in gazebo it seems to have a problem with the emissive tags
this is my traffic light mode script
<static>true</static> <!-- this pose can be overriden when including the light on another model --> <pose>0 0 1.0 0 0 0</pose> <link name="link"> <collision name="collision"> <geometry> <mesh> <uri>model://stop_light/meshes/stop_light.obj</uri> <scale>0.01 0.01 0.01</scale> </mesh> </geometry> </collision> <visual name="frame"> <geometry> <mesh> <uri>model://stop_light/meshes/stop_light.obj</uri> <scale>0.01 0.01 0.01</scale> </mesh> </geometry> </visual> <visual name="red"> <pose>-0.001123 -0.082251 -0.147514 0 0 0</pose> <geometry> <sphere> <radius>0.1012</radius> </sphere> </geometry> <material> <script> <uri>model://stop_light/materials/scripts/</uri> <uri>model://stop_light/materials/textures/</uri> <name>StopLight/Light</name> </script> <ambient>1 0 0 1</ambient> <specular>1 0 0 1</specular> <!-- Turn a light on by uncommenting emissive --> <!--emissive>1 0 0 1</emissive--> </material> </visual> <visual name="yellow"> <pose>-0.001123 -0.082251 -0.402 0 0 0</pose> <geometry> <sphere> <radius>0.1012</radius> </sphere> </geometry> <material> <script> <uri>model://stop_light/materials/scripts/</uri> <uri>model://stop_light/materials/textures/</uri> <name>StopLight/Light</name> </script> <ambient>1 1 0 1</ambient> <specular>1 1 0 1</specular> <!--emissive>1 1 0 1</emissive--> </material> </visual> <visual name="green"> <pose>-0.001123 -0.082251 -0.655 0 0 0</pose> <geometry> <sphere> <radius>0.1012</radius> </sphere> </geometry> <material> <script> <uri>model://stop_light/materials/scripts/</uri> <uri>model://stop_light/materials/textures/</uri> <name>StopLight/Light</name> </script> <ambient>0 1 0 1</ambient> <specular>0 1 0 1</specular> <emissive>0 1 0 1</emissive> </material> </visual> </link>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
traffic light model in gzweb cannot light up but it works in gazebo
it seems to have a problem with the emissive tags
this is my traffic light mode script
The text was updated successfully, but these errors were encountered: