Skip to content
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

Updated parameters for a correct vlp16 configuration #12

Open
wants to merge 1 commit into
base: kinetic-devel
Choose a base branch
from

Conversation

crislagarde
Copy link
Contributor

Identify the Bug/Problem/Issue

The values were not parameterized as well as the horizontal field of vision and the vertical field of vision were set incorrectly.

Description of the Change

Velodyne 16 datasheet values have been parameterized and indicated by default.

@crislagarde crislagarde requested a review from marbosjo December 17, 2020 16:39
<xacro:macro name="sensor_velodyne_vlp16" params="prefix parent prefix_topic:='velodyne' *origin range_min range_max gpu:=^|true">
<xacro:property name="M_PI" value="3.1415926535897931" />

<xacro:macro name="sensor_velodyne_vlp16" params="prefix parent prefix_topic:='velodyne' *origin range_min range_max fps:=15 hsamples:=300 vsamples:=100 hfov:=360.0 vfov:=30.0 gpu:=^|true">
Copy link
Contributor

@alex-arnal alex-arnal Jan 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also add range_min and range_max. I have tested changes and it works correctly, I should set the range_min to 0.06 as minimum (less distance causes it to detect itself). From datasheet, range_max should be 100.0.

Suggested change
<xacro:macro name="sensor_velodyne_vlp16" params="prefix parent prefix_topic:='velodyne' *origin range_min range_max fps:=15 hsamples:=300 vsamples:=100 hfov:=360.0 vfov:=30.0 gpu:=^|true">
<xacro:macro name="sensor_velodyne_vlp16" params="prefix parent prefix_topic:='velodyne' *origin range_min:=0.06 range_max:=100.0 fps:=15 hsamples:=300 vsamples:=100 hfov:=360.0 vfov:=30.0 gpu:=^|true">

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the datasheet, range_min should be set to 0.2m. However, after testing a few different units of the real sensor, this value tends to be around 0.38.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants