Hood XV 11 ROS Install

From wikidb
Jump to: navigation, search

References

Install

 sudo apt-get install ros-indigo-xv-11-laser-driver
 sudo apt-get install ros-indigo-rviz

Dealing with adc-acm module. See [XV11 Hacking Connecting to ROS for detail. The following was done as root. This causes the usbserial driver to be loaded and not the cdc_acm driver (USB Communications Device Class Abstract Control Model).

 echo "blacklist cdc_acm" >> /etc/modprobe.d/blacklist.conf
 
 echo "usbserial vendor=0x2108 product=0x780B" >> /etc/modules
 
 modprobe usbserial vendor=0x16c0 product=0x0483
 
 rmmod cdc_acm

Execute

Terminal 1

 roscore

Terminal 2

 sudo chmod 666 /dev/ttyUSB0
 rosrun xv_11_laser_driver neato_laser_publisher _port:=/dev/ttyUSB0 _firmware_version:=2

Test

 rostopic echo /scan

Monitor

 rosrun rviz rviz

Configuration reference: Neator XV-11 to ROS SLAM turtorial

Rviz xv11.png Xv11 scan.png