A workaround for SLAM-Toolbox, fixed scan data size output mode#63
Open
Bob-YsPan wants to merge 11 commits intoYDLIDAR:humblefrom
Open
A workaround for SLAM-Toolbox, fixed scan data size output mode#63Bob-YsPan wants to merge 11 commits intoYDLIDAR:humblefrom
Bob-YsPan wants to merge 11 commits intoYDLIDAR:humblefrom
Conversation
This file contains hidden or 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
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.
This pull request provides a workaround for the problem like following:
SteveMacenski/slam_toolbox#63
Add the parameter
fixed_scan_sizeto limitscan_sizeandangle_increasementto a fixed number and put the scan data to the nearest slots. The final data size is calculated by the number of modes of the lidar scan size and the angle increment valuecalculation references the
slam_toolboxto meet its needs.此pull request为如以下问题的解决方案参考:
SteveMacenski/slam_toolbox#63
添加参数
fixed_scan_size以将scan_size和angle_increasement限制为一个固定数字,并将扫描数据放到最近的栏位中。最终的数据大小由激光雷达扫描大小的众数计算得出,角度增量值的计算则参考slam_toolbox以满足其需要。