mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
doc: fix pip test description.
This commit is contained in:
parent
013714521e
commit
47a2b549e7
3 changed files with 3 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ $ catkin_make
|
|||
|
||||
```bash
|
||||
cd ~/catkin_ws/src/myCobotROS
|
||||
python3 scripts/test.py
|
||||
python scripts/test.py
|
||||
```
|
||||
|
||||
## 2. Package Modules
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ $ catkin_make
|
|||
|
||||
```bash
|
||||
cd ~/catkin_ws/src/myCobotROS
|
||||
python3 scripts/test.py
|
||||
python scripts/test.py
|
||||
```
|
||||
|
||||
## 2. 模块
|
||||
|
|
|
|||
|
|
@ -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*'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue