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

Revision history [back]

I have an X4 Lidar from the same folks and was trying to use it on a Virtual Machine. I ended up not solving all the issues and simply using a USB drive with Ubuntu 16.04 installed to run my computer off of. This worked after making the serial port executable, adding my user to the DIALOUT group, and restarting.

find the serial port your Lidar is at and change perms chmod 666 /dev/ttyS0

Make sure your user is part of dialout group sudo adduser YOURUSER dialout

On the VM, my theory is when the software passes the serial port on to the guest machine, it doesn't give all the info. I had to change the initenv.sh script to get it to make an alias for the serial port with the incomplete info. Even then I still never got it working on the VM. If anyone does let me know!