Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get realtimefactor through plugin (programmatically)


I've been trying to get the current realtime factor programmatically. I tried getting it through a world plugin but cannot find a get function, only for real time and Sim time. I know it's inside the /diagnostics topic and also am trying to subscribe to that topic through a plugin but it seems a little unhandy this way. Is there another method to get the real time factor programmatically?