VOXL2 mpatoros2 build
-
@Zachary-Lowell-0 This time instead of building with the stable tag in the install deps command I kept the dev tag and it fails to build some packages in the build stage
qrb5165-emulator:~(dev)(0.0.2)$ ./install_build_deps.sh qrb5165 dev | tee install_command_dev.log using qrb5165 dev debian repo Ign:1 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ InRelease Ign:2 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Release Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Get:3 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages [40.3 kB] Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Fetched 40.3 kB in 1s (29.7 kB/s) Reading package lists... installing: libmodal-json libmodal-pipe libvoxl-cutils voxl-ros2-foxy WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://packages.ros.org/ros/ubuntu bionic InRelease Get:2 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] Hit:3 http://packages.ros.org/ros2/ubuntu bionic InRelease Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic InRelease Ign:6 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Release Hit:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages Hit:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Hit:11 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Hit:8 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Translation-en Fetched 64.4 kB in 6s (10.1 kB/s) Reading package lists... Building dependency tree... Reading state information... 4 packages can be upgraded. Run 'apt list --upgradable' to see them. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libmodal-json libmodal-pipe libvoxl-cutils voxl-ros2-foxy 0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded. Need to get 20.5 MB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ libmodal-json 0.4.3-202209281920 [43.8 kB] Get:2 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ libmodal-pipe 2.10.0-202311162306 [86.6 kB] Get:3 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ libvoxl-cutils 0.1.1-202210072352 [6228 B] Get:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ voxl-ros2-foxy 0.0.1-202310061042 [20.3 MB] debconf: delaying package configuration, since apt-utils is not installed Fetched 20.5 MB in 2s (9809 kB/s) Selecting previously unselected package libmodal-json. (Reading database ... 118815 files and directories currently installed.) Preparing to unpack .../libmodal-json_0.4.3-202209281920_arm64.deb ... Unpacking libmodal-json (0.4.3-202209281920) ... Selecting previously unselected package libmodal-pipe. Preparing to unpack .../libmodal-pipe_2.10.0-202311162306_arm64.deb ... Unpacking libmodal-pipe (2.10.0-202311162306) ... Selecting previously unselected package libvoxl-cutils. Preparing to unpack .../libvoxl-cutils_0.1.1-202210072352_arm64.deb ... Unpacking libvoxl-cutils (0.1.1-202210072352) ... Selecting previously unselected package voxl-ros2-foxy. Preparing to unpack .../voxl-ros2-foxy_0.0.1-202310061042_arm64.deb ... Unpacking voxl-ros2-foxy (0.0.1-202310061042) ... Setting up libvoxl-cutils (0.1.1-202210072352) ... Setting up libmodal-json (0.4.3-202209281920) ... Setting up libmodal-pipe (2.10.0-202311162306) ... Setting up voxl-ros2-foxy (0.0.1-202310061042) ... Processing triggers for libc-bin (2.27-3ubuntu1.6) ... WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... libeigen3-dev is already the newest version (3.3.4-4). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.8). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-numpy is already the newest version (1:1.13.3-2ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: The directory '/home/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Requirement already satisfied: pip in /usr/local/lib/python3.6/dist-packages (21.3.1) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv WARNING: The directory '/home/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Requirement already satisfied: colcon-common-extensions in /usr/local/lib/python3.6/dist-packages (0.3.0) Requirement already satisfied: lark in /usr/local/lib/python3.6/dist-packages (1.1.9) Requirement already satisfied: colcon-recursive-crawl in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.3) Requirement already satisfied: colcon-notification in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.15) Requirement already satisfied: colcon-output in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.13) Requirement already satisfied: colcon-cmake in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.28) Requirement already satisfied: colcon-package-selection in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.10) Requirement already satisfied: colcon-python-setup-py in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.8) Requirement already satisfied: colcon-library-path in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.1) Requirement already satisfied: colcon-powershell in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.4.0) Requirement already satisfied: colcon-argcomplete in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.3) Requirement already satisfied: colcon-test-result in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.8) Requirement already satisfied: colcon-metadata in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.5) Requirement already satisfied: colcon-defaults in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.8) Requirement already satisfied: colcon-package-information in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.3) Requirement already satisfied: colcon-cd in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.1.1) Requirement already satisfied: colcon-core in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.15.2) Requirement already satisfied: colcon-devtools in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.5) Requirement already satisfied: colcon-ros in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.4.1) Requirement already satisfied: colcon-bash in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.5.0) Requirement already satisfied: colcon-parallel-executor in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.0) Requirement already satisfied: colcon-zsh in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.5.0) Requirement already satisfied: argcomplete in /usr/lib/python3/dist-packages (from colcon-argcomplete->colcon-common-extensions) (1.8.1) Requirement already satisfied: pytest in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (7.0.1) Requirement already satisfied: pytest-repeat in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (0.9.1) Requirement already satisfied: distlib in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (0.3.8) Requirement already satisfied: pytest-rerunfailures in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (10.3) Requirement already satisfied: EmPy<4 in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (3.3.4) Requirement already satisfied: packaging in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (21.3) Requirement already satisfied: setuptools>=30.3.0 in /usr/lib/python3/dist-packages (from colcon-core->colcon-common-extensions) (39.0.1) Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (4.8.3) Requirement already satisfied: pytest-cov in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (4.0.0) Requirement already satisfied: PyYAML in /usr/local/lib/python3.6/dist-packages (from colcon-defaults->colcon-common-extensions) (6.0.1) Requirement already satisfied: notify2 in /usr/local/lib/python3.6/dist-packages (from colcon-notification->colcon-common-extensions) (0.3.1) Requirement already satisfied: catkin-pkg>=0.4.14 in /usr/local/lib/python3.6/dist-packages (from colcon-ros->colcon-common-extensions) (1.0.0) Requirement already satisfied: colcon-pkg-config in /usr/local/lib/python3.6/dist-packages (from colcon-ros->colcon-common-extensions) (0.1.0) Requirement already satisfied: python-dateutil in /usr/local/lib/python3.6/dist-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (2.8.2) Requirement already satisfied: pyparsing in /usr/local/lib/python3.6/dist-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (3.1.1) Requirement already satisfied: docutils in /usr/local/lib/python3.6/dist-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (0.18.1) Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata->colcon-core->colcon-common-extensions) (4.1.1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata->colcon-core->colcon-common-extensions) (3.6.0) Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.2.3) Requirement already satisfied: attrs>=19.2.0 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (22.2.0) Requirement already satisfied: iniconfig in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.1.1) Requirement already satisfied: py>=1.8.2 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.11.0) Requirement already satisfied: pluggy<2.0,>=0.12 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.0.0) Requirement already satisfied: coverage[toml]>=5.2.1 in /usr/local/lib/python3.6/dist-packages (from pytest-cov->colcon-core->colcon-common-extensions) (6.2) Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil->catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (1.11.0) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Done installing dependencies qrb5165-emulator:~(dev)(0.0.2)$ ./clean.sh qrb5165-emulator:~(dev)(0.0.2)$ ./build.sh qrb5165 Starting >>> voxl_msgs Starting >>> voxl_offboard_figure8 Finished <<< voxl_offboard_figure8 [3.46s] Finished <<< voxl_msgs [32.9s] Starting >>> voxl_mpa_to_ros2 --- stderr: voxl_mpa_to_ros2 CMake Error at CMakeLists.txt:58 (find_package): By not providing "Findpx4_ros_com.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "px4_ros_com", but CMake did not find one. Could not find a package configuration file provided by "px4_ros_com" with any of the following names: px4_ros_comConfig.cmake px4_ros_com-config.cmake Add the installation prefix of "px4_ros_com" to CMAKE_PREFIX_PATH or set "px4_ros_com_DIR" to a directory containing one of the above files. If "px4_ros_com" provides a separate development package or SDK, be sure it has been installed. --- Failed <<< voxl_mpa_to_ros2 [13.9s, exited with code 1] Summary: 2 packages finished [48.6s] 1 package failed: voxl_mpa_to_ros2 1 package had stderr output: voxl_mpa_to_ros2 qrb5165-emulator:~(dev)(0.0.2)$
-
@Darshit-Desai said in VOXL2 mpatoros2 build:
@Zachary-Lowell-0 This time instead of building with the stable tag in the install deps command I kept the dev tag and it fails to build some packages in the build stage
Ah I see - please use the
staging
apt repo when you do the install_dep.sh file. -
@Zachary-Lowell-0 It still fails to build the package, do I need to switch the branch in git repo too, or just mention it inside the emulator as shown in the install_deps command
qrb5165-emulator:~(dev)(0.0.2)$ ./install_build_deps.sh qrb5165 staging | tee install_commang.log using qrb5165 staging debian repo Ign:1 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ InRelease Ign:2 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Release Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Get:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages [20.7 kB] Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Fetched 20.7 kB in 1s (16.1 kB/s) Reading package lists... installing: libmodal-json libmodal-pipe libvoxl-cutils voxl-ros2-foxy WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://packages.ros.org/ros/ubuntu bionic InRelease Get:2 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ InRelease Hit:4 http://packages.ros.org/ros2/ubuntu bionic InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic InRelease Ign:6 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Release Hit:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Hit:9 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Hit:11 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Hit:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:10 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Fetched 64.4 kB in 6s (10.1 kB/s) Reading package lists... Building dependency tree... Reading state information... 4 packages can be upgraded. Run 'apt list --upgradable' to see them. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... libvoxl-cutils is already the newest version (0.1.1-202210072352). voxl-ros2-foxy is already the newest version (0.0.1-202310061042). libmodal-pipe is already the newest version (2.10.0-202311162306). libmodal-json is already the newest version (0.4.3-202209281920). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... libeigen3-dev is already the newest version (3.3.4-4). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.8). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... python3-numpy is already the newest version (1:1.13.3-2ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. WARNING: The directory '/home/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Requirement already satisfied: pip in /usr/local/lib/python3.6/dist-packages (21.3.1) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv WARNING: The directory '/home/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Requirement already satisfied: colcon-common-extensions in /usr/local/lib/python3.6/dist-packages (0.3.0) Requirement already satisfied: lark in /usr/local/lib/python3.6/dist-packages (1.1.9) Requirement already satisfied: colcon-powershell in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.4.0) Requirement already satisfied: colcon-test-result in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.8) Requirement already satisfied: colcon-cd in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.1.1) Requirement already satisfied: colcon-library-path in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.1) Requirement already satisfied: colcon-package-information in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.3) Requirement already satisfied: colcon-package-selection in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.10) Requirement already satisfied: colcon-devtools in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.5) Requirement already satisfied: colcon-ros in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.4.1) Requirement already satisfied: colcon-argcomplete in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.3) Requirement already satisfied: colcon-metadata in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.5) Requirement already satisfied: colcon-output in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.13) Requirement already satisfied: colcon-notification in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.15) Requirement already satisfied: colcon-cmake in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.28) Requirement already satisfied: colcon-core in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.15.2) Requirement already satisfied: colcon-python-setup-py in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.8) Requirement already satisfied: colcon-parallel-executor in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.3.0) Requirement already satisfied: colcon-bash in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.5.0) Requirement already satisfied: colcon-zsh in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.5.0) Requirement already satisfied: colcon-recursive-crawl in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.3) Requirement already satisfied: colcon-defaults in /usr/local/lib/python3.6/dist-packages (from colcon-common-extensions) (0.2.8) Requirement already satisfied: argcomplete in /usr/lib/python3/dist-packages (from colcon-argcomplete->colcon-common-extensions) (1.8.1) Requirement already satisfied: setuptools>=30.3.0 in /usr/lib/python3/dist-packages (from colcon-core->colcon-common-extensions) (39.0.1) Requirement already satisfied: pytest in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (7.0.1) Requirement already satisfied: packaging in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (21.3) Requirement already satisfied: pytest-rerunfailures in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (10.3) Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (4.8.3) Requirement already satisfied: pytest-repeat in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (0.9.1) Requirement already satisfied: pytest-cov in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (4.0.0) Requirement already satisfied: distlib in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (0.3.8) Requirement already satisfied: EmPy<4 in /usr/local/lib/python3.6/dist-packages (from colcon-core->colcon-common-extensions) (3.3.4) Requirement already satisfied: PyYAML in /usr/local/lib/python3.6/dist-packages (from colcon-defaults->colcon-common-extensions) (6.0.1) Requirement already satisfied: notify2 in /usr/local/lib/python3.6/dist-packages (from colcon-notification->colcon-common-extensions) (0.3.1) Requirement already satisfied: colcon-pkg-config in /usr/local/lib/python3.6/dist-packages (from colcon-ros->colcon-common-extensions) (0.1.0) Requirement already satisfied: catkin-pkg>=0.4.14 in /usr/local/lib/python3.6/dist-packages (from colcon-ros->colcon-common-extensions) (1.0.0) Requirement already satisfied: pyparsing in /usr/local/lib/python3.6/dist-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (3.1.1) Requirement already satisfied: docutils in /usr/local/lib/python3.6/dist-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (0.18.1) Requirement already satisfied: python-dateutil in /usr/local/lib/python3.6/dist-packages (from catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (2.8.2) Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata->colcon-core->colcon-common-extensions) (4.1.1) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata->colcon-core->colcon-common-extensions) (3.6.0) Requirement already satisfied: iniconfig in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.1.1) Requirement already satisfied: py>=1.8.2 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.11.0) Requirement already satisfied: attrs>=19.2.0 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (22.2.0) Requirement already satisfied: pluggy<2.0,>=0.12 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.0.0) Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.6/dist-packages (from pytest->colcon-core->colcon-common-extensions) (1.2.3) Requirement already satisfied: coverage[toml]>=5.2.1 in /usr/local/lib/python3.6/dist-packages (from pytest-cov->colcon-core->colcon-common-extensions) (6.2) Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil->catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (1.11.0) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Done installing dependencies qrb5165-emulator:~(dev)(0.0.2)$ ./clean.sh qrb5165-emulator:~(dev)(0.0.2)$ ./build.sh qrb5165 Starting >>> voxl_msgs Starting >>> voxl_offboard_figure8 Finished <<< voxl_offboard_figure8 [3.50s] Finished <<< voxl_msgs [33.0s] Starting >>> voxl_mpa_to_ros2 --- stderr: voxl_mpa_to_ros2 CMake Error at CMakeLists.txt:58 (find_package): By not providing "Findpx4_ros_com.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "px4_ros_com", but CMake did not find one. Could not find a package configuration file provided by "px4_ros_com" with any of the following names: px4_ros_comConfig.cmake px4_ros_com-config.cmake Add the installation prefix of "px4_ros_com" to CMAKE_PREFIX_PATH or set "px4_ros_com_DIR" to a directory containing one of the above files. If "px4_ros_com" provides a separate development package or SDK, be sure it has been installed. --- Failed <<< voxl_mpa_to_ros2 [13.9s, exited with code 1] Summary: 2 packages finished [48.8s] 1 package failed: voxl_mpa_to_ros2 1 package had stderr output: voxl_mpa_to_ros2 qrb5165-emulator:~(dev)(0.0.2)$
-
Did you do the
git submodule update --init --recursive
in the repository - it doesn't look like you pulled down all the repositories from the gitlab. -
@Zachary-Lowell-0 I think that was what was wrong earlier, Now it's building, I will let you know how this goes
qrb5165-emulator:~(dev)(0.0.2)$ ./build.sh qrb5165 Starting >>> camera_calibration_parsers Starting >>> image_transport Starting >>> px4_msgs Starting >>> voxl_msgs Starting >>> voxl_offboard_figure8 Finished <<< voxl_offboard_figure8 [3.65s] [Processing: camera_calibration_parsers, image_transport, px4_msgs, voxl_msgs] Finished <<< voxl_msgs [41.4s] Finished <<< camera_calibration_parsers [43.9s] Starting >>> camera_info_manager [Processing: camera_info_manager, image_transport, px4_msgs] Finished <<< camera_info_manager [32.8s] Finished <<< image_transport [1min 19s] Starting >>> image_common Finished <<< image_common [11.6s] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [13min 47.8s] [6/9 complete] [px4_msgs:build 88% - 13min 45.5s]
-
@Zachary-Lowell-0 it finished with some errors, Do you think it is fine to proceed to the next step?
qrb5165-emulator:~(dev)(0.0.2)$ ./build.sh qrb5165 Starting >>> camera_calibration_parsers Starting >>> image_transport Starting >>> px4_msgs Starting >>> voxl_msgs Starting >>> voxl_offboard_figure8 Finished <<< voxl_offboard_figure8 [3.65s] [Processing: camera_calibration_parsers, image_transport, px4_msgs, voxl_msgs] Finished <<< voxl_msgs [41.4s] Finished <<< camera_calibration_parsers [43.9s] Starting >>> camera_info_manager [Processing: camera_info_manager, image_transport, px4_msgs] Finished <<< camera_info_manager [32.8s] Finished <<< image_transport [1min 19s] Starting >>> image_common Finished <<< image_common [11.6s] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] Finished <<< px4_msgs [25min 29s] Starting >>> px4_ros_com [Processing: px4_ros_com] Finished <<< px4_ros_com [38.3s] Starting >>> voxl_mpa_to_ros2 [Processing: voxl_mpa_to_ros2] --- stderr: voxl_mpa_to_ros2 In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:38:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/camera_interface.cpp:37: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/stereo_interface.h:38:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:36: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/camera_interface.cpp:37: /home/root/colcon_ws/install/image_transport/include/image_transport/publisher.h:41:83: note: #pragma message: Warning: This header is deprecated. Use 'publisher.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'publisher.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/point_cloud_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/point_cloud_interface.cpp:36: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/all_interfaces.h:37:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:36: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:38:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/all_interfaces.h:38, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:36: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h: At global scope: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interface_manager.h:37:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/mpa_ros_node.cpp:41: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:41:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/camera_interface.cpp:37: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/imu_interface.h:40:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/imu_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/all_interfaces.h:38, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:36: /home/root/colcon_ws/install/image_transport/include/image_transport/publisher.h:41:83: note: #pragma message: Warning: This header is deprecated. Use 'publisher.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'publisher.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/pose_vel_6dof_interface.h:43:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/pose_vel_6dof_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp: In function 'int findPipes(InterfaceListNode*, rclcpp::Node::SharedPtr)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:111:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(tail = head; tail->next != NULL; tail = tail->next); ^~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:113:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' FILE *fp = popen("voxl-list-pipes --mode-types", "r"); ^~~~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/ai_detection_interface.h:37:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/ai_detection_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/stereo_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:36: /home/root/colcon_ws/install/image_transport/include/image_transport/publisher.h:41:83: note: #pragma message: Warning: This header is deprecated. Use 'publisher.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'publisher.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/qvio_interface.h:42:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/qvio_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/stereo_interface.h:41:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:36: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp: In constructor 'StereoInterface::StereoInterface(rclcpp::Node::SharedPtr, const char*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:44:1: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] StereoInterface::StereoInterface( ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:52:12: note: 'sprintf' output between 6 and 101 bytes into a destination of size 64 sprintf(frameName, "%s/left", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:44:1: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] StereoInterface::StereoInterface( ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:56:12: note: 'sprintf' output between 7 and 102 bytes into a destination of size 64 sprintf(frameName, "%s/right", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp: In member function 'virtual void StereoInterface::AdvertiseTopics()': /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:70:6: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] void StereoInterface::AdvertiseTopics(){ ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:76:12: note: 'sprintf' output between 6 and 101 bytes into a destination of size 64 sprintf(topicName, "%s/left", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:70:6: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] void StereoInterface::AdvertiseTopics(){ ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:79:12: note: 'sprintf' output between 7 and 102 bytes into a destination of size 64 sprintf(topicName, "%s/right", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Finished <<< voxl_mpa_to_ros2 [42.5s] Summary: 9 packages finished [26min 52s] 1 package had stderr output: voxl_mpa_to_ros2 Done Building!
Also the next step deb file generation worked, according to the website here it says to use command apt install which I think is after I scp the .deb package on starling, does the deploy_to_voxl.sh script work which is already there in voxl_mpa_to_ros2 repo?
qrb5165-emulator:~(dev)(0.0.2)$ ./make_package.sh Package Name: voxl-mpa-to-ros2 version Number: 0.0.2 starting building Debian Package dpkg-deb: building package 'voxl-mpa-to-ros2' in 'voxl-mpa-to-ros2_0.0.2_arm64.deb'. DONE
After doing all the above steps and using dpkg inside voxl2 to install the made mpatoros2 deb it still doesn't work. When pressing tab to auto complete it shows nothing and when I explicitly copy and paste the command it gives this error
-
@Zachary-Lowell-0 I tried to build and deploy the package the second time it shows an error for ros2 foxy, Here's the complete terminal history
qrb5165-emulator:~(dev)(0.0.2)$ ./install_build_deps.sh qrb5165 staging using qrb5165 staging debian repo Ign:1 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ InRelease Ign:2 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Release Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Get:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages [20.7 kB] Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Fetched 20.7 kB in 1s (16.6 kB/s) Reading package lists... Done installing: libmodal-json libmodal-pipe libvoxl-cutils voxl-ros2-foxy Get:1 http://packages.ros.org/ros/ubuntu bionic InRelease [4680 B] Get:2 http://packages.ros.org/ros2/ubuntu bionic InRelease [4680 B] Get:3 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] Ign:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic InRelease Ign:6 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Release Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:9 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:9 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [83.3 kB] Ign:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:9 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] Hit:8 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Packages Ign:9 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:9 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:9 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Ign:9 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ Translation-en Get:12 http://packages.ros.org/ros/ubuntu bionic/main arm64 Packages [793 kB] Get:13 http://packages.ros.org/ros2/ubuntu bionic/main arm64 Packages [660 kB] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1845 kB] Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [554 kB] Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1718 kB] Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [421 kB] Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1559 kB] Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1173 kB] Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [308 kB] Fetched 9365 kB in 7s (1308 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 4 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libmodal-json libmodal-pipe libvoxl-cutils voxl-ros2-foxy 0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded. Need to get 20.4 MB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ libmodal-json 0.4.3 [44.1 kB] Get:2 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ libmodal-pipe 2.10.0 [86.6 kB] Get:3 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ libvoxl-cutils 0.1.1 [6228 B] Get:4 http://voxl-packages.modalai.com ./dists/qrb5165/staging/binary-arm64/ voxl-ros2-foxy 0.0.1 [20.3 MB] Fetched 20.4 MB in 2s (10.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libmodal-json. (Reading database ... 118745 files and directories currently installed.) Preparing to unpack .../libmodal-json_0.4.3_arm64.deb ... Unpacking libmodal-json (0.4.3) ... Selecting previously unselected package libmodal-pipe. Preparing to unpack .../libmodal-pipe_2.10.0_arm64.deb ... Unpacking libmodal-pipe (2.10.0) ... Selecting previously unselected package libvoxl-cutils. Preparing to unpack .../libvoxl-cutils_0.1.1_arm64.deb ... Unpacking libvoxl-cutils (0.1.1) ... Selecting previously unselected package voxl-ros2-foxy. Preparing to unpack .../voxl-ros2-foxy_0.0.1_arm64.deb ... Unpacking voxl-ros2-foxy (0.0.1) ... Setting up libvoxl-cutils (0.1.1) ... Setting up libmodal-json (0.4.3) ... Setting up libmodal-pipe (2.10.0) ... Setting up voxl-ros2-foxy (0.0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1.6) ... Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libeigen3-doc libmrpt-dev The following NEW packages will be installed: libeigen3-dev 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 810 kB of archives. After this operation, 7128 kB of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 libeigen3-dev all 3.3.4-4 [810 kB] Fetched 810 kB in 1s (593 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libeigen3-dev. (Reading database ... 137052 files and directories currently installed.) Preparing to unpack .../libeigen3-dev_3.3.4-4_all.deb ... Unpacking libeigen3-dev (3.3.4-4) ... Setting up libeigen3-dev (3.3.4-4) ... Reading package lists... Done Building dependency tree Reading state information... Done python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.8). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done python3-numpy is already the newest version (1:1.13.3-2ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. The directory '/home/root/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/root/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting pip Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB) 100% |################################| 1.7MB 474kB/s Installing collected packages: pip Found existing installation: pip 9.0.1 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed pip-21.3.1 WARNING: The directory '/home/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Collecting colcon-common-extensions Downloading colcon_common_extensions-0.3.0-py3-none-any.whl (6.5 kB) Collecting lark Downloading lark-1.1.9-py3-none-any.whl (111 kB) |################################| 111 kB 6.2 MB/s Collecting colcon-devtools Downloading colcon_devtools-0.2.5-py3-none-any.whl (10 kB) Collecting colcon-powershell Downloading colcon_powershell-0.4.0-py3-none-any.whl (13 kB) Collecting colcon-cd Downloading colcon_cd-0.1.1-py3-none-any.whl (3.6 kB) Collecting colcon-ros Downloading colcon_ros-0.4.1-py3-none-any.whl (28 kB) Collecting colcon-core Downloading colcon_core-0.15.2-py3-none-any.whl (130 kB) |################################| 130 kB 20.4 MB/s Collecting colcon-package-selection Downloading colcon_package_selection-0.2.10-py3-none-any.whl (16 kB) Collecting colcon-parallel-executor Downloading colcon_parallel_executor-0.3.0-py3-none-any.whl (10.0 kB) Collecting colcon-python-setup-py Downloading colcon_python_setup_py-0.2.8-py3-none-any.whl (11 kB) Collecting colcon-library-path Downloading colcon_library_path-0.2.1-py3-none-any.whl (4.9 kB) Collecting colcon-notification Downloading colcon_notification-0.2.15-py3-none-any.whl (63 kB) |################################| 63 kB 17.3 MB/s Collecting colcon-package-information Downloading colcon_package_information-0.3.3-py3-none-any.whl (15 kB) Collecting colcon-argcomplete Downloading colcon_argcomplete-0.3.3-py3-none-any.whl (6.9 kB) Collecting colcon-output Downloading colcon_output-0.2.13-py3-none-any.whl (14 kB) Collecting colcon-metadata Downloading colcon_metadata-0.2.5-py3-none-any.whl (19 kB) Collecting colcon-recursive-crawl Downloading colcon_recursive_crawl-0.2.3-py3-none-any.whl (8.3 kB) Collecting colcon-test-result Downloading colcon_test_result-0.3.8-py3-none-any.whl (8.5 kB) Collecting colcon-zsh Downloading colcon_zsh-0.5.0-py3-none-any.whl (10 kB) Collecting colcon-cmake Downloading colcon_cmake-0.2.28-py3-none-any.whl (26 kB) Collecting colcon-bash Downloading colcon_bash-0.5.0-py3-none-any.whl (11 kB) Collecting colcon-defaults Downloading colcon_defaults-0.2.8-py3-none-any.whl (10.0 kB) Requirement already satisfied: argcomplete in /usr/lib/python3/dist-packages (from colcon-argcomplete->colcon-common-extensions) (1.8.1) Collecting pytest-rerunfailures Downloading pytest_rerunfailures-10.3-py3-none-any.whl (11 kB) Collecting pytest-cov Downloading pytest_cov-4.0.0-py3-none-any.whl (21 kB) Collecting EmPy<4 Downloading empy-3.3.4.tar.gz (62 kB) |################################| 62 kB 11.9 MB/s Preparing metadata (setup.py) ... done Collecting pytest-repeat Downloading pytest_repeat-0.9.1-py2.py3-none-any.whl (4.3 kB) Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) |################################| 40 kB 19.9 MB/s Collecting importlib-metadata Downloading importlib_metadata-4.8.3-py3-none-any.whl (17 kB) Collecting distlib Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB) |################################| 468 kB 17.6 MB/s Collecting pytest Downloading pytest-7.0.1-py3-none-any.whl (296 kB) |################################| 296 kB 9.9 MB/s Requirement already satisfied: setuptools>=30.3.0 in /usr/lib/python3/dist-packages (from colcon-core->colcon-common-extensions) (39.0.1) Collecting PyYAML Downloading PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (669 kB) |################################| 669 kB 12.8 MB/s Collecting notify2 Downloading notify2-0.3.1-py2.py3-none-any.whl (8.0 kB) Collecting catkin-pkg>=0.4.14 Downloading catkin_pkg-1.0.0-py3-none-any.whl (75 kB) |################################| 75 kB 16.1 MB/s Collecting colcon-pkg-config Downloading colcon_pkg_config-0.1.0-py3-none-any.whl (4.5 kB) Collecting pyparsing Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB) |################################| 103 kB 20.0 MB/s Collecting docutils Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB) |################################| 570 kB 19.1 MB/s Collecting python-dateutil Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) |################################| 247 kB 18.1 MB/s Collecting typing-extensions>=3.6.4 Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting zipp>=0.5 Downloading zipp-3.6.0-py3-none-any.whl (5.3 kB) Collecting iniconfig Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB) Collecting py>=1.8.2 Downloading py-1.11.0-py2.py3-none-any.whl (98 kB) |################################| 98 kB 20.8 MB/s Collecting pluggy<2.0,>=0.12 Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB) Collecting attrs>=19.2.0 Downloading attrs-22.2.0-py3-none-any.whl (60 kB) |################################| 60 kB 17.4 MB/s Collecting tomli>=1.0.0 Downloading tomli-1.2.3-py3-none-any.whl (12 kB) Collecting coverage[toml]>=5.2.1 Downloading coverage-6.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (204 kB) |################################| 204 kB 16.8 MB/s Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil->catkin-pkg>=0.4.14->colcon-ros->colcon-common-extensions) (1.11.0) Building wheels for collected packages: EmPy Building wheel for EmPy (setup.py) ... done Created wheel for EmPy: filename=empy-3.3.4-py3-none-any.whl size=30432 sha256=7aaac4f46269440080b5fd1597ad075e270550f0906429e1e9fecd21b7b8c56f Stored in directory: /tmp/pip-ephem-wheel-cache-aly7of64/wheels/db/22/d4/99f3395c08193a04ea67564f4f4f86b8d342a5538372227492 Successfully built EmPy Installing collected packages: zipp, typing-extensions, pyparsing, importlib-metadata, tomli, py, pluggy, packaging, iniconfig, coverage, attrs, pytest, pytest-rerunfailures, pytest-repeat, pytest-cov, EmPy, distlib, colcon-core, python-dateutil, docutils, colcon-test-result, colcon-library-path, PyYAML, notify2, colcon-recursive-crawl, colcon-python-setup-py, colcon-pkg-config, colcon-package-information, colcon-cmake, catkin-pkg, colcon-zsh, colcon-ros, colcon-powershell, colcon-parallel-executor, colcon-package-selection, colcon-output, colcon-notification, colcon-metadata, colcon-devtools, colcon-defaults, colcon-cd, colcon-bash, colcon-argcomplete, lark, colcon-common-extensions Successfully installed EmPy-3.3.4 PyYAML-6.0.1 attrs-22.2.0 catkin-pkg-1.0.0 colcon-argcomplete-0.3.3 colcon-bash-0.5.0 colcon-cd-0.1.1 colcon-cmake-0.2.28 colcon-common-extensions-0.3.0 colcon-core-0.15.2 colcon-defaults-0.2.8 colcon-devtools-0.2.5 colcon-library-path-0.2.1 colcon-metadata-0.2.5 colcon-notification-0.2.15 colcon-output-0.2.13 colcon-package-information-0.3.3 colcon-package-selection-0.2.10 colcon-parallel-executor-0.3.0 colcon-pkg-config-0.1.0 colcon-powershell-0.4.0 colcon-python-setup-py-0.2.8 colcon-recursive-crawl-0.2.3 colcon-ros-0.4.1 colcon-test-result-0.3.8 colcon-zsh-0.5.0 coverage-6.2 distlib-0.3.8 docutils-0.18.1 importlib-metadata-4.8.3 iniconfig-1.1.1 lark-1.1.9 notify2-0.3.1 packaging-21.3 pluggy-1.0.0 py-1.11.0 pyparsing-3.1.1 pytest-7.0.1 pytest-cov-4.0.0 pytest-repeat-0.9.1 pytest-rerunfailures-10.3 python-dateutil-2.8.2 tomli-1.2.3 typing-extensions-4.1.1 zipp-3.6.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Done installing dependencies
-
@Zachary-Lowell-0 Part 2 of the tee log
qrb5165-emulator:~(dev)(0.0.2)$ ./clean.sh qrb5165-emulator:~(dev)(0.0.2)$ ./build.sh qrb5165 Starting >>> camera_calibration_parsers Starting >>> image_transport Starting >>> px4_msgs Starting >>> voxl_msgs Starting >>> voxl_offboard_figure8 Finished <<< voxl_offboard_figure8 [3.55s] [Processing: camera_calibration_parsers, image_transport, px4_msgs, voxl_msgs] Finished <<< voxl_msgs [40.9s] Finished <<< camera_calibration_parsers [43.8s] Starting >>> camera_info_manager [Processing: camera_info_manager, image_transport, px4_msgs] Finished <<< image_transport [1min 16s] Finished <<< camera_info_manager [32.9s] Starting >>> image_common Finished <<< image_common [11.6s] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] [Processing: px4_msgs] Finished <<< px4_msgs [24min 59s] Starting >>> px4_ros_com [Processing: px4_ros_com] Finished <<< px4_ros_com [38.0s] Starting >>> voxl_mpa_to_ros2 [Processing: voxl_mpa_to_ros2] --- stderr: voxl_mpa_to_ros2 In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:38:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/camera_interface.cpp:37: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/stereo_interface.h:38:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:36: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/camera_interface.cpp:37: /home/root/colcon_ws/install/image_transport/include/image_transport/publisher.h:41:83: note: #pragma message: Warning: This header is deprecated. Use 'publisher.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'publisher.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/stereo_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:36: /home/root/colcon_ws/install/image_transport/include/image_transport/publisher.h:41:83: note: #pragma message: Warning: This header is deprecated. Use 'publisher.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'publisher.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/point_cloud_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/point_cloud_interface.cpp:36: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/ai_detection_interface.h:37:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/ai_detection_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:41:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/camera_interface.cpp:37: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/imu_interface.h:40:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/imu_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/stereo_interface.h:41:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:36: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/qvio_interface.h:42:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/qvio_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/all_interfaces.h:37:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:36: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:38:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/all_interfaces.h:38, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:36: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h: At global scope: /home/root/colcon_ws/install/image_transport/include/image_transport/image_transport.h:41:89: note: #pragma message: Warning: This header is deprecated. Use 'image_transport.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'image_transport.hpp' instead") ^ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/pose_vel_6dof_interface.h:43:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/pose_vel_6dof_interface.cpp:34: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/camera_interface.h:39:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/all_interfaces.h:38, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:3@Darshit-Desai 6: /home/root/colcon_ws/install/image_transport/include/image_transport/publisher.h:41:83: note: #pragma message: Warning: This header is deprecated. Use 'publisher.hpp' instead #pragma message ("Warning: This header is deprecated. Use 'publisher.hpp' instead") ^ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp: In constructor 'StereoInterface::StereoInterface(rclcpp::Node::SharedPtr, const char*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:44:1: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] StereoInterface::StereoInterface( ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:52:12: note: 'sprintf' output between 6 and 101 bytes into a destination of size 64 sprintf(frameName, "%s/left", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:44:1: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] StereoInterface::StereoInterface( ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:56:12: note: 'sprintf' output between 7 and 102 bytes into a destination of size 64 sprintf(frameName, "%s/right", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp: In member function 'virtual void StereoInterface::AdvertiseTopics()': /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:70:6: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] void StereoInterface::AdvertiseTopics(){ ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:76:12: note: 'sprintf' output between 6 and 101 bytes into a destination of size 64 sprintf(topicName, "%s/left", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:70:6: warning: '%s' directive writing up to 95 bytes into a region of size 64 [-Wformat-overflow=] void StereoInterface::AdvertiseTopics(){ ^~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/stereo_interface.cpp:79:12: note: 'sprintf' output between 7 and 102 bytes into a destination of size 64 sprintf(topicName, "%s/right", m_pipeName); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp: In function 'int findPipes(InterfaceListNode*, rclcpp::Node::SharedPtr)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:111:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(tail = head; tail->next != NULL; tail = tail->next); ^~~ /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/interface_manager.cpp:113:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' FILE *fp = popen("voxl-list-pipes --mode-types", "r"); ^~~~ In file included from /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interface_manager.h:37:0, from /home/root/colcon_ws/src/voxl_mpa_to_ros2/src/mpa_ros_node.cpp:41: /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h: In static member function 'static void GenericInterface::_interface_dc_cb(int, void*)': /home/root/colcon_ws/src/voxl_mpa_to_ros2/include/voxl_mpa_to_ros2/interfaces/generic_interface.h:166:38: warning: unused parameter 'ch' [-Wunused-parameter] static void _interface_dc_cb(int ch, void* context){ ^~ --- Finished <<< voxl_mpa_to_ros2 [40.3s] Summary: 9 packages finished [26min 19s] 1 package had stderr output: voxl_mpa_to_ros2 Done Building! qrb5165-emulator:~(dev)(0.0.2)$ ./make_package.sh Package Name: voxl-mpa-to-ros2 version Number: 0.0.2 starting building Debian Package dpkg-deb: building package 'voxl-mpa-to-ros2' in 'voxl-mpa-to-ros2_0.0.2_arm64.deb'. DONE qrb5165-emulator:~(dev)(0.0.2)$ ./deploy_to_voxl.sh searching for ADB device checking VOXL for dpkg/opkg dpkg detected voxl-mpa-to-ros2_0.0.2_arm64.deb: 1 file pushed. 5.4 MB/s (13614708 bytes in 2.419s) (Reading database ... 101749 files and directories currently installed.) Preparing to unpack .../voxl-mpa-to-ros2_0.0.2_arm64.deb ... Unpacking voxl-mpa-to-ros2 (0.0.2) over (0.0.2) ... dpkg: voxl-mpa-to-ros2: dependency problems, but configuring anyway as you requested: voxl-mpa-to-ros2 depends on voxl-microdds-agent; however: Package voxl-microdds-agent is not installed. voxl-mpa-to-ros2 depends on voxl-ros2-foxy; however: Package voxl-ros2-foxy is not installed. Setting up voxl-mpa-to-ros2 (0.0.2) ... DONE qrb5165-emulator:~(dev)(0.0.2)$
-
@Zachary-Lowell-0 I used this method this time using the dev branch (https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros2/-/tree/master?ref_type=heads#build-instructions-if-running-directly-on-target-voxl2) after building and deploying using the emulator method, I also installed voxl-ros2-foxy voxl-microdds since the emulator build wasn't transferring that to voxl2 os. I know that this might be obsolete but this is the only one that is working
Here's the result from colcon building the package in colcon_ws of this repo https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros2.git
It has worse publish rate and I checked my network wifi which had no load
swarm_researchers@swarm-Alienware-Aurora-R16:~$ ros2 topic hz /hires_small_grey average rate: 2.077 min: 0.341s max: 0.726s std dev: 0.17387s window: 3 average rate: 2.360 min: 0.339s max: 0.726s std dev: 0.13672s window: 6 average rate: 2.474 min: 0.339s max: 0.726s std dev: 0.11510s window: 9 average rate: 2.550 min: 0.339s max: 0.726s std dev: 0.10185s window: 12 average rate: 2.165 min: 0.339s max: 1.393s std dev: 0.27509s window: 14 average rate: 2.257 min: 0.339s max: 1.393s std dev: 0.25294s window: 17 average rate: 2.322 min: 0.339s max: 1.393s std dev: 0.23513s window: 20 average rate: 2.375 min: 0.339s max: 1.393s std dev: 0.22066s window: 23 average rate: 2.322 min: 0.339s max: 1.393s std dev: 0.21999s window: 25 average rate: 2.370 min: 0.339s max: 1.393s std dev: 0.20941s window: 28 ^Cswarm_researchers@swarm-Alienware-Aurora-R16:~$ ros2 topic hz /hires_small_color average rate: 1.369 min: 0.701s max: 0.774s std dev: 0.03163s window: 3 average rate: 1.356 min: 0.701s max: 0.774s std dev: 0.02594s window: 5 average rate: 1.030 min: 0.701s max: 2.141s std dev: 0.52354s window: 6 average rate: 0.994 min: 0.701s max: 2.141s std dev: 0.49773s window: 8 ^Cswarm_researchers@swarm-Alienware-Aurora-R16:~$ ros2 run hz /tof_pc Package 'hz' not found swarm_researchers@swarm-Alienware-Aurora-R16:~$ ros2 run topic hz /tof_pc Package 'topic' not found swarm_researchers@swarm-Alienware-Aurora-R16:~$ ros2 topic hz /tof_pc average rate: 4.068 min: 0.190s max: 0.409s std dev: 0.08262s window: 5 average rate: 3.965 min: 0.190s max: 0.409s std dev: 0.08435s window: 9 average rate: 4.188 min: 0.190s max: 0.409s std dev: 0.07035s window: 14 average rate: 3.739 min: 0.180s max: 0.613s std dev: 0.11593s window: 18 average rate: 3.923 min: 0.180s max: 0.613s std dev: 0.10555s window: 23 average rate: 4.037 min: 0.180s max: 0.613s std dev: 0.09716s window: 28 average rate: 4.007 min: 0.180s max: 0.613s std dev: 0.09788s window: 32 average rate: 3.972 min: 0.180s max: 0.613s std dev: 0.09670s window: 36 ^Cswarm_researchers@swarm-Alienware-Aurora-R16:~$ ros2 topic echo /tof_pc header: stamp: sec: 0 nanosec: 2784441627 frame_id: world height: 1 width: 38528 fields: - name: x offset: 0 datatype: 7 count: 1 - name: y offset: 4 datatype: 7 count: 1 - name: z offset: 8 datatype: 7 count: 1 is_bigendian: false point_step: 12 row_step: 462336 data: - 0 - 0 Basically all zeroes
It also fails when I try to subscribe to hires_large topics
voxl2:~$ ros2 run voxl_mpa_to_ros2 voxl_mpa_to_ros2_node Found new interface: hires_large_color Found new interface: hires_large_encoded Found new interface: hires_large_grey Found new interface: hires_small_color Found new interface: hires_small_encoded Found new interface: hires_small_grey Found new interface: hires_snapshot Found new interface: qvio_overlay Found new interface: tof_conf Found new interface: tof_depth Found new interface: tof_ir Found new interface: tracking Found new interface: imu_apps Found new interface: tof_pc Found new interface: voa_pc_out Found new interface: vvhub_body_wrt_fixed Found new interface: vvhub_body_wrt_local Found new interface: qvio Interface hires_small_grey now publishing ERROR: invalid metadata, magic number=1347375700, expected 1448040524 most likely client fell behind and pipe overflowed Interface hires_small_grey ceasing to publish Interface tof_conf now publishing Interface hires_small_color now publishing Interface tof_conf ceasing to publish Interface hires_small_color ceasing to publish Interface tof_depth now publishing Interface tof_depth ceasing to publish Interface tof_depth now publishing Interface qvio_overlay now publishing Interface tof_depth ceasing to publish Interface hires_small_color now publishing Interface qvio_overlay ceasing to publish Interface hires_small_color ceasing to publish Interface hires_small_color now publishing Interface hires_small_color ceasing to publish Interface tof_ir now publishing Interface tof_depth now publishing Interface tof_ir ceasing to publish Interface tof_depth ceasing to publish Interface hires_small_grey now publishing ERROR: invalid metadata, magic number=-1701011557, expected 1448040524 most likely client fell behind and pipe overflowed Interface hires_small_grey ceasing to publish Interface hires_small_color now publishing Interface hires_small_color ceasing to publish Interface tof_pc now publishing Interface tof_pc ceasing to publish Interface tof_pc now publishing Interface tof_pc ceasing to publish
-
@Darshit-Desai said in VOXL2 mpatoros2 build:
https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros2.git
@Darshit-Desai I am a bit lost as to why having wifi would matter in this instance. When you run voxl-inspect-cam -a what is the output? Are all the cameras actively streaming at 30 FPS from camera server?