ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

change the height/angle of the laser scan created from pointcloud

asked 2021-11-10 08:43:35 -0500

Delbina gravatar image

hi

I have used pointcloud-to-laserscan, and works fine. now the problem is that my lidar is at the top of my robot, and so laserscan has created at that level. Now I want to change this height/or angle,inorder to laser scan can detect the objects which situated infront of it. How can i change the angle or height of the laser scan?? thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-11-10 11:16:31 -0500

shonigmann gravatar image

updated 2021-11-10 11:20:09 -0500

I believe you have two options:

  • the min_height and max_height parameters to change the range of points from the cloud that are converted into the scan, or
  • the target_frame parameter to change from whatever the default frame (e.g. lidar_frame) to the frame you're interested in (e.g. base_link)

The latter is probably the more appropriate solution, but its worth being aware of the min and max height parameters as well

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-11-10 08:43:35 -0500

Seen: 290 times

Last updated: Nov 10 '21