generated from tier4/ros2-project-template
-
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
Timestamp update #20
Merged
Merged
Timestamp update #20
Conversation
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
* add colcon build env. (base code is 0624e) * move some hpp files, add src folder in livox driver * trivial modification * Update README.md * remove unneccesary files * remove unneccesary header * move third-party source files * update code(20210630) * Delete different test files. * README.md add "4. running" * README crlf * HwInterface/udp_socket.hpp * modify for ros2 run error * Update README.md * accumulate_count * time_stamp * struct LivoxPointXyzrtl packed * GetEchoNumPerPoint() * cloud.width 24000 * time_base -> time_stamp * code fix * cloud.width update * code fix * code fix * StreamStart retry 30sec * code fix * rviz2 * fix format * <br> * format ros2wrapper * frame_id * frame_id * Update README.md * Update README.md * discussion_r664993039 * typo typo brief and only English in the comments. and LivoxDataCallback delete * PI -> M_PI * Revert "PI -> M_PI" This reverts commit c54bbe3b3c1954f82247d38570bdf71a3ddf38b6. * PI -> M_PI 2nd * thread pointer -> shared_ptr * modify CMakelists.txt and package.xml to using ament_cmake_auto * README.md * default node name * add composable node (#4) * add composable node * fix conflicts * fix exec node * change sensor name fix to variable * fix can use ros2_wrapper_main.cpp * README.md * default node name * change namespace * add namespace to topic names Co-authored-by: mitui.hide <h-mitsui@esol.co.jp> * package.xml maintainer and README.md * #discussion_r666683800 * #discussion_r666712110 * #discussion_r665125337 * #discussion_r664995104 * #discussion_r666078326 * #discussion_r665121366 * #discussion_r665121366 Expansion * typedef enum -> enum * typedef enum -> enum * #discussion_r665121708 * #discussion_r665124279 * #discussion_r664995791 * typo #discussion_r670300391 * #discussion_r664987903 * Revert "#discussion_r664987903" This reverts commit 97d78e64c13e5bb59b98bd1f17f1bfd527384852. * #discussion_r664987903 * #discussion_r664988302 * #discussion_r664989270 * #discussion_r664989004 * CMakeList.txt remove(-g -O0) * smart_pointers. #issuecomment-878771481 Co-authored-by: mitui.hide <h-mitsui@esol.co.jp> Co-authored-by: v-nagai7872@esol.co.jp <v-nagai7872@esol.co.jp> Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com>
* add colcon build env. (base code is 0624e) * move some hpp files, add src folder in livox driver * trivial modification * Update README.md * remove unneccesary files * remove unneccesary header * move third-party source files * update code(20210630) * Delete different test files. * README.md add "4. running" * README crlf * HwInterface/udp_socket.hpp * modify for ros2 run error * Update README.md * accumulate_count * time_stamp * struct LivoxPointXyzrtl packed * GetEchoNumPerPoint() * cloud.width 24000 * time_base -> time_stamp * code fix * cloud.width update * code fix * code fix * StreamStart retry 30sec * code fix * rviz2 * fix format * <br> * format ros2wrapper * frame_id * frame_id * Update README.md * Update README.md * discussion_r664993039 * typo typo brief and only English in the comments. and LivoxDataCallback delete * PI -> M_PI * Revert "PI -> M_PI" This reverts commit c54bbe3b3c1954f82247d38570bdf71a3ddf38b6. * PI -> M_PI 2nd * thread pointer -> shared_ptr * modify CMakelists.txt and package.xml to using ament_cmake_auto * README.md * default node name * add composable node (#4) * add composable node * fix conflicts * fix exec node * change sensor name fix to variable * fix can use ros2_wrapper_main.cpp * README.md * default node name * change namespace * add namespace to topic names Co-authored-by: mitui.hide <h-mitsui@esol.co.jp> * package.xml maintainer and README.md * #discussion_r666683800 * #discussion_r666712110 * #discussion_r665125337 * #discussion_r664995104 * #discussion_r666078326 * #discussion_r665121366 * #discussion_r665121366 Expansion * typedef enum -> enum * typedef enum -> enum * #discussion_r665121708 * #discussion_r665124279 * #discussion_r664995791 * esol_ReviewNo6 * esol_ReviewNo26 * esol_ReviewNo24 * Revert "esol_ReviewNo24" This reverts commit 0e8f33341186d6fa4a905de45c8f9aa28b8d29cb. * Revert "esol_ReviewNo24" This reverts commit 0e8f33341186d6fa4a905de45c8f9aa28b8d29cb. * esol_ReviewNo24 * esol_ReviewNo27 * esol_ReviewNo17 * format * esol_ReviewNo21 * develop #1 6bae863876bfda52db848ed31e415a3b16a0b6a8 * tab -> space * develop marge * CMakeLists.txt remove(-g -O0) * T4PUB-358 1st * format and bug-fix * 5#discussion_r677475332 * Add comment semaphore_ * 5#discussion_r678802453 Co-authored-by: mitui.hide <h-mitsui@esol.co.jp> Co-authored-by: v-nagai7872@esol.co.jp <v-nagai7872@esol.co.jp> Co-authored-by: Takeshi Miura <57553950+1222-takeshi@users.noreply.github.com> Co-authored-by: h-mitsui-esol <57085544+h-mitsui-esol@users.noreply.github.com>
* Refactor 1st * pull/6#discussion_r681704754 * pull/6#discussion_r682172984 * pull/6#discussion_r681705368 * pull/6#discussion_r680921593 and pull/6#discussion_r680922194 * pull/6#discussion_r681711654 * 6#discussion_r682170555
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
* Refactor 1st * pull/6#discussion_r681704754 * pull/6#discussion_r682172984 * pull/6#discussion_r681705368 * pull/6#discussion_r680921593 and pull/6#discussion_r680922194 * pull/6#discussion_r681711654 * 6#discussion_r682170555 * livox_driver utest 1st * T4PUB-437 bug fix. * Fix merge failure 3371552e395f1817adb3a32ea9f95360d72019f8 * pull/9#discussion_r689167375 and pull/9#discussion_r689204716
* Livox Diagnostics. Initial non working commit Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * clang. add tier4 format Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * gitignore. Add Tier4 ignore file Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * wip Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * wip 2 Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * code adaptations to new main branch Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * wip 3 get device status from sensor Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * adaptations for diagnostics from eth packet Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * RosWrapper. parse and report Diagnostics Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * lidar_driver. fix getcommandid switch Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * ros2_driver_wrapper. fix switch indent Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * git workflow. test CI token Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * livox_command. Remove unused CommandPushAbnormalState struct Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * add fallthroughts Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * apply t4 formatting Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * livox_diagnostics. remove unnecessary code for boolean vars Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * ros2_driver_wrapper. clarify level comparison with enum Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * livox_diagnostics. remove unncessary comma at the end of enum Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * ros2_driver_wrapper. group diagnostics members Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * gitignore. remove aw related entries Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * ros2_driver_wrapper. simplify ros diagnostics string Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * revert fallthroughs on switch Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * replace shift logic for bit fields Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * add private keyword to clarify Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * separate diagnostics, remove static definition Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * add missing StatusCodeToLivoxMotorStatus Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * Separate diagnostics to multiple reports Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * update status from sensor Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * wrapper. remove the namespace from the diagnostic task Signed-off-by: amc-nu <abrahammonrroy@yahoo.com> * ros2_wrapper. remove unncessary lidar_identifier Signed-off-by: amc-nu <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: amc-nu <abrahammonrroy@yahoo.com>
Signed-off-by: amc-nu <abrahammonrroy@yahoo.com>
Signed-off-by: amc-nu <abrahammonrroy@yahoo.com>
Signed-off-by: amc-nu <abrahammonrroy@yahoo.com>
Signed-off-by: amc-nu <abrahammonrroy@yahoo.com>
Signed-off-by: amc-nu <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
* replace AT128 pcd file for test * apply clang format Signed-off-by: amc-nu <abraham.monrroy@gmail.com> --------- Signed-off-by: amc-nu <abraham.monrroy@gmail.com> Co-authored-by: Kyutoku <github@kyutoku.cloud>
* Remove Boost warnings Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * Optimize Pandar40P Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * Pandar64 optimization Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * PointTypes. standardize point types Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * Add radian based elevation calculation Pandar40P,64 Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * qt64. radian based coordinate calculation Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * xt32. radian based coordinate calculation Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * qt128. radian based coordinate calculation Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * qt128. radian based coordinate calculation Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * pandar40. precalculate sin/cos Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * pandarxt. precalculate te sin/cos Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * apply sin/cos optimization to all decoders Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> * launch. fix python launch file Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * point_type. caetr SSE alignment optimization Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * hesai_hw. remove warning Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * point_types. add sse description for caetr Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * README. run tests only for nebula packages Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * clang. apply ament_clang reformat Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * Replace 40P, 64, QT64 and XT32s' PCD files to fix testing * remove clang-format from tests Signed-off-by: amc-nu <abraham.monrroy@gmail.com> * Local path check not required for online acquisition * Adding timeouts to correction data acquisition * Disable calibration query Signed-off-by: amc-nu <abraham.monrroy@gmail.com> --------- Signed-off-by: amc-nu <abraham.monrroy@gmail.com> Signed-off-by: Abraham Cano <abrahammonrroy@yahoo.com> Co-authored-by: Kyutoku <github@kyutoku.cloud>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
drwnz
reviewed
May 26, 2023
nebula_decoders/include/nebula_decoders/nebula_decoders_hesai/decoders/hesai_scan_decoder.hpp
Show resolved
Hide resolved
nebula_decoders/src/nebula_decoders_hesai/decoders/pandar_128_e4x_decoder.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
Signed-off-by: amc-nu <abraham.monrroy@gmail.com>
drwnz
approved these changes
May 29, 2023
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!
Tested on XT32, seems good and matches spec.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
Related Links
https://tier4.atlassian.net/browse/RT1-2384
https://tier4.atlassian.net/browse/RT1-935
Description
Update azimuth and timestamp calculation based on the new specification.
Review Procedure
Remarks
There is a known issue with scan splitting in the XT32, which is under investigation and will be addressed in another PR.