Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
simulation proxy extra functionality #2
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.
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.