Ask Your Question

What does real-time safe means?

asked 2019-08-26 13:30:00 -0600

Nochika gravatar image


I have read some ROS tutorials and articles on the web referring to "real-time safe". I do know what "real-time" means but I don't know what "real-time safe" means. Do they have the same meaning? Maybe it is a similar term like "thread safe" but for real-time.

For example this ROS2 article uses it a lot:


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-26 14:11:43 -0600

gvdhoorn gravatar image

updated 2019-08-26 14:13:38 -0600

Maybe it is a similar term like "thread safe" but for real-time.

Yes, I think you can use that analogy.

Essentially it implies that if whatever code you add supports deterministic execution, then the underlying ROS 2 primitives, implemented by the various ROS 2 libraries, will not "interfere" with that determinism.

So anything "real-time safe" is safe to use in a system requiring deterministic execution (ie: real-time).

Which specific grade of real-time-ness that would be (ie: soft, hard or best effort) is not made clear, but in general hard real-time suitability is what is meant.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-08-26 13:30:00 -0600

Seen: 92 times

Last updated: Aug 26 '19