-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use prepared ROS2 Jazzy base image for ARM and cross-compile containe…
…r on x86.
- Loading branch information
Showing
2 changed files
with
30 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,23 @@ git clone https://github.com/107-systems/l3xz-sw-pan-tilt-head | |
cd l3xz-sw-pan-tilt-head | ||
sudo ./install.sh | ||
~~~ | ||
|
||
or cross-compile image for ARM on x86: | ||
```bash | ||
docker buildx build \ | ||
--platform linux/arm64 \ | ||
--tag ros2 \ | ||
--output type=docker \ | ||
. | ||
``` | ||
followed by exporting the image and copying to the target device: | ||
```bash | ||
docker save ros2:latest | gzip > ros2_image_latest.tar.gz | ||
scp ros2_image_latest.tar.gz [email protected]:/root | ||
``` | ||
and concluded by loading the updated image: | ||
```bash | ||
docker load < ros2_image_latest.tar.gz | ||
``` | ||
The Docker environment for the ROS infrastructure will be built and the application files will be bootstrapped over the system. Finally, the software will come up as a ```systemd``` service with the name ```head.service```. | ||
The status of the software can be checked with the following command: | ||
~~~bash | ||
|