Skip to content

Commit

Permalink
Update README with notice to solve the Permission denied error while …
Browse files Browse the repository at this point in the history
…opening serial port.
  • Loading branch information
lingbomeng committed Jun 5, 2023
1 parent 1a5b78d commit 9c76817
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion unitree_lidar_sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ A Cloud msg is parsed!

Here, we print the first 10 points of the pointcloud message and the quaternion of the IMU message.

**Notice**:
- In Ubuntu, accessing a serial port device requires the appropriate permissions. If your C++ program does not have sufficient permissions to access the serial port device, you will get a **"Permission denied"** error.
- To solve this error, you can use the following command to add the current user to the dialout group:
```
sudo usermod -a -G dialout $USER
```
- After adding the user to the dialout group, you need to log out and log back in for the changes to take effect.


## Version History

### v1.0.0 (2023.05.04)
Expand All @@ -127,4 +136,5 @@ Here, we print the first 10 points of the pointcloud message and the quaternion
- Support firmware version: 1.0.1

### v1.0.5 (2023.06.05)
- Update default rotate_yaw_bias to calibrated value -38.5 degree
- Update default rotate_yaw_bias to calibrated value -38.5 degree.
- Update `README.md` with notice to solve the "Permission denied" error while opening serial port.

0 comments on commit 9c76817

Please sign in to comment.