Skip to content

Commit 32258db

Browse files
author
Samuel Bierwagen
committed
Changed ttyUSB0 to ttyACM0
1 parent c6ab79c commit 32258db

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎neato_driver/src/neato_driver/neato_driver.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114

115115
class xv11():
116116

117-
def __init__(self, port="/dev/ttyUSB0"):
117+
def __init__(self, port="/dev/ttyACM0"):
118118
self.port = serial.Serial(port,115200)
119119
# Storage for motor and sensor information
120120
self.state = {"LeftWheel_PositionInMM": 0, "RightWheel_PositionInMM": 0}

‎neato_node/launch/bringup.launch‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
args="-0.1016 0 0.0889 0 0 0 base_link base_laser_link 50" />
55

66
<node name="neato" pkg="neato_node" type="neato.py" output="screen">
7-
<param name="port" value="/dev/ttyUSB0" />
7+
<param name="port" value="/dev/ttyACM0" />
88
</node>
99

1010
</launch>

‎neato_node/nodes/neato.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(self):
4949
""" Start up connection to the Neato Robot. """
5050
rospy.init_node('neato')
5151

52-
self.port = rospy.get_param('~port', "/dev/ttyUSB0")
52+
self.port = rospy.get_param('~port', "/dev/ttyACM0")
5353
rospy.loginfo("Using port: %s"%(self.port))
5454

5555
self.robot = xv11(self.port)

0 commit comments

Comments
 (0)