Skip to content

Commit 5bceb1d

Browse files
committed
fix: rovercom update
1 parent 79bb0ee commit 5bceb1d

2 files changed

Lines changed: 167 additions & 1 deletion

File tree

docs/02-development.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,18 @@ This repository is self-contained and relies heavily on `uv` for dependency mana
1414
* `make publish` - requires setting an external token with `export UV_PUBLISH_TOKEN=pypi-def...` and uploads to the official pypi index
1515

1616
Before running the `make publish*` targets, make sure to set the correct token depending on which index you are uploading to.
17+
18+
19+
# What to do when the bootspec updates
20+
21+
22+
Copy the roverd bootspec JSON schema from https://github.com/VU-ASE/rover/blob/main/spec/service-boot/schema.json. Then use the quicktype cJSON generator to generate the Python code at https://app.quicktype.io/. Use the following settings:
23+
- Make sure to specify:
24+
- Name = Service
25+
- Source type = JSON Schema
26+
27+
Paste it into [`src/roverlib/bootinfo.py`](src/roverlib/bootinfo.py)
28+
29+
# What to do when rovercom updates
30+
31+
Copy and paste the contents from the [rovercom definitions](https://github.com/VU-ASE/rovercom/blob/main/packages/python/gen/protobuf_msgs.py) to the [`src/roverlib/rovercom.py`](src/roverlib/rovercom.py) file.

src/roverlib/rovercom.py

Lines changed: 152 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)