Skip to content

Commit 017c21a

Browse files
authored
Merge pull request #7 from ubuntu-robotics/fix/mv-noetic
Fixes after renaming branch noetic
2 parents 18d821b + ec8af65 commit 017c21a

File tree

22 files changed

+16
-16
lines changed

22 files changed

+16
-16
lines changed

.github/workflows/ubuntu-core-image.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: TurtleBot3c Ubuntu Core image
22
on:
33
push:
44
branches:
5-
- main
5+
- noetic
66
tags:
77
- '*'
88
pull_request:
99
branches:
10-
- main
10+
- noetic
1111
workflow_dispatch:
1212

1313
jobs:
14-
turtlebot3c-pi-gadget-snap:
14+
turtlebot3c-gadget-snap:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repo
@@ -20,27 +20,27 @@ jobs:
2020
id: build-snap
2121
uses: snapcore/action-build@v1
2222
with:
23-
path: pi-gadget
23+
path: turtlebot3c-gadget
2424
- name: Upload snap artifact
2525
uses: actions/upload-artifact@v4
2626
with:
27-
name: turtlebot3c-pi-gadget-snap
27+
name: turtlebot3c-gadget-snap
2828
path: ${{ steps.build-snap.outputs.snap }}
2929
ubuntu-image:
3030
runs-on: ubuntu-latest
31-
needs: turtlebot3c-pi-gadget-snap
31+
needs: turtlebot3c-gadget-snap
3232
steps:
3333
- name: Checkout repo
3434
uses: actions/checkout@v4
3535
- name: Download gadget snap
3636
uses: actions/download-artifact@v4
3737
with:
38-
name: turtlebot3c-pi-gadget-snap
39-
path: pi-gadget
38+
name: turtlebot3c-gadget-snap
39+
path: gadget
4040
- name: Build the Ubuntu Core image
4141
run: |
4242
sudo snap install ubuntu-image --classic
43-
ubuntu-image snap turtlebot3c.model --snap ./pi-gadget/turtlebot3c-pi_*_arm64.snap
43+
ubuntu-image snap turtlebot3c.model --snap ./gadget/turtlebot3c*.snap
4444
- name: Upload snap artifact
4545
uses: actions/upload-artifact@v4
4646
with:

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Turtlebot3c Ubuntu Core image
66

77
The image contains the TurtleBot3c snaps:
8+
89
- [turtlebot3c-bringup](https://snapcraft.io/turtlebot3c-bringup)
910
- [turtlebot3c-nav](https://snapcraft.io/turtlebot3c-nav)
1011
- [turtlebot3c-teleop](https://snapcraft.io/turtlebot3c-teleop)
@@ -18,7 +19,7 @@ Mind that you need avahi installed on your remote machine, see e.g. `snap instal
1819

1920
Remember to set up the `ROS_MASTER_URI` to point to the robot:
2021

21-
```
22+
```bash
2223
ROS_MASTER_URI=http://turtelbot3c.local:11311/
2324
```
2425

@@ -36,8 +37,8 @@ and decompressing it, the image can be written to an SD card.
3637

3738
Build the gadget snap with snapcraft:
3839

39-
```
40-
cd pi-gadget
40+
```bash
41+
cd turtlebot3c-gadget
4142
snapcraft
4243
cd ../
4344
```
@@ -46,19 +47,18 @@ cd ../
4647

4748
[Sign the model](https://ubuntu.com/core/docs/sign-model-assertion) with your key:
4849

49-
```
50+
```bash
5051
snap sign -k tb3c-key turtlebot3c-model.json > turtlebot3c.model
5152
```
5253

5354
### Generate the TurtleBot3c Ubuntu Core image
5455

5556
[Generate the image](https://ubuntu.com/core/docs/build-write-image):
5657

57-
```
58-
ubuntu-image snap turtlebot3c.model --snap ./pi-gadget/turtlebot3c-pi_20-1_arm64.snap
58+
```bash
59+
ubuntu-image snap turtlebot3c.model --snap ./turtlebot3c-gadget/turtlebot3c-pi_*_arm64.snap
5960
```
6061

6162
### Boot the image
6263

6364
Write the generated image on an SD card with the [rpi-imager](https://snapcraft.io/rpi-imager) and boot.
64-
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)