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

How to use YDLIDAR X4 in Nav2D

asked 2018-08-30 07:10:09 -0600

RosUser gravatar image

Hi guys

I'm back into ROS and Nav2d world :) During my study I was using the robot from university where I implemented ROS and Nav2d into the robot. I'm so glad to use Nav2d that now I want to build my own SLAM robot.

I have bought Lidar sensor YDLIDAR X4 which is support with ROS package.

image description

First of all I want to implement the Lidar by running Tutorial2.launch. How can I do that, if it is possible ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-30 12:54:41 -0600

updated 2018-08-30 12:55:41 -0600

You can use this the same way you would any other lidar. You just need to look at the specifications of what you need (a TF tree, laser scans coming through expected topics).

You can launch the laser node and see what the topics are, then see what Nav2D expects and reconfigure to use it. Assuming the rest of your robot has a description file to make the relevant transforms and its odometry updates TF, it should just work out of the box.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-08-30 07:10:09 -0600

Seen: 1,324 times

Last updated: Aug 30 '18