Skip to content
  • Unable to build ROS python workspace on the RB5 drone

    ROS ros rb5
    3
    0 Votes
    3 Posts
    2k Views
    P
    @Eric-Katzfey I had backed up my ROS workspace using adb pull before flashing the drone and used adb push to reinstate my workspace on the drone. This unfortunately changed up the file permissions for the folders within the workspace. I was able to fix this by deleting (using rm -rf) all folders within my ROS workspace except the src (which contains the packages I was working on) and building the packages again. I was then faced with the other CMake error visible above - @Prabhav-Gupta said in Unable to build ROS python workspace on the RB5 drone: CMake Error at /home/root/python_ws/src/vision_opencv/cv_bridge/CMakeLists.txt:16 (find_package): Could not find a package configuration file provided by "OpenCV" (requested version 3) with any of the following names: OpenCVConfig.cmake opencv-config.cmake I fixed this by building opencv from source on the drone (following this - https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html) After installing opencv, the catrkin build did not return any errors at the time. I do need to check whether my ROS Nodes are working as expected or not. Will update here once I do the same. Thank you for your time!
  • 0 Votes
    22 Posts
    7k Views
    Eric KatzfeyE
    @tahawaru Okay, that shows you have 1.14.0-2.0.78. If you want to build 1.14.0-2.0.63 then you need to check that version out instead.
  • 0 Votes
    4 Posts
    2k Views
    E
    FWIW, we are not seeing this issue on the VOXL2 flightdeck (which does not use voxl-px4-imu-server) @Moderator Is there someone else I should tag for this issue if you are unable to provide support?
  • 0 Votes
    13 Posts
    4k Views
    E
    @Moderator Unfortunately, there is not a way to configure ROS1 to use steady_clock instead of system_clock. In ROS2, it seems that this is configurable, but ModalAI does not support ROS2.
  • 0 Votes
    2 Posts
    1k Views
    tomT
    @doe43john77 You're right, that isn't the case. That doc is a bit outdated (we're going through a massive overhaul of the docs at the moment that will be live in a few weeks) As long as both devices are connected to the same VPN it would work just fine. So you absolutely could have your host machine connected to the internet via. wifi / ethernet as long as it then connects to said VPN
  • 0 Votes
    11 Posts
    3k Views
    D
    @tom Ah. This is a simple config file change. Thank you!
  • 0 Votes
    6 Posts
    2k Views
    W
    @modaltb hello, when will the next SDK release be available? Would love to the UARTs working for external FC. Thank you.