-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
track_odometry: Add enable_tcp_no_delay option to reduce latency #456
Conversation
[#1300] PASSED on kineticAll tests passed
[#1300] PASSED on melodicAll tests passed
|
@at-wat PTAL. |
@@ -298,6 +298,11 @@ class TrackOdometryNode | |||
{ | |||
neonavigation_common::compat::checkCompatMode(); | |||
|
|||
bool use_tcp_no_delay; | |||
pnh_.param("use_tcp_no_delay", use_tcp_no_delay, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the default value is OK to be true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Codecov Report
@@ Coverage Diff @@
## master #456 +/- ##
==========================================
+ Coverage 80.11% 80.17% +0.05%
==========================================
Files 64 64
Lines 4512 4514 +2
==========================================
+ Hits 3615 3619 +4
+ Misses 897 895 -2
Continue to review full report at Codecov.
|
[#1301] PASSED on kineticAll tests passed
[#1301] PASSED on melodicAll tests passed
|
[#1302] PASSED on kineticAll tests passed
[#1302] FAILED on melodicTest failed
[#1302] PASSED on melodicAll tests passed
|
@at-wat PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Refs #216
In some situations, latency of subscribers becomes large without tcpNoDelay option.
https://qiita.com/kiy_at_dev/items/1e2ae8bfa400f12e1066