Update 'README.md'

This commit is contained in:
winterhalderp 2021-04-13 17:43:08 +02:00
parent cae1bf1bcf
commit 599077573d
1 changed files with 9 additions and 6 deletions

View File

@ -34,15 +34,15 @@ After a successful installation of ROS2 you should get to know it by working thr
* Work through the tutorials covering _turtlesim, rqt, topics, services, actions_
## Install Instructions
* Move to colcon workspace: `cd <workspace_path>`, eg. `cd ~/colcon_ws`
* Clone repository: `git clone git://github.com/patrickw135/pubsub.git .` (include "`.`" at the end of the command !!)
* Move to your colcon workspace `cd <workspace_path>` (eg. `cd ~/colcon_ws`)
* Clone this repository: `git clone https://egit.irs.uni-stuttgart.de/RoverLehre/ROS2_pubsub.git .` (include `.` at the end of the command !!)
* Build workspace: `colcon build` , __Note:__ Only the files inside _/src/_ are of importance.
* Remember to run `source ~/<workspace_path>/install/local_setup.sh` after every build.
Best would be to [add this command to _.bashrc_](https://egit.irs.uni-stuttgart.de/RoverLehre/ROS2_pubsub/src/branch/master/bashrc_addons.bash) (line 22-32) which is run everytime you start a new console.
This is also handy if you are working with multiple colcon workspaces simultaneously.
In order to prevent this repetitive command add [this command to _.bashrc_](https://egit.irs.uni-stuttgart.de/RoverLehre/ROS2_pubsub/src/branch/master/bashrc_addons.bash) (line 22-32). This runs everytime you start a new console.
This is also handy if you are working with multiple colcon workspaces (overlays) simultaneously.
## During Workshop
## Workshop Content
In this workshop you will:
* Create a new colcon workspace
* Create a new package inside you new colcon workspace
@ -53,4 +53,7 @@ In this workshop you will:
* Add your newly created workspace to source everytime you open a new console (.bashrc):
* Add [this](https://egit.irs.uni-stuttgart.de/RoverLehre/ROS2_pubsub/src/branch/master/bashrc_addons.bash) to end of .bashrc (`sudo nano .bashrc`)
* In the template above find all instances of "`~/ws_overlay_foxy`" and replace it with your path to your colcon workspace (keep the home directory variable `$HOME` as this indicates `~/` in bash script)
* Create a custom message (*.msg) in order to define custom interfaces between nodes by following these following [these instructions](https://egit.irs.uni-stuttgart.de/RoverLehre/ROS2_pubsub/src/branch/master/instructions_custom_topics.md).
* Create a custom message (*.msg) in order to define custom interfaces between nodes by following these following [these instructions](https://egit.irs.uni-stuttgart.de/RoverLehre/ROS2_pubsub/src/branch/master/instructions_custom_topics.md).
## Presentation
The workshop's content is covered in [this presentation]().