Robotics StackExchange | Archived questions

InsertModelFile("model://sun")

I am trying to insert a "sun" light in the gazebo world. I am able to successfully use InsertModelFile("model://beer") but not InsertModelFile("model://sun"). Moreover, I am able to remove the sun light from the world by using RemoveModel("sun").

I am using gazebo7 and ROS kinetic on Ubuntu 16.04

Asked by ash_100 on 2017-10-05 18:22:37 UTC

Comments

I appreciate @lkchie replying, but @ash_100: please ask Gazebo-specific questions like this over at answers.gazebosim.org. ROS Answers is a support forum for ROS. Gazebo Answers for Gazebo.

Asked by gvdhoorn on 2017-10-06 02:33:28 UTC

It is working fine with Gazebo2. Is it a bug or a feature in gazebo7?

Asked by ash_100 on 2017-10-06 08:41:28 UTC

This seems to be bug in Gazebo7. It works fine with Gazebo2

Asked by ash_100 on 2017-10-06 09:02:09 UTC

Again: please ask this over at answers.gazebosim.org.

Asked by gvdhoorn on 2017-10-06 09:04:39 UTC

I see you already did that: InsertModelFile("model://sun") and Works in Gazebo2 bot NOT in Gazebo7.

Closing this question then.

Asked by gvdhoorn on 2017-10-06 09:06:32 UTC

Finally: please don't cross-post questions like this: it leads to duplicated discussion (and thus effort).

Asked by gvdhoorn on 2017-10-06 09:07:23 UTC

Answers

Check that you have Sun model in "/home/.gazebo/models". (.gazebo is hidden folder)

Else you can get them from http://models.gazebosim.org/

Asked by notinuse on 2017-10-06 02:20:08 UTC

Comments