Skip to content

Commit

Permalink
colcon
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Oct 25, 2024
1 parent c2b7d66 commit 2069360
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions btlib/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ You need to have this package installed in your workspace.
If you don't have it, build it:

```bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
mkdir -p ~/colcon_ws/src
cd ~/colcon_ws/src
git clone https://github.com/boschresearch/bt_tools.git
cd ~/catkin_ws
catkin build --symlink-install --packages-select btlib
source ~/catkin_ws/devel/setup.bash
cd ~/colcon_ws
colcon build --symlink-install --packages-select btlib
source ~/colcon_ws/devel/setup.bash
```

### Input file
Expand All @@ -47,12 +47,12 @@ For example [simple_bt.xml](https://github.com/boschresearch/bt_tools/blob/main/
Then pass it to the script:

```bash
bt_to_fsm.py ~/catkin_ws/src/bt_tools/btlib/test/_test_data/bt2fsm/simple_bt.xml
bt_to_fsm.py ~/colcon_ws/src/bt_tools/btlib/test/_test_data/bt2fsm/simple_bt.xml
```

### Output

This will generate a file called `fsm.png` in your current directory.
It will look something like this:

![FSM](imgs/fsm.png)
![FSM](imgs/fsm.png)

0 comments on commit 2069360

Please sign in to comment.