-
Notifications
You must be signed in to change notification settings - Fork 54
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
refactor(hesai): per-sensor diagnostic struct definitions #208
Conversation
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
Outdated
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
Outdated
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
Outdated
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
Outdated
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
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.
Hi @ike-kazu, thank you for your work!
There are a few changes, mainly for duplicated code, remaining debug statements, and code style. I will test the PR for functionality once the comments are addressed. Thank you :D
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
Outdated
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
Outdated
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
Show resolved
Hide resolved
...hw_interfaces/include/nebula_hw_interfaces/nebula_hw_interfaces_hesai/hesai_cmd_response.hpp
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.
Almost there!
I left a few small comments, please address them!
@ike-kazu Thank you! |
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
…quotes Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
…port it Signed-off-by: Max SCHMELLER <[email protected]>
Signed-off-by: Max SCHMELLER <[email protected]>
…sing the simplest available structs to parse Signed-off-by: Max SCHMELLER <[email protected]>
dab1efb
to
f4deaf5
Compare
Signed-off-by: Max SCHMELLER <[email protected]>
f4deaf5
to
ff84899
Compare
Signed-off-by: Max SCHMELLER <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #208 +/- ##
==========================================
- Coverage 26.16% 26.12% -0.04%
==========================================
Files 99 100 +1
Lines 9198 9212 +14
Branches 2215 2216 +1
==========================================
Hits 2407 2407
- Misses 6401 6416 +15
+ Partials 390 389 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Max SCHMELLER <[email protected]>
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.
As discussed with @drwnz in person, I will merge this myself.
* fix hesaiconfig ptp * chagnge struct name * refactor lidaStatus * fix lidarstatus tcp * fix lidarmonitor and some issues * fix lidarstatus binary issue * refactor lidarConfig * fix any codes * fix as review * fix reviewd points * fix reviewd point * chore(hesai): reduce log spam Signed-off-by: Max SCHMELLER <[email protected]> * chore(hesai_cmd_response): make all inheritances public Signed-off-by: Max SCHMELLER <[email protected]> * fix(hesai): correct sensor get command return logic after merge Signed-off-by: Max SCHMELLER <[email protected]> * fix(hesai): add missing diagnostics summary, display strings without quotes Signed-off-by: Max SCHMELLER <[email protected]> * fix(hesai): fix diagnostics keys being output in the wrong categories Signed-off-by: Max SCHMELLER <[email protected]> * feat(hesai): change PTP status to ERROR when not synchronized Signed-off-by: Max SCHMELLER <[email protected]> * chore(hesai): remove duplicate config printing Signed-off-by: Max SCHMELLER <[email protected]> * chore(hesai): remove unnecessary print statements Signed-off-by: Max SCHMELLER <[email protected]> * chore(hesai): lessen log spam, error messages Signed-off-by: Max SCHMELLER <[email protected]> * fix(hesai): add back support for pandar64 Signed-off-by: Max SCHMELLER <[email protected]> * fix(hesai): add back support for QT128 Signed-off-by: Max SCHMELLER <[email protected]> * fix(hesai): disable voltage monitor output for sensors that don't support it Signed-off-by: Max SCHMELLER <[email protected]> * chore(hesai_cmd_response): reduce compiler warnings Signed-off-by: Max SCHMELLER <[email protected]> * fix(hesai_hw_interface): for sensors we couldn't test, fall back to using the simplest available structs to parse Signed-off-by: Max SCHMELLER <[email protected]> * chore(hesai_hw_interface): remove temporary cxxabi usage Signed-off-by: Max SCHMELLER <[email protected]> * fix(nebula_common): properly add nlohmann_json dependency Signed-off-by: Max SCHMELLER <[email protected]> * fix(pandar64): add calibration_file to schema Signed-off-by: Max SCHMELLER <[email protected]> --------- Signed-off-by: Max SCHMELLER <[email protected]> Co-authored-by: Max SCHMELLER <[email protected]> Co-authored-by: Max Schmeller <[email protected]> Signed-off-by: Max SCHMELLER <[email protected]>
PR Type
Related Links
Description
Hesai LiDAR TCP errors are occurred. To fix it, TCP Structs and other processes are fixed in this pr.
Review Procedure
Remarks
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