Difference between revisions of "Hood XV 11 ROS Install"

From wikidb
Jump to: navigation, search
(Monitor)
(Monitor)
Line 38: Line 38:
 
   sudo chmod 666 /dev/ttyUSB0
 
   sudo chmod 666 /dev/ttyUSB0
 
   rosrun xv_11_laser_driver neato_laser_publisher _port:=/dev/ttyUSB0 _firmware_version:=2
 
   rosrun xv_11_laser_driver neato_laser_publisher _port:=/dev/ttyUSB0 _firmware_version:=2
 +
 +
== Test ==
 +
 +
  rostopic echo /scan
  
 
== Monitor ==
 
== Monitor ==
 +
 
   rosrun rviz rviz
 
   rosrun rviz rviz
  

Revision as of 10:26, 4 April 2016

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