Gazebo | Ignition | Community
Ask Your Question

gajan's profile - activity

2015-08-12 13:02:26 -0600 received badge  Famous Question (source)
2015-01-12 02:28:52 -0600 received badge  Notable Question (source)
2014-12-10 10:16:36 -0600 received badge  Popular Question (source)
2014-12-05 06:11:47 -0600 received badge  Student (source)
2014-12-05 05:46:26 -0600 received badge  Editor (source)
2014-12-05 03:52:17 -0600 asked a question Plugin Inter-communication and Timing


I have the following setup in Gazebo 2.2.5:

  1. Plugin A publishes a .proto message at every ConnectWorldUpdateBegin event.

  2. Plugin B: subscribes to the above message AND runs a method at every ConnectWorldUpdateBegin event. This method works on the last received message.

Now my questions are:

  1. Is there any synchronization happening between the Gazebo message passing and raising the ConnectWorldUpdateBegin events? Can I assume the maximum delay in the messages in my setting above is one period (i.e., one update step)

  2. Is there a mechanism to directly call another plugin's public method? Is there a reason for having the following variable private in Model.hh? (calling directly would make things more deterministic)

    private: std::vector<modelpluginptr> plugins;

Thank you for your time.