mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 07:07:58 +00:00
builder: Add README file
This commit is contained in:
28
builder/README.md
Normal file
28
builder/README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Scripts for building Raspberry Pi image
|
||||
|
||||
This directory contains scripts for automated image building via travis-ci.org.
|
||||
|
||||
You can place the folders with the `clever` settings files (`launch`,`map` and `camera_info`) to the folder `clever-config` located in this directory. Then you can build your image with custom drone settings locally.
|
||||
|
||||
* All files from the `launch` folder will be copied to the `/home/pi/catkin_ws/src/clever/clever/launch` directory in the assembled image.
|
||||
* All files from the `map` folder will be copied to the `/home/pi/catkin_ws/src/clever/aruco_pose/map` directory in the assembled image.
|
||||
* All files from the `camera_info` folder will be copied to the `/home/pi/catkin_ws/src/clever/clever/camera_info` directory in the assembled image.
|
||||
|
||||
Install docker if needed:
|
||||
|
||||
```bash
|
||||
sudo apt install docker.io
|
||||
```
|
||||
|
||||
Build your custom image with docker:
|
||||
|
||||
```bash
|
||||
cd source-dir
|
||||
sudo docker run --privileged -it --rm -v /dev:/dev -v $(pwd):/mnt goldarte/img-tool:v0.5
|
||||
```
|
||||
|
||||
The image will be located in `images` directory in the clever-show source code directory.
|
||||
|
||||
Article about building custom image is located here:
|
||||
* English
|
||||
* [Russian](../docs/ru/image-building.md)
|
||||
Reference in New Issue
Block a user