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

How do I configure the XVLIDAR-ARDUINO MEGA ?

asked 2019-03-23 21:09:27 -0600

Frank95000 gravatar image

updated 2019-03-23 22:49:20 -0600

jayess gravatar image

When I run the line

rosrun xv_11_laser_driver neato_laser_publisher _port: = / dev / ttyUSB0

This message appears:

[ERROR] [1553391719.243142699]: Error instantiating laser object. Are you sure you have the correct port and baud rate? Error was open: Permission denied.

Please help me! :(

edit retag flag offensive close merge delete


Are you sure that you have the correct port and baud rate? Also, do you have sufficient permissions?

jayess gravatar image jayess  ( 2019-03-23 22:50:36 -0600 )edit

Make sure the user is in the dialout group

stevemacenski gravatar image stevemacenski  ( 2019-03-23 23:17:32 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-24 02:59:24 -0600

billy gravatar image

That error means you don't have access to the port but implies the port is present.

Try this at terminal prompt:

sudo chmod a=rwx /dev/ttyUSB0

and try your node again to see if it works.

You can get more info on serial from the following(or at least 1,000,000 other links):

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-03-23 21:09:27 -0600

Seen: 148 times

Last updated: Mar 24 '19