doc: fix pip test description.

This commit is contained in:
张立军 2021-02-02 11:39:04 +08:00
parent 013714521e
commit 47a2b549e7
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ $ catkin_make
```bash
cd ~/catkin_ws/src/myCobotROS
python3 scripts/test.py
python scripts/test.py
```
## 2. Package Modules

View file

@ -42,7 +42,7 @@ $ catkin_make
```bash
cd ~/catkin_ws/src/myCobotROS
python3 scripts/test.py
python scripts/test.py
```
## 2. 模块

View file

@ -5,7 +5,7 @@ from pymycobot.genre import Angle, Coord
if __name__ == '__main__':
port = subprocess.check_output(['echo -n /dev/ttyUSB*'],
shell=True)
shell=True).decode()
mycobot = MyCobot(port)
# port = subprocess.run(['echo -n /dev/ttyUSB*'],