GryphonRacingAI / gra

ROS + Docker code for University of Leeds Gryphon Racing AI team 2023-24
4 stars 4 forks source link

Development container fails to build on AArch64 #31

Open frankplow opened 5 months ago

frankplow commented 5 months ago

Trying to build the development container on an Apple Silicon macbook fails here: https://github.com/ugsfume/gra/blob/d0f98eae95a57450aabc3e53386a88c1357abc1e/.devcontainer/Dockerfile#L188

with

E: Unable to locate package librealsense2-dkms

This seems to occur as the librealsense2-dkms package does not support AArch64. Workarounds posted online generally involve compiling the package from source. The official installation guide for the Raspberry Pi is probably the best reference for this.

@ugsfume Seeing as the Nvidia Jetson board uses an Arm processor, have you already encountered this issue and found a workaround? If so, is there any chance you could integrate it to the Dockerfile? EDIT: I see Jetson is an exception and they do provide pre-built packages for it.