-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat(hesai): add high resolution mode setting for Pandar128 and OT128 #142
base: develop
Are you sure you want to change the base?
Conversation
e563e9e
to
b5acdea
Compare
🟢 Evaluation🟢 OT128Tested:
🟢 Pandar128Not tested yet, but after consulting with @drwnz, merging is still fine. |
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 #142 +/- ##
=========================================
+ Coverage 4.84% 10.95% +6.10%
=========================================
Files 249 81 -168
Lines 19210 9424 -9786
Branches 1075 1203 +128
=========================================
+ Hits 931 1032 +101
+ Misses 17579 7536 -10043
- Partials 700 856 +156
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* check PTC command error codes, throw exception if necessary * perform size checks before parsing responses * emit errors on too-large payload size
…type more readable
Signed-off-by: Max SCHMELLER <[email protected]>
55ce98a
to
d996e03
Compare
PR Type
Related Links
TIER IV INTERNAL LINK -- Jira ticket
This PR depends on the following PR being merged first:
Description
This PR adds a launch parameter
hires_mode
(boolean) which is used to enable/disable high resolution mode for Pandar128 and OT128.The hardware interface has been extended to send the corresponding PTC commands.
Review Procedure
Test with Pandar128 and OT128 and confirm that horizontal resolution changes like in the images above:
hires_mode:=false
hires_mode:=true
ros2 param set /hesai_hw_driver hires_mode true
during runtimeros2 param set /hesai_hw_driver hires_mode false
during runtimeRemarks
🟡 I currently do not have a Pandar128 to test with, and also no access to its TCP documentation. It still needs to be confirmed if the command is the same as for OT128.
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