mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 23:33:50 +00:00
update
This commit is contained in:
parent
db47b6a78c
commit
bbb134379f
14
README.md
14
README.md
@ -5,11 +5,19 @@ Follow the instructions: To use this you need the latest Docker installed and fo
|
||||
|
||||
Run:
|
||||
For instance on your PC:
|
||||
```
|
||||
docker compose run guis
|
||||
```
|
||||
|
||||
This will launch the "guis" container where you will find a full ros2 humble installation and all the dependencies this robot needs.
|
||||
|
||||
On the robot:
|
||||
```
|
||||
docker compose up -d controller teleop
|
||||
```
|
||||
|
||||
So as you can see, you will be working from the same git repository as well on the robot and your dev PC.
|
||||
For the fact all can run inside Docker makes the project super portable so everyone should be able to tinker around with it. Nice bonus perks: You won't interfere with your computer's local environment. With Docker you are even able to run multiple versions of ROS simultanously, even on unsupported Linux operating systems like Debian or NixOS. Also on MacOS. Windows might be possible but not tested.
|
||||
|
||||
|
||||
### Attention: do not launch docker compose without arguments else you will start all services at once and you won't need them.
|
||||
@ -30,7 +38,9 @@ For initialization, just call "python3 initialize.py"
|
||||
TODO: extend bot_mini_bringup, python scripts for simplyfiyng startup process.
|
||||
|
||||
## Useful commands:
|
||||
```
|
||||
rosdep install --from-paths src --ignore-src -r -y
|
||||
```
|
||||
|
||||
|
||||
### Localization using predefined map and navigation
|
||||
@ -52,9 +62,13 @@ These are the options that allows to configure the process real-time settings:
|
||||
|
||||
Example using ros2 launch:
|
||||
|
||||
```
|
||||
ros2 launch pendulum_bringup pendulum_bringup.launch.py priority:=80 cpu-affinity:=4 lock-memory-size:=100 config-child-threads:=True
|
||||
```
|
||||
|
||||
Example using the executable command line arguments:
|
||||
|
||||
```
|
||||
ros2 run pendulum_demo pendulum_demo --priority 80 --cpu-affinity:=4 --lock-memory-size 100 --config-child-threads True
|
||||
```
|
||||
Source: https://github.com/ros2-realtime-demo/pendulum/blob/rolling/docs/real_time_tutorial.md
|
||||
|
Loading…
Reference in New Issue
Block a user