precise timing with rosbag or an alternative
The beginner's tutorial reads, that rosbag
may be not precise when it comes to the timing. Some tasks I face are not Lyapunov stable, so precise data playback is necessary.
1) Could rosbag
be precise with the usage of advanced technical hacks? E.g. RAM-disk as a bag file destination and dedicated CPU core for recording/playing. Are there any ROS directives/modes for precise timing?
2) Are there alternative means of recording and playing messages and requests/responses with precise timing (95% <1ms)? Unfortunately, some non-trivial data like camera output might be involved.
For simplicity let's assume we work with a single machine to avoid network latency issues.
ROS Kinetic, Ubuntu 16.04.05 x64.