Robotics StackExchange | Archived questions

Is there a built-in solution for modeling delays for specific topics?

Hello ROS geniusses,

is there any built-in solution/possibility for modelling delays? I wanna simulate delays of several seconds on some topics, to model teleoperation. Does anybody of you know a good solution for that? It would be very nice if the topics could be chosen generically.

Thank you very much in advance.

Kind regards Cedric

Asked by VanillaWhey on 2017-11-14 14:32:20 UTC

Comments

I'm not aware of anything built-in (perhaps a bit out-of-scope, mixing responsibilities).

Perhaps you could look into using some tools that address this at the network level (https://gamedev.stackexchange.com/questions/61483). That doesn't give you 'topic level' granularity though.

Asked by gvdhoorn on 2017-11-15 04:32:28 UTC

Thank you so far, I've also come along similar thinks. Unfortunately that's not exactly what I was looking for. I've also found the topic_tools/throttle. We'll see if they can be useful for my task.

Asked by VanillaWhey on 2017-11-28 15:43:32 UTC

Answers