Skip to content

Synchronization issues with RealTimeScheduler #989

Closed Answered by rhornig
zhangteng0526 asked this question in Q&A
Discussion options

You must be logged in to vote

Simulation will always have some kind of extra overhead and you will get lag especially if you are running the simulation under Qtenv (the whole GUI introduces a lot of delay). On the other hand, you seem to want to create a co-simulation where two simulator run in tandem. None of the simulators are inherently 'real-time' so using the ExtLowerEtherInterface is a bit hard constraint. To get the best possible result you would need to write your own Scheduler class that can synchronize between the gazebo and omnetpp simulation kernels. That way you would be able to speed up gazebo and omnetpp would follow or vice versa. I'm not sure if gazebo has an API that allows souch a tight control for …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zhangteng0526
Comment options

@rhornig
Comment options

@zhangteng0526
Comment options

Answer selected by zhangteng0526
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants