ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. GlennTee
    3. Posts
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 41
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by GlennTee

    • RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      @tom Hello again. I just tried to run the command to clone the repository and I tried running ./build.sh qrb5165, but I keep getting the same error it looks like. Could you tell me the exact command I need to run in order to clone the repository? I know @Zachary Lowell 0 already outlined the commands I should follow. Thank you again.
      168f876a-a8c9-4a58-af40-c993ddbaa91d-image.png
      4181b3c3-513e-4520-86b1-0e9bf62c1356-image.png

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      @tom Hello, when you mean docker do you mean the emulator? I'm not using a docker of any sorts (as far as I know of), but I did try running the command before the emulator and this is what I got:
      976ad564-e081-4926-ba72-5d331a0d08c9-image.png

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      @Zachary-Lowell-0 I just tried running that command a few times but I've had no luck. Is there something I'm missing? Thanks again.
      0eba554d-3e6f-4075-9141-d3efb326f974-image.png

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      @Zachary-Lowell-0 Hello again. I attempted to run all of these commands, but I ran into an error on Step 5, which is shown below:
      b7ca2ee2-6c4f-4b7b-9988-25c5209466e8-image.png
      I tried cloning the px4_ros_com package, but that did not help anything. I just also realized I never ran "voxl-configure-mpa-to-ros2" when setting up the SDK v1.4.1, could that be the reason why I'm experiencing so many problems and had to manually install packages I didn't have right off the bat such as Colcon, Eigen3, Netiface, and more? My last question is that do you know when the next SDK release will be out? Thanks again for all your help.

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      @GlennTee Hello again. I attempted to run all of these commands, but I ran into an error on Step 5, which is shown below:
      b7ca2ee2-6c4f-4b7b-9988-25c5209466e8-image.png
      I tried cloning the px4_ros_com package, but that did not help anything. I just also realized I never ran "voxl-configure-mpa-to-ros2" when setting up the SDK v1.4.1, could that be the reason why I'm experiencing so many problems and had to manually install packages I didn't have right off the bat such as Colcon, Eigen3, Netiface, and more? My last question is that do you know when the next SDK release will be out? Thanks again for all your help.

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      @Zachary-Lowell-0 Thank you, I will try this

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) px4_msgs Unrecognized In Program

      @Zachary-Lowell-0 Yes I installed voxl-ros2-foxy. This time I just tried "source /opt/ros/foxy/mpa_to_ros2/install/setup.bash" and that was accepted. However, looking now px4_msgs is still not recognized within my program.
      73d768a7-bab0-42d9-b73e-b4e84749294a-image.png

      posted in Ask your questions right here!
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) px4_msgs Unrecognized In Program

      @Zachary-Lowell-0 I tried "source /opt/ros/foxy/setup.bash" and "source install/local_setup.bash," but this was for trying to run my program. I just tried running "source /opt/ros/foxy/mpa_to_ros/install/setup.bash" and this is what I got:
      30cc7677-8b26-435a-89c7-577184be2322-image.png
      I'm using remote ssh in order to access the files on the drone.

      posted in Ask your questions right here!
      G
      GlennTee
    • (VOXL2 PX4 ROS2) px4_msgs Unrecognized In Program

      Hello. I'm attempting to use various PX4 messages in a program I am working on, but for some reason the px4_msgs package is not recognized at all. I'm not sure if it is a path issue or if I downloaded it wrong somehow, but I tried sourcing the files and that hasn't worked. Ignoring the type also hasn't worked for me. Is there any easy fix for this that I'm missing? I am urgently seeking a fix for this. Pictured below is the error that comes up:
      6f48655b-5981-4b3a-a80c-e609f3df10aa-image.png

      posted in Ask your questions right here!
      G
      GlennTee
    • RE: (VOXL2 ROS2 PX4) Can No Longer Remote ssh Through VSCode

      @tom Thank you. I tried using a different VSCode extension and now I can remotely ssh into the drone. Images of the new extension I used is shown below:
      dfc6fbd8-fde7-47d2-81d6-aec2e8bf3f11-image.png
      f2695d22-2afe-40b4-842e-2bea985f430b-image.png

      posted in Software Development
      G
      GlennTee
    • RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      @Zachary-Lowell-0 Thank you. I just tried to install and build the package (I wasn't sure in what location to put it in in Voxl2 so I put it in /home/root) and this happened:
      0160afc9-c602-416a-b93b-555ea676daf3-image.png
      I'm not exactly sure where to obtain the missing nlohmann_json library. I tried doing "sudo apt install nlohmann-json3-dev," but had no luck with this.

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: (VOXL2 ROS2 PX4) Can No Longer Remote ssh Through VSCode

      @tom Yes, I can ssh through the terminal without any problems.

      posted in Software Development
      G
      GlennTee
    • (VOXL2 ROS2 PX4) Can No Longer Remote ssh Through VSCode

      Hello again. I just recently updated to SDK version v1.4.1 to properly install specific packages I need and I'm currently having an issue where I can no longer remotely ssh into my drone through VSCode. The error message I receive says "Could not establish connection to "<ip>": The remote host does not meet the prerequisites for running VS Code server." I was not having this problem at all when I was working with the drone last Friday. There was also another I saw (but only saw once) about port forwarding being disabled on my router, could that possibly be the problem? I am urgently seeking a way to resolve this.

      posted in Software Development
      G
      GlennTee
    • (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection

      Hello. I was curious as to how I can get AprilTag detections from the MPA tag-detector service as a ros2 topic?

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: ( VOXL2 PX4 ROS2) MPA to ROS2 for Battery Voltage & Problems

      @Eric-Katzfey Sure!

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: ( VOXL2 PX4 ROS2) MPA to ROS2 for Battery Voltage & Problems

      @Eric-Katzfey Hello again. I upgraded to SDK v1.4.1 and the downloaded worked this time. I am able to echo the battery_status topic and it shows all the information. Thank you so much. I do have another question, is there a way to get tag detection as a ros2 topic just like with battery_status?

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: ( VOXL2 PX4 ROS2) MPA to ROS2 for Battery Voltage & Problems

      @Eric-Katzfey Thank you. I just tried downloading it but there appears to be a package missing that is needed. I tried looking online to find somewhere to download it from but I couldn't really find anything. Do you know where I could find it?
      c7c73b2a-2db3-4749-ae40-8dd4d2ccfb7b-image.png

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: ( VOXL2 PX4 ROS2) MPA to ROS2 for Battery Voltage & Problems

      @Zachary-Lowell-0 Would I need to wipe the drone and install the new build on to it? I also tried building your branch but I'm unsure about the location as where to put it, such as in /home/root, /opt/, etc., or if I need to use a specific build command other than "colcon build." Would you be able to clarify this? Thanks again for your help!

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • RE: ( VOXL2 PX4 ROS2) MPA to ROS2 for Battery Voltage & Problems

      @Zachary-Lowell-0 Hello. I just tried what you mentioned and I've had no luck so far. Below is my terminal window where I tried running both commands after sourcing.
      e3685032-a26d-42e4-999e-9509dcf88e9f-image.png

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee
    • ( VOXL2 PX4 ROS2) MPA to ROS2 for Battery Voltage & Problems

      Hello. I'm attempting to try and obtain the battery voltage through code for a project I am working on where I want the drone to perform different operations based on whether the battery is low. One idea was to take the MPA battery voltage data found from doing "voxl-inspect-battery" and to send it to ROS2 to be read and obtained through there. However, I keep experiencing what appears to be syntax errors whenever I try to run "ros2 launch voxl_mpa_to_ros2 voxl_mpa_to_ros2.launch" and it shows that there is no executable found whenever I run "ros2 run voxl_mpa_to_ros2 voxl_mpa_to_ros2," and with multiple files of the same name I'm not exactly sure which one to chmod. Would anyone know anything about resolving this? I am urgently seeking a fix to this. Below is the aforementioned launch file:

      <?xml version="1.0"?>

      <!--
      /****************************************************************************

      • Copyright 2023 Modal AI
      • Complete MPA launch file exposes all node params as arguments
        ****************************************************************************/
        -->

      <launch>
      <!-- start mpa node -->
      <node name="voxl_mpa_to_ros_node2" type="voxl_mpa_to_ros_node2" pkg="voxl_mpa_to_ros2" output="screen" />

      </launch>

      posted in Modal Pipe Architecture (MPA)
      G
      GlennTee