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

how to change the orientation of the vertical setted vlp 16 #482

Closed
himhan34 opened this issue Oct 26, 2022 · 2 comments
Closed

how to change the orientation of the vertical setted vlp 16 #482

himhan34 opened this issue Oct 26, 2022 · 2 comments
Labels

Comments

@himhan34
Copy link

Please complete the following information:

  • OS and Version: ubuntu 18.04
  • ROS Version: melodic
  • Built from Source or Downloaded from Official Repository:
  • nope
    Describe the bug
    A clear and concise description of what the bug is.

As the people had done in this git hub, i could operate the two lidars in the same, fixed frame.
#108
unfortunately, one of my vlp-16 is horizontal and the other is vertical,

this picture is the the pointcloud from the vertical lidar,
image

this is a picture from the horizontal lidar
image

and when i displayed both lidars in the same rviz
image

this is shown,

is there any method to change orientation of the vertical lidar.

and also my launch file is like this

<!-- VLP-16 front -->
<include file="$(find velodyne_pointcloud)/launch/VLP16_points.launch">
  <arg name="calibration" value="$(arg velodyne_calib)"/>
  <arg name="device_ip" value="192.168.1.201"/>
  <arg name="frame_id" value="vlp201"/>
  <arg name="port" value="2368"/>
</include>
@himhan34 himhan34 added the bug label Oct 26, 2022
@DrAndyWest
Copy link

To provide ROS with the orientation of a sensor, you would need to supply the specific transformation (in your case a simple rotation). The TF2 package provides this already in ROS, or you can describe the rotation as part of your robot in the URDF.

For the time being, just for testing, I would suggest using the tf2 static_transform_publisher and describing the relative position and rotation of your two lidar systems.

@JWhitleyWork
Copy link
Contributor

Thanks for helping, @DrAndyWest! @himhan34 Please open another issue if you have further driver-related questions.

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

No branches or pull requests

3 participants