Skip to content

Commit

Permalink
fix(aeva): increase buffer size for packet replay as drops were observed
Browse files Browse the repository at this point in the history
  • Loading branch information
mojomex committed Jul 23, 2024
1 parent 5a8eea1 commit b3ffe46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nebula_ros/src/aeva/aeva_ros_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ AevaRosWrapper::AevaRosWrapper(const rclcpp::NodeOptions & options)
// ////////////////////////////////////////
auto packet_stream = std::make_shared<NebulaPacketStream>();
auto packet_buffer =
std::make_shared<drivers::connections::StreamBuffer>(packet_stream, 100, [&]() {
std::make_shared<drivers::connections::StreamBuffer>(packet_stream, 1000, [&]() {
RCLCPP_ERROR_THROTTLE(
get_logger(), *get_clock(), 1000,
"Packet stream buffer overflowed, packet loss occurred.");
Expand Down

0 comments on commit b3ffe46

Please sign in to comment.