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

    problems installing voxl-mpa-to-ros2

    ROS
    3
    7
    231
    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.
    • L
      LR
      last edited by 7 Nov 2024, 22:19

      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
      • Z
        Zachary Lowell 0 ModalAI Team
        last edited by 8 Nov 2024, 18:18

        @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.

        L 1 Reply Last reply 14 Nov 2024, 23:03 Reply Quote 0
        • J
          jmltt
          last edited by 9 Nov 2024, 16:43

          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
          • Z
            Zachary Lowell 0 ModalAI Team
            last edited by 11 Nov 2024, 16:23

            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
            • L
              LR @Zachary Lowell 0
              last edited by 14 Nov 2024, 23:03

              @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...

              L 2 Replies Last reply 15 Nov 2024, 14:25 Reply Quote 0
              • L
                LR @LR
                last edited by 15 Nov 2024, 14:25

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • L
                  LR @LR
                  last edited by 15 Nov 2024, 14:28

                  @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
                  1 out of 7
                  • First post
                    1/7
                    Last post
                  Powered by NodeBB | Contributors