Skip to content

Commit 39038ca

Browse files
committed
Updated README for error case where serial can't be opened
1 parent 404df04 commit 39038ca

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ The message will appear similar to:
5454
```
5555
In this case, `ttyUSB0` is indeed the device name. Change your launch script as appropriate based on the actual device your platform is using.
5656

57+
## Can't Open Serial Port
58+
The device (default `ttyUSB0`) needs admin rights to open a serial connection to the U2D2. If the device has insufficient permissions, you will see the following error message:
59+
```
60+
[PortHandlerLinux::SetupPort] Error opening serial port!
61+
================================================================================REQUIRED process [position_control-2] has died!
62+
63+
```
64+
The following terminal command (that provides admin rights to this device) should fix this issue:
65+
```
66+
sudo chmod a+rw /dev/ttyUSB0
67+
```
68+
Substitute `/dev/ttyUSB0` with the actual device name being used, if different.
69+
5770
## Motor Lockup
5871
If the robot stops following the joint commands, you may need to power cycle the motors. Hold the robot arm **BEFORE YOU DISCONNECT MOTOR POWER** because the arm will collapse otherwise. As you hold the arm, carefully unplug the USB controller and the power adapter. Put the arm back in a safe configuration, and reconnect both the controller and the power adapter.
5972

0 commit comments

Comments
 (0)