{"id":20088234,"url":"https://github.com/alexistm/ros2-odroidxu4","last_synced_at":"2026-03-19T13:34:05.049Z","repository":{"id":150829627,"uuid":"139947709","full_name":"AlexisTM/ros2-odroidxu4","owner":"AlexisTM","description":"ROS2 XU4 crosscompile ","archived":false,"fork":false,"pushed_at":"2018-07-06T08:24:19.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-06T02:36:45.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexisTM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-06T07:15:58.000Z","updated_at":"2025-01-02T22:48:55.000Z","dependencies_parsed_at":"2023-04-24T17:01:30.486Z","dependency_job_id":null,"html_url":"https://github.com/AlexisTM/ros2-odroidxu4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexisTM/ros2-odroidxu4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fros2-odroidxu4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fros2-odroidxu4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fros2-odroidxu4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fros2-odroidxu4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexisTM","download_url":"https://codeload.github.com/AlexisTM/ros2-odroidxu4/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexisTM%2Fros2-odroidxu4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29461911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T22:42:09.113Z","status":"ssl_error","status_checked_at":"2026-02-14T22:42:05.053Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T16:12:54.035Z","updated_at":"2026-02-15T00:32:55.294Z","avatar_url":"https://github.com/AlexisTM.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ros2-odroidxu4\nROS2 XU4 crosscompile \n\n*Current issues:*\n\n* `-rdynamic` not recognized by the toolchain\n* How to use the sysroot for precompiled libraries?\n\n## Install cross tool package\n\n\u003e http://odroid.com/dokuwiki/doku.php?id=en:xu3_building_kernel\n\n```bash\n$ sudo mkdir /opt/toolchains\n$ sudo cp arm-eabi-4.6.tar.gz /opt/toolchains\n$ cd /opt/toolchains\n$ sudo tar zxvf arm-eabi-4.6.tar.gz\n```\n\nAdd the following to .bashrc or equivalent\n\n```bash\ncross_odroidxu4() {\n  export ARCH=arm\n  export PATH=${PATH}:/opt/toolchains/arm-eabi-4.6/bin\n  export CROSS_COMPILE=arm-eabi-\n}\n```\n\n## Setup ROS2 build environnement\n\n\u003e https://github.com/ros2/ros2/wiki/Linux-Development-Setup\n\n```bash\nsudo apt update\nsudo apt install -y git wget\nsudo apt install -y build-essential cppcheck cmake libopencv-dev python-empy python3-catkin-pkg-modules python3-dev python3-empy python3-nose python3-pip python3-pyparsing python3-setuptools python3-vcstool python3-yaml libtinyxml-dev libeigen3-dev libassimp-dev libpoco-dev\n# [Ubuntu 16.04] you will need a newer setuptools version than the one available from Debian\nsudo -H python3 -m pip install -U setuptools\nsudo apt install -y python3-colcon-common-extensions\n# dependencies for testing\nsudo apt install -y clang-format pydocstyle pyflakes python3-coverage python3-mock python3-pep8 uncrustify\n# Install argcomplete for command-line tab completion from the ROS2 tools.\n# Install from pip rather than from apt the version in Ubuntu is too old:\nsudo -H python3 -m pip install argcomplete\n# additional testing dependencies from pip (because not available on Ubuntu)\nsudo -H python3 -m pip install flake8 flake8-blind-except flake8-builtins flake8-class-newline flake8-comprehensions flake8-deprecated flake8-docstrings flake8-import-order flake8-quotes\n# [Ubuntu 18.04] Install pytest and pytest plugins\nsudo apt install -y python3-pytest python3-pytest-cov python3-pytest-runner\n# [Ubuntu 16.04] Install pytest and pytest plugins from pip\nsudo -H python3 -m pip install pytest pytest-cov pytest-runner\n# additional pytest plugins unavailable from Debian\nsudo -H python3 -m pip install pytest-repeat pytest-rerunfailures\n# dependencies for FastRTPS\nsudo apt install -y libasio-dev libtinyxml2-dev\n# [Ubuntu 16.04] install dependencies for building poco\nsudo apt install -y libexpat1-dev libpcre3-dev libsqlite3-dev zlib1g-dev\n# dependencies for RViz\nsudo apt install -y libcurl4-openssl-dev libfreetype6-dev libgles2-mesa-dev libglu1-mesa-dev libqt5core5a libqt5gui5 libqt5opengl5 libqt5widgets5 libxaw7-dev libxrandr-dev qtbase5-dev\n```\n\n\n## Building\n\nSYSROOT:\n\n```bash\nsudo apt install sshfs\nmkdir -p ~/SYSROOT\nsshfs -o follow_symlinks -o transform_symlinks root@172.22.72.100:/ ~/SYSROOT/\n```\n\n\u003e https://github.com/ros2-for-arm/ros2/wiki/ROS2-on-arm-architecture\n\n```bash\nmkdir -p ros2_ws/src\ncd ros2_ws\nwget https://raw.githubusercontent.com/ros2/ros2/release-latest/ros2.repos\nwget https://raw.githubusercontent.com/ros2-for-arm/ros2/master/ros2-for-arm.repos\nwget https://raw.githubusercontent.com/AlexisTM/ros2-odroidxu4/master/armv7l_toolchainfile.cmake\nvcs-import src \u003c ros2.repos \nvcs-import src \u003c ros2-for-arm.repos\n\ncolcon build --symlink-install --merge-install --cmake-args -DCMAKE_TOOLCHAIN_FILE=`pwd`/armv7l_toolchainfile.cmake -DTHIRDPARTY=ON\n```\n\n## Build\n\n```bash\nsrc/ament/ament_tools/scripts/ament.py build --force-cmake-configure --cmake-args -DCMAKE_TOOLCHAIN_FILE=`pwd`/armv7l_toolchainfile.cmake -DTHIRDPARTY=ON\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexistm%2Fros2-odroidxu4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexistm%2Fros2-odroidxu4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexistm%2Fros2-odroidxu4/lists"}