-
Notifications
You must be signed in to change notification settings - Fork 58
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
fix(hesai_hw_interface): change to synchronous requests to prevent undefined sensor behavior #126
Conversation
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
…t load Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: amc-nu <[email protected]>
Signed-off-by: David Wong <[email protected]>
…nto ot128-2second-drops-fix
…P profile Signed-off-by: David Wong <[email protected]>
Signed-off-by: David Wong <[email protected]>
Signed-off-by: David Wong <[email protected]>
Signed-off-by: David Wong <[email protected]>
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #126 +/- ##
========================================
+ Coverage 6.53% 8.94% +2.40%
========================================
Files 136 64 -72
Lines 11073 7253 -3820
Branches 869 814 -55
========================================
- Hits 724 649 -75
+ Misses 9763 6040 -3723
+ Partials 586 564 -22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
nebula_decoders/include/nebula_decoders/nebula_decoders_hesai/decoders/pandar_128e4x.hpp
Outdated
Show resolved
Hide resolved
nebula_decoders/include/nebula_decoders/nebula_decoders_hesai/decoders/pandar_128e4x.hpp
Outdated
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_hw_interface.hpp
Outdated
Show resolved
Hide resolved
nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp
Outdated
Show resolved
Hide resolved
nebula_hw_interfaces/src/nebula_hesai_hw_interfaces/hesai_hw_interface.cpp
Outdated
Show resolved
Hide resolved
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!
PR Type
Related Links
TIER IV INTERNAL LINK -- Issue
TIER IV INTERNAL LINK -- Investigation
Description
OT128 had 2s of packets dropped per minute, which was caused by multiple TCP streams being executed concurrently.
Fixing this issue required to
tcp_driver_s_
and local TCP drivers inhesai_hw_interface.cpp
In the wake of this big refactoring, I made the following other changes:
Review Procedure
Refer to the investigation above.
Things I checked (on 40P, QT128, OT128):
Remarks
Functionality in
#ifdef WITH_DEBUG_STDOUT_HESAI_HW_INTERFACE
etc. has not been tested.Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.
Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.
Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.
CI Checks