ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    problems installing voxl-mpa-to-ros2

    ROS
    3
    7
    229
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LRL
      LR
      last edited by

      Hello,

      I'm following this guide https://docs.modalai.com/ros2-installation-voxl2/ to build the voxl-mpa-to-ros2 pkg and push it into VOXL2. I'm facing some problems with the instructions, in detail, I succeeded into creating the qrb5165-emulator image, then I can install the dependencies with './install_build_deps.sh qrb5165 dev', but when I try to run the build.sh file the voxl_msgs pkg fail to compile. Below the error I obtain. What am I doing wrong?

      error_mpa_ros2.png

      1 Reply Last reply Reply Quote 0
      • Zachary Lowell 0Z
        Zachary Lowell 0 ModalAI Team
        last edited by

        @LR Hi going to look into this - for now can you just install the deb as is via apt-get install voxl-mpa-to-ros2 ?

        Will let you know if I run into the same error.

        LRL 1 Reply Last reply Reply Quote 0
        • J
          jmltt
          last edited by

          This is the same build error I ran into (see here https://forum.modalai.com/topic/3908/voxl-px4-and-voxl-mpa-to-ros2-message-compatibility-and-build-issues)

          It turned out to be a issue with the version of empy installed when running install_build_dependencies (specifically in python3 -m pip install colcon-common-extensions lark)

          I resolved it by downgrading empy after running the install build dependencies script in the docker container

          python3 -m pip uninstall -y empy
          python3 -m pip install empy==3.3.4
          
          
          1 Reply Last reply Reply Quote 0
          • Zachary Lowell 0Z
            Zachary Lowell 0 ModalAI Team
            last edited by

            Yep @jmltt @LR I merged in an MR this morning that will capture this error for empy not being compatible - thanks for the find @jmltt !!!

            1 Reply Last reply Reply Quote 0
            • LRL
              LR @Zachary Lowell 0
              last edited by

              @Zachary-Lowell-0 Hi, thank you for your response! I've tried to installed it directly but when I try to access it with ros2 run voxl_mpa_to_ros2 voxl_mpa_to_ros2 it doesn't find the node, I also checked under opt/ros/foxy/mpa_to_ros2/install and the package is not there...support3.png
              I tried again to install it on the docker container with what @jmltt told me and now I have this problem
              support4.png
              Lastly I tried also to install voxl_mpa_to_ros for melodic but in this case the package contains just the launch file and not the voxl_mpa_to_ros_node so again I cannot call the function
              support5.png

              Sorry for all this...

              LRL 2 Replies Last reply Reply Quote 0
              • LRL
                LR @LR
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • LRL
                  LR @LR
                  last edited by

                  @LR I removed and reinstalled voxl-mpa-to-ros2 and that is working now, for voxl-mpa-to-ros I still have the same problem

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors