10. Building BRASH Docker images with SpaceROS
The tutorials up till now have used as base standard ROS2 distributions (Humble). BRASH can also be built on top of SpaceROS. These instructions show how to build brash docker images with spaceROS so we can use robots such as the Mars rover and the Canadarm with BRASH.
10.1. Checkout brash_demonstrations
Clone this repository:
$ cd ${HOME} $ git clone git@github.com:traclabs/brash_demonstrations
Clone the repos for cFS, brash and juicer.
$ cd ${HOME}/brash_demonstrations $ ./scripts/clone_repos.sh
10.2. Build images (dev mode)
Go to your top folder and build the images:
$ cd ${HOME}/brash_demonstrations $ ./scripts/build_images.sh
Build the workspace for
fsw
:$ cd ${HOME}/brash_demonstrations $ ./scripts/build_cfe.sh
Build the workspace for
rosgsw
:$ cd ${HOME}/brash_demonstrations $ ./scripts/build_brash.sh
10.3. Check images
To check your images, you can type in your terminal
$ docker image ls
You should see something like:
REPOSITORY TAG IMAGE ID CREATED SIZE
cfs-dev latest 02bf072a052f 14 minutes ago 507MB
spaceros-brash-dev latest a0ad2564aca0 14 minutes ago 12.6GB
<none> <none> ccc698db6005 14 minutes ago 12.6GB