33 lines
747 B
Markdown
33 lines
747 B
Markdown
documentation
|
|
|
|
[unitree-z1-docs-english](http://dev-z1.unitree.com)
|
|
|
|
[unitree-z1-docs-chinese](http://dev-z1.cn.unitree.com)
|
|
|
|
see [unitree-z1-docs](http://dev-z1.unitree.com)
|
|
|
|
## Build docker image
|
|
```shell
|
|
docker build . -t bytelogics:z1_controller
|
|
```
|
|
|
|
## Run the docker instance
|
|
For python connection:
|
|
```shell
|
|
docker run -ti --rm --network host bytelogics:z1_controller
|
|
|
|
```
|
|
|
|
For manual build within a docker:
|
|
Make sure you are not in build folder but in the parent then run
|
|
|
|
`docker run -ti --rm --network host bytelogics:z1_controller bash`
|
|
`cmake .. -DCOMMUNICATION=ROS`
|
|
`make`
|
|
`./z1_ctrl`
|
|
you can try with
|
|
`./z1_ctrl k` for keyboard
|
|
|
|
Cmake command you can do catkin_make -DCOMMUNICATION=ROS
|
|
then you dont need to edit the cmake.txt file
|