Confilct in rosbag play and publishing messages
I tried a simple use case.
Used the turtlesim example : published messages from turtle_teleop_key
to turtlesim_node
and recorded the data in a .bag
file. Now when i play the rosbag file using rosbag play fileName
, I can also publish the messages from the turtle_telep_key
which changes the movement of the turtle ?
- Is it allowed ? Shouldnt publishing messages be blocked during playing a bag file ?
- Or is it an application problem and I must prevent it from my end ?
I hope things are clearer with the answer you received for #q288747, but: no, publishing is "free for all".
rosbag
is just one publisher, but others are free to publish as well.