Gazebo | Ignition | Community
Ask Your Question

elcymon's profile - activity

2020-02-16 12:10:24 -0500 received badge  Famous Question (source)
2020-02-16 12:10:24 -0500 received badge  Notable Question (source)
2020-02-16 12:10:24 -0500 received badge  Popular Question (source)
2020-02-07 17:53:52 -0500 received badge  Famous Question (source)
2019-05-08 22:06:16 -0500 received badge  Famous Question (source)
2018-12-03 17:08:49 -0500 received badge  Famous Question (source)
2018-11-25 13:03:05 -0500 received badge  Notable Question (source)
2018-11-25 13:03:05 -0500 received badge  Popular Question (source)
2018-11-20 05:21:08 -0500 received badge  Notable Question (source)
2018-11-02 07:26:52 -0500 commented question Install specific Gazebo version: Gazebo 7.4.0

I realise that the reason why my simulation was giving weird results is because there is a difference between how Gazebo

2018-11-02 06:35:37 -0500 asked a question Install specific Gazebo version: Gazebo 7.4.0

Install specific Gazebo version: Gazebo 7.4.0 Please I will like to know how to install Gazebo 7.4.0 When I follow the

2018-04-16 04:33:24 -0500 received badge  Famous Question (source)
2018-03-01 20:34:44 -0500 received badge  Notable Question (source)
2018-02-13 11:20:26 -0500 received badge  Famous Question (source)
2018-02-06 09:10:00 -0500 received badge  Commentator
2018-02-06 09:10:00 -0500 commented answer Prevent collison between some models in the world

Probably the weird approach is the way to go. Or maybe redoing the whole thing with actors instead of models and use plu

2018-02-06 07:11:55 -0500 received badge  Notable Question (source)
2018-02-06 05:35:39 -0500 edited question Prevent collison between some models in the world

Prevent collison between some models in the world I am trying to disable collision among mobile robots in a swarm. The s

2018-02-05 02:02:20 -0500 received badge  Popular Question (source)
2018-02-02 08:52:43 -0500 edited question Prevent collison between some models in the world

Prevent collison between some models in the world I am trying to disable collision among mobile robots in a swarm. The s

2018-02-02 05:38:00 -0500 asked a question Prevent collison between some models in the world

Prevent collison between some models in the world I am trying to disable collision among mobile robots in a swarm. The s

2018-02-02 05:37:04 -0500 asked a question Prevent collison between some models in the world

Prevent collison between some models in the world I am trying to disable collision among mobile robots in a swarm. The s

2018-01-10 16:29:02 -0500 received badge  Taxonomist
2017-12-15 02:41:07 -0500 commented question Creating .world file. World did not load with custom world name

You are right @chapulina. Some topics use the "custom world name" while others use "default"

2017-12-14 12:19:56 -0500 received badge  Popular Question (source)
2017-12-14 11:29:28 -0500 commented question Creating .world file. World did not load with custom world name

Yes it does show the topics with custom world name.

2017-12-14 03:04:27 -0500 commented question Creating .world file. World did not load with custom world name

I am using Gazebo 7.4 I tried a simple world example and it works with custom world name. The problem seems to come wh

2017-12-13 06:48:57 -0500 asked a question Creating .world file. World did not load with custom world name

Creating .world file. World did not load with custom world name I am trying to create a world using the sdf format. In

2017-12-12 14:19:13 -0500 received badge  Popular Question (source)
2017-12-05 12:05:34 -0500 received badge  Notable Question (source)
2017-11-29 11:48:23 -0500 received badge  Popular Question (source)
2017-11-29 11:45:28 -0500 marked best answer Is there a memory leak when changing visual color from model plugin?

I am trying to change the visual of a mobile robot based on the state of the robot. Though this works (i.e. the visual of the model changes to the desired color), the gazebo simulator starts to freeze. When I delete the section of code that changes the model's colour, gazebo simulation works as normal (i.e. without freezing).

Please what am I doing wrong here?

This is the code snippet:

        gazebo::common::Color newColor(0.0,1.0,0.0,1.0);
        msgs::Color *homColMsg = new gazebo::msgs::Color(gazebo::msgs::Convert(newColor));
        msgs::Color *homDiffMsg = new gazebo::msgs::Color(*homColMsg);
        gazebo::physics::LinkPtr link = this->model->GetLink("chassis");



        msgs::Visual visMsg = link->GetVisualMessage("visual");
        msgs::Material *materialMsg = visMsg.mutable_material();
        materialMsg->clear_ambient();
        materialMsg->clear_diffuse();

        visMsg.set_name(link->GetScopedName());
        visMsg.set_parent_name(this->model->GetScopedName());

        materialMsg->set_allocated_ambient(homColMsg);
        materialMsg->set_allocated_diffuse(homDiffMsg);

        this->pub_visual->Publish(visMsg);

The inspiration for this approach is from: handsim implementation

2017-11-29 10:57:46 -0500 commented question Is there a memory leak when changing visual color from model plugin?

I changed it to 'model::link::visual' and it works fine now! Thanks.

2017-11-29 04:51:06 -0500 commented answer Implementing a neighbours detection Sensor

@Galto2000: My objects are not static. @Carlos: adjusting the near, far and fov can be really hard to get right. Do you

2017-11-29 04:45:42 -0500 commented answer Listen to gazebo topics using a python code

I ended up using an independent listener written in c++

2017-11-29 04:32:28 -0500 edited question Is there a memory leak when changing visual color from model plugin?

Is there a memory leak when changing visual color from model plugin? I am trying to change the visual of a mobile robot

2017-11-29 04:27:14 -0500 asked a question Is there a memory leak when changing visual color from model plugin?

Is there a memory leak when changing visual color from model plugin? I am trying to change the visual of a mobile robot

2017-11-28 07:31:12 -0500 asked a question Publishing parameters to a running gazebo simulation

Publishing parameters to a running gazebo simulation HI I am trying to update the parameters of my plugins before starti

2017-11-05 20:33:51 -0500 received badge  Notable Question (source)
2017-11-03 20:14:35 -0500 received badge  Popular Question (source)
2017-11-02 06:29:35 -0500 asked a question Implementing a neighbours detection Sensor

Implementing a neighbours detection Sensor I am trying to implement a sensor to enable a mobile robot identify neighbour

2017-07-10 13:08:28 -0500 received badge  Famous Question (source)
2017-04-05 21:07:01 -0500 received badge  Famous Question (source)
2017-03-29 18:11:55 -0500 received badge  Notable Question (source)
2017-03-27 13:49:36 -0500 received badge  Popular Question (source)
2017-03-23 13:20:19 -0500 received badge  Student (source)
2017-03-23 12:27:27 -0500 asked a question Listen to gazebo topics using a python code

Please, is there a way to listen to gazebo topics from a python script?

2017-03-06 06:25:29 -0500 marked best answer How to Stop Simulation When Goal is Reached

I am trying to develop a simple robot behaviour. The task is for the robot to move from point A to B.

Please, is there a way of stopping the simulation process from within the c++ implemented plugin when point B is reached by my robot?