https://github.com/ar-ray-code/rpi-bullseye-ros2-xcompile
Cross compile tool based on rpi-bullseye-ros2
https://github.com/ar-ray-code/rpi-bullseye-ros2-xcompile
bullseye humble raspberrypi ros2
Last synced: 5 months ago
JSON representation
Cross compile tool based on rpi-bullseye-ros2
- Host: GitHub
- URL: https://github.com/ar-ray-code/rpi-bullseye-ros2-xcompile
- Owner: Ar-Ray-code
- License: apache-2.0
- Created: 2022-11-16T16:55:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-19T07:18:04.000Z (over 1 year ago)
- Last Synced: 2024-05-01T17:48:06.601Z (about 1 year ago)
- Topics: bullseye, humble, raspberrypi, ros2
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 6
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# rpi-bullseye-ros2-xcompile
Cross compile tool based on rpi-bullseye-ros2
## Install (create alias)
```bash
git clone https://github.com/Ar-Ray-code/rpi-bullseye-ros2-xcompile
cd rpi-bullseye-ros2-xcompile
bash create_alias.bash
source ~/.bashrc
```
## Build your packages
`xcompile_rpi_ros2 [TARGET ROS2 WORKSPACE] [Bash_SCRIPT(optional)]`
- TARGET ROS2 WORKSPACE : Target ROS2 workspace (relative paths are also acceptable)
- Bash_SCRIPT (optional) : Bash script file to be executed within Docker (Default : `${SCRIPT_DIR}/scripts/build_command.bash`)
### Building example pkg (image_common)
```bash
mkdir -p ~/ros2_ws/src/
cd ~/ros2_ws/src
git clone https://github.com/ros-perception/image_common -b ros2
``````bash
xcompile_rpi_ros2 ~/ros2_ws
# After a successful build
ls ~/ros2_ws
#> build_built_pkg_rpi built_pkg_rpi built_pkg_rpi_.zip log src
```
## rpi-bullseye-ros2
https://github.com/Ar-Ray-code/rpi-bullseye-ros2
## About author
- author : [Ar-Ray-code](https://github.com/Ar-Ray-code)
- [Twitter](https://twitter.com/Ray255Ar)