We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6bca0b commit a3d3e5bCopy full SHA for a3d3e5b
rosbag2_cpp/include/rosbag2_cpp/cache/circular_message_cache.hpp
@@ -58,8 +58,7 @@ class ROSBAG2_CPP_PUBLIC CircularMessageCache
58
59
/// Puts msg into circular buffer, replacing the oldest msg when buffer is full
60
/// \return True if message was successfully pushed, otherwise false.
61
- /// NOTE: This will always return true, since the circular buffer by design drops old messages
62
- /// when the buffer is full.
+ /// NOTE: This will always return true, unless message is null or too large for the buffer.
63
bool push(std::shared_ptr<const rosbag2_storage::SerializedBagMessage> msg) override;
64
65
/// Get current buffer to consume.
0 commit comments