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

    Voxl-Mapper pipe to ROS2

    Ask your questions right here!
    2
    5
    251
    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.
    • J
      Jeffrey Mao
      last edited by 16 May 2024, 17:31

      Does there exist any tools to pipe the output of Voxl-mapper to a topic in ROS2? Also is it possible to use voxl-mapper with just stereo cameras generating pointclouds or is a ToF sensor needed

      T 1 Reply Last reply 16 May 2024, 17:35 Reply Quote 0
      • T
        tom admin @Jeffrey Mao
        last edited by 16 May 2024, 17:35

        @Jeffrey-Mao Have you experimented with voxl-mpa-to-ros2?: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros2

        T 1 Reply Last reply 16 May 2024, 17:35 Reply Quote 0
        • T
          tom admin @tom
          last edited by 16 May 2024, 17:35

          @tom https://docs.modalai.com/ros2-installation-voxl2/#mpa-to-ros2

          J 1 Reply Last reply 16 May 2024, 19:59 Reply Quote 0
          • J
            Jeffrey Mao @tom
            last edited by 16 May 2024, 19:59

            @tom We have experimented with it, but I am not sure about the format of voxl-mapper, and have trouble getting voxl-mapper working with just stereo cameras. Do you guys have more resources on it besides the github page?

            We are also wondering if it is worth it getting the voxl-mapper working, or will it automatically work with voxl_mpa_to_ros2 pointcloud interface or have some different representation which requires us writing our own piep interface?

            Also what branch is the stable version of voxl_mpa_to_ros2 because I can see the master branch doesn't allow us to stream QVIO odometry?

            https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-to-ros2/-/blob/master/colcon_ws/src/voxl_mpa_to_ros2/src/interfaces/qvio_interface.cpp?ref_type=heads

            I believe you are publishing the same topic 2 different message types which I don't believe is allows in ROS2.

            void QVIOInterface::AdvertiseTopics(){

            char topicName[64];
            
            sprintf(topicName, "%s", m_pipeName);
            pose_pub_ = m_rosNodeHandle->create_publisher<geometry_msgs::msg::PoseStamped>
                (topicName, rclcpp::SensorDataQoS());
            
            odom_pub_ = m_rosNodeHandle->create_publisher<nav_msgs::msg::Odometry>
                (topicName, rclcpp::SensorDataQoS());
            
            m_state = ST_AD;
            

            }

            J 1 Reply Last reply 20 May 2024, 15:41 Reply Quote 0
            • J
              Jeffrey Mao @Jeffrey Mao
              last edited by 20 May 2024, 15:41

              Nevermind I figured it out. Once the voxl_mapper service is running it is automatically configured to run the voxl_mpa_ros2 as a pointcloud

              1 Reply Last reply Reply Quote 0
              1 out of 5
              • First post
                1/5
                Last post
              Powered by NodeBB | Contributors