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

Revision history [back]

click to hide/show revision 1
initial version

In place of using command

rosparam set /brown/irobot_create_2_1/port /dev/ttyACM0

we can make a change in in a line as bellow

class CreateDriver:
    def __init__(self):
        port = rospy.get_param('/brown/irobot_create_2_1/port', "/dev/ttyUSB0")

Just change "/dev/ttyUSB0" by "/dev/ttyACM0"