Skip to content

Commit 1afaf0a

Browse files
authored
Merge pull request #8 from IOES-Lab/version_update
Version update, fix fastrtps build error, fix Qt cmake_path error, Gazebo binary install
2 parents 5bb2981 + 076c922 commit 1afaf0a

File tree

7 files changed

+94
-359
lines changed

7 files changed

+94
-359
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,22 @@ jobs:
1818
brew install gh curl
1919
2020
- name: Run install script
21-
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/main/install.sh)" -- -a
21+
run: |
22+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/main/install.sh)" -- -a
23+
if [ $? -ne 0 ]; then
24+
exit 1
25+
fi
2226
2327
- name: Run Test (ROS2 Jazzy)
24-
run: source ~/ros2_jazzy/activate_ros && cd ~/ros2_jazzy && colcon test-result --all --verbose
28+
run: |
29+
source ~/ros2_jazzy/activate_ros && cd ~/ros2_jazzy && colcon test-result --all --verbose
30+
if [ $? -ne 0 ]; then
31+
exit 1
32+
fi
2533
2634
- name: Run Test (Gazebo Harmonic)
27-
run: source ~/ros2_jazzy/activate_ros && cd ~/gz_harmonic && colcon test-result --all --verbose
35+
run: |
36+
source ~/ros2_jazzy/activate_ros && cd ~/gz_harmonic && colcon test-result --all --verbose
37+
if [ $? -ne 0 ]; then
38+
exit 1
39+
fi

README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Install ROS-Gazebo(Jazzy-Harmonic) Framework natively on Apple Silicon Macbooks
22

3-
- [![Build on macOS](https://github.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/actions/workflows/build.yml/badge.svg)](https://github.com/IOES-Lab/dave/actions/workflows/build.yml)
3+
[![Build on macOS](https://github.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/actions/workflows/build.yml/badge.svg)](https://github.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/actions/workflows/build.yml)
44

55
## One-liner installation code (🍎 (Apple Silicon) + 🤖 = 🚀❤️🤩🎉🥳)
66
- Copy and paste it on terminal
77

88
### For full installation (ROS2 Jazzy and Gazebo Harmonic, in order)
9+
- May take upto 45 minutes depending on your system. (took about 30 minutes with M3 Max MBP)
910

1011
```bash
1112
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/IOES-Lab/ROS2_Jazzy_MacOS_Native_AppleSilicon/main/install.sh)"
@@ -53,21 +54,9 @@ The reasons for installing ROS2 Jazzy natively on Apple Silicon Macbooks are:
5354
6. Post Installation
5455
- Generate a config file in the workspace
5556
- Make source script
56-
### Gazebo Harmonic Installation (`gz_install.sh`)
57-
1. Checking System Requirements
58-
- Create a workspace for Gazebo Harmonic (default: `~/gz_harmonic`)
59-
- Check the Python virtual environment
60-
2. Install Dependencies
61-
- Install Brew dependencies
62-
- Install Python dependencies
63-
- Set environmetnal variables for brew packages
64-
- Install xquartz
65-
3. Download Gazebo Harmonic Source Code
66-
- Clone Gazebo Harmonic Source Code
67-
4. Compile Gazebo Harmonic
68-
5. Post Installation
69-
- Read/append to the config file in the workspace
70-
- Regenerate source script
57+
58+
### Gazebo Harmonic Installation
59+
- Install the binary package provided by the OSRF with homebrew
7160

7261
## Notes
7362
- `eclipse-cyclonedds` is excluded from the installation process
@@ -77,6 +66,11 @@ The reasons for installing ROS2 Jazzy natively on Apple Silicon Macbooks are:
7766
## For MAVROS
7867
- Visit https://github.com/IOES-Lab/ROS2_MAVROS_AppleSilicon
7968

69+
## For Docker + Remote Desktop approach
70+
- The native install may give you chance to exploit maximum performance of the apple hardware but the ROS-Gazebo framework and related dependencies may cause issues constantly.
71+
- It's often very useful to use Docker-powered methods.
72+
- Visit [ROS2 Jazzy - Gazebo Humble Docker Installation Tutorial](https://dave-ros2.notion.site/Docker-Installation-Manual-efbf75623fc743e9b0e55c94c211a1dd#b581997fcbc0475697d6d021e7d26fb1)
73+
8074
## References: (None of below worked for me, so I made this script)
8175
- https://github.com/pfavr2/install_ros2_rolling_on_mac_m1
8276
- Much of the code design structure is referenced from this

gz_install.sh

Lines changed: 0 additions & 313 deletions
This file was deleted.

0 commit comments

Comments
 (0)