Skip to content
New issue

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

simulation proxy extra functionality #2

Merged
4 commits merged into from Nov 23, 2010
Merged

simulation proxy extra functionality #2

4 commits merged into from Nov 23, 2010

Conversation

ghost
Copy link

@ghost ghost commented Sep 29, 2010

Hi,

I needed to be able to read the simulated time from the simulation and nothing seemed to be able to do that, so I added some functionality to SimulationProxy::GetProperty so that you can retrieve the simulation time.
It might be useful to others, so I'm submitting the new stuff for inclusion in the next release.

Jenny

Jenny and others added 4 commits September 28, 2010 13:24
time that's displayed on the GUI. Could be handy?
simulation time is big enough to store a uint64_t.
Fixed conflicts between my stuff and old stuff.
Conflicts:
	libstageplugin/p_simulation.cc
@rtv
Copy link
Owner

rtv commented Nov 23, 2010

I pulled this today and tweaked it just a bit before committing to my master. I changed the name of the property from "simtime" or "sim_time" to simply "time", and simplified the code a little. It might have been a better strategy to modify Player's sim interface to include this functionality, but that's a little more complex. This will work for anyone who really needs it.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant