Closed figuernd closed 3 months ago
Hey, thanks for reporting the issue. I'm aware of the warnings while compiling orb_slam_2_ros, but on my box (Ubuntu 22.04) docker build
finishes without errors, and the demo runs well. Did you ctrl-C before it finished, or did it die on it's own?
@clydemcqueen It dies on its own - tried a couple times, including --no-cache even.
@clydemcqueen tried again on an Ubuntu AMD64 system. Now it fails even earlier, during ardusub compilation.
Two likely explanations I can think of: osrf/ros:humble-desktop
has changes on more recent images, or perhaps https://github.com/ArduPilot/ardupilot_gazebo.git
has breaking changes since you do not specify a commit or tag in the Dockerfile.
Confirmed - the last main
commit of ardusub_gazebo breaks the Ubuntu build: https://github.com/ArduPilot/ardupilot_gazebo/actions/runs/9221687676
I worked around this by changing the Dockerfile to checkout the last commit to build successfully. Works in Linux now.
Thanks for tracking this down! With --no-cache I was able to reproduce the problem.
ardupilot_gazebo now defaults to harmonic. I fixed it by setting GZ_VERSION=garden before compiling ardupilot_gazebo.
At some point we may need to lock into a specific commit for both ardupilot and ardupilot_gazebo.
Awesome, thanks!
I should note that this did not fix the original issue described for OSX on Apple Silicon. My best guess is an issue with the way Docker compiles on ARM.
Running
build.sh
Running locally on my Macbook Pro M2.