This repo contains a library that's shared by ROS software and firmware repositories. The library contains payload structs and convenience functions to facilitate communication between our ROS system and our embedded boards.k
When additions or changes to this repo are made, they need to be run through CI and merged into ROS software and firmware. Since this repo does not have its own CI until this issue is addressed, we must manually test changes.
The process is as follows:
- Make change to software repo on a branch and create a PR
- Create a draft PR in the SW Repo. You should point the rosinstall file to your HW Bridge pr branch. Example:
- git:
uri: https://github.com/uwrobotics/uwrt_mars_rover_hw_bridge.git
local-name: uwrt_mars_rover/uwrt_mars_rover_hw_bridge/lib/uwrt_mars_rover_hw_bridge/
version: fix-ros-build # Modify THIS line
- Create a draft PR in the FW repo. You should point the git submodule to your HW Bridge pr branch. Example:
[submodule "uwrt-mars-rover-hw-bridge"]
path = uwrt-mars-rover-hw-bridge
url = ../uwrt_mars_rover_hw_bridge.git
branch = fix-ros-build # Add THIS line
- Ensure all pipelines pass and link the passing pipelines in your bridge PR.
- Once approved, ask one of the leads to merge it in (Only Github admins can force this merge in).
- Change the SW repo to use the latest commit hash of HW Bridge repo.
- Convert your SW PR to non-draft.
- Change the FW repo to use the latest commit hash of HW Bridge repo.
- Convert your FW PR to non-draft.
- Get approvals and merge in SW and FW PRs!