@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.
Posts made by GlennTee
-
RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection
-
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:
-
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.
-
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:
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. -
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:
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. -
RE: (VOXL2 PX4 ROS2) MPA to ROS2 Tag Detection
@Zachary-Lowell-0 Thank you, I will try this
-
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.
-
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:
I'm using remote ssh in order to access the files on the drone. -
(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:
-
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:
-
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:
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. -
RE: (VOXL2 ROS2 PX4) Can No Longer Remote ssh Through VSCode
@tom Yes, I can ssh through the terminal without any problems.
-
(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.
-
(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?
-
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?
-
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?
-
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!
-
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.
-
( 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>