Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ We recommand users to run this project in Ubuntu 18.04 and ROS melodic environme

Put these three packages in the src folder of a ROS workspace.

## build
## Build
Open a terminal and switch the directory to the ros workspace containing unitree_guide, then run the following command to build the project:
```
catkin_make
```
If you have any error in this step, you can raise an issue to us.
## run
## Run
In the same terminal, run the following command step by step:
```
source ./devel/setup.bash
Expand All @@ -36,7 +36,7 @@ For starting the controller, open an another terminal and switch to the same dir
./devel/lib/unitree_guide/junior_ctrl
```

## usage
## Usage
After starting the controller, the robot will lie on the ground of the simulator, then press the '2' key on the keyboard to switch the robot's finite state machine (FSM) from **Passive**(initial state) to **FixedStand**, then press the '4' key to switch the FSM from **FixedStand** to **Trotting**, now you can press the 'w' 'a' 's' 'd' key to control the translation of the robot, and press the 'j' 'l' key to control the rotation of the robot. Press the Spacebar, the robot will stop and stand on the ground
. (If there is no response, you need to click on the terminal opened for starting the controller and then repeat the previous operation)

Expand Down