Merge remote-tracking branch 'origin/master'
# Conflicts: # README.md
This commit is contained in:
commit
e1e1b13c7f
19
README.md
19
README.md
|
@ -7,7 +7,26 @@ documentation
|
||||||
see [unitree-z1-docs](http://dev-z1.unitree.com)
|
see [unitree-z1-docs](http://dev-z1.unitree.com)
|
||||||
|
|
||||||
## Build docker image
|
## Build docker image
|
||||||
|
```shell
|
||||||
docker build . -t bytelogics:z1_controller
|
docker build . -t bytelogics:z1_controller
|
||||||
|
```
|
||||||
|
|
||||||
## Run the docker instance
|
## Run the docker instance
|
||||||
|
For python connection:
|
||||||
|
```shell
|
||||||
docker run -ti --rm --network host bytelogics:z1_controller
|
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
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<configurartion>
|
<configurartion>
|
||||||
<!-- lower computer communication -->
|
<!-- lower computer communication -->
|
||||||
<IP>192.168.123.110</IP>
|
<IP>10.0.0.250</IP>
|
||||||
<Port>8881</Port>
|
<Port>8881</Port>
|
||||||
|
|
||||||
<collision>
|
<collision>
|
||||||
<open>N</open> <!-- Y or N -->
|
<open>Y</open> <!-- Y or N -->
|
||||||
<limitT>10.0</limitT> <!-- N*M -->
|
<limitT>20.0</limitT> <!-- N*M -->
|
||||||
<load>0.0</load><!-- kg-->
|
<load>0.02</load><!-- kg-->
|
||||||
</collision>
|
</collision>
|
||||||
</configurartion>
|
</configurartion>
|
||||||
|
|
Loading…
Reference in New Issue