Home | Tutorials | Wiki | Issues
Ask Your Question
2

Getting simulation time from visual plugin

asked 2015-09-10 04:46:19 -0500

andrejpan gravatar image

I would like to get simulation time from visual plugin. I tried listening to topic, but I would need greater frequency data. Topic is producing just 5 samples per second(attached picture bellow).

Is it perhaps possible to get simulation time, like it can be reached from world plugin?

image description

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-09-29 10:03:15 -0500

andrejpan gravatar image

I wrote my own word simulation time publisher, you can find it here

edit flag offensive delete link more
0

answered 2015-09-10 20:12:45 -0500

Zheng yo chen gravatar image

updated 2015-09-10 20:13:35 -0500

you can use static function: common::Time::GetWallTime()

edit flag offensive delete link more

Comments

That won't give simulation time; it will give real time elapsed.

scpeters gravatar imagescpeters ( 2015-09-14 00:51:09 -0500 )edit

Hey,

I am looking documentation here, but I do not find any method for getting simulation time.

andrejpan gravatar imageandrejpan ( 2015-09-14 06:36:23 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2015-09-10 04:46:19 -0500

Seen: 844 times

Last updated: Sep 29 '15