Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ else
### unitree_sdk2_python
1. Run
```bash
cd example/python

python3 ./stand_go2.py # Control the robot in the simulation (make sure the Go2 simulation scene has been loaded)
python3 ./stand_go2.py enp3s0 # Control the physical robot, where enp3s0 is the name of the network card connected to the robot
```
Expand Down Expand Up @@ -307,4 +309,4 @@ export ROS_DOMAIN_ID=1 # Modify the domain id to match the simulation
source ~/unitree_ros2/setup.sh # Use the network card connected to the robot
export ROS_DOMAIN_ID=0 # Use the default domain id
./install/stand_go2/bin/stand_go2 # Run
```
```
4 changes: 3 additions & 1 deletion readme_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ else
### unitree_sdk2_python
1. 运行:
```bash
cd example/python

python3 ./stand_go2.py # 控制仿真中的机器人 (需确保 Go2 仿真场景已经加载)
python3 ./stand_go2.py enp3s0 # 控制机器人实物,其中 enp3s0 为机器人所连接的网卡名称
```
Expand Down Expand Up @@ -315,4 +317,4 @@ export ROS_DOMAIN_ID=1 # 修改domain id 与仿真一致
source ~/unitree_ros2/setup.sh # 使用机器人连接的网卡
export ROS_DOMAIN_ID=0 # 使用默认的 domain id
./install/stand_go2/bin/stand_go2 # 运行
```
```