generated from tier4/ros2-project-template
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(hesai)!: combine Hesai ROS wrappers into a single node (#127)
* fix(hesai_decoder): print config instead of config address * refactor(nebula_ros): combine Hesai wrapper nodes into one This is step one of the single node refactoring of Nebula. In this step, only the three Hesai wrapper nodes were combined into one, and no optimizations have been done that are made possible by this refactoring. The next step is to do those optimizations (e.g. get rid of unnecessary pointcloud copying). * refactor: remove pandarScan pub/sub, decode one packet at a time * reword later * temporary progress * fix(hesai_ros_wrapper): remove changes wrongly merged during rebase * fix(hesai_ros_wrapper): increase packet buffering to stop internal packet loss * feat(nebula_common): add instrumentation tools * feat(hesai_ros_wrapper): instrument code on critical path * disable instrumentation * feat(hesai): move received buffer into ros message instead of copy * feat(hesai_ros_wrapper: add thread-safe queue between udp receiver and decoder, decode in separate thread * feat(nebula_common): more instrumentation tools * fix: update link to transport_drivers fork * update GitHub PR view * refactor(mt_queue): make variables more readable * perf(hesai_ros_wrapper): update queue capacity to alleviate packet drops on ECU * chore(hesai_ros_wrapper): remove unused pub/sub * refactor(hesai_ros_wrapper): clean up control flow, member variables * fix(hesai_hw_interface): add error handling * check PTC command error codes, throw exception if necessary * perform size checks before parsing responses * emit errors on too-large payload size * fix(hesai_hw_monitor_ros_wrapper): fixed wrong range given for S/N copy * fix(hesai): print uint8, uint16 as numbers * feat(hesai_ros_wrapper): publish/subscribe to legacy pandar_packets on demand * change launch file back to single-threaded container * attempt to make queue contention less bad * chore(hesai_ros_wrapper): reduce logging output * feat(hesai_ros_wrapper): print warning when connected to HW and receiving /pandar_packets * feat(nebula_launch.py): throw error when trying to launch Hesai sensor and refer to hesai_launch_all_hw.xml * refactor(nebula_ros): split single wrapper file into 3 sub-wrappers * chore: update cspell ignore * chore(velodyne_calibration_decoder): fix spelling * chore(nebula_common): remove debug code * chore(velodyne_calibration_decoder): fix spelling * fix(hesai_decoder): initialize last_phase to prevent empty pointcloud published on startup * fix(nebula_tests): make Hesai tests compile again * fix(nebula_examples): make Hesai examples compile again * chore(velodyne_calibration_decoder): fix spelling once and for all * fix(nebula_examples): fix test failure (remove ament_lint_common) * fix(hesai_hw_interface): add missing check for PTC error, make error type more readable * refactor(hesai): re-introduce parameter update mechanism * feat(hesai_ros): add watchdog timer for pointcloud output * fix(hesai): change to possibly more accurate high_resolution_clock * fix(hesai): fix crash on QT128 * refactor(hesai_hw_interface): refactor repeated error handling code * fix(hesai_launch_all_hw.xml): set valid RPM when AT128 is selected * refactor(hesai_decoder): remove redundant arguments for correction/calibration * refactor(nebula_ros): move mt_queue to common * chore(nebula_examples): change output rosbag format to NebulaPackets, clean up code * chore(hesai/decoder_wrapper): clarify watchdog behavior in decoder * chore(hesai/hw_monitor_wrapper): fix typo in diagnostics name * chore(hesai_ros_decoder_test): fix unclear naming in console output * chore: run pre-commit and implement suggested fixes (not including copyright yet) * fix(expected.hpp): revert explicit constructors * chore: remove erroneously added node_modules folder * chore(gitconfig): exclude node_modules from git * fix(hesai/decoder_wrapper): store downloaded sensor calibration without colliding filenames * chore(nebula_examples,nebula_tests): remove more dangling comments and improve formatting
- Loading branch information
Showing
56 changed files
with
2,388 additions
and
3,215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,6 @@ site/ | |
|
||
# qcreator stuff | ||
CMakeLists.txt.user | ||
|
||
# pre-commit | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.