Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. Challenges with Drone Pose Data in MAVROS

Challenges with Drone Pose Data in MAVROS

Scheduled Pinned Locked Moved Unsolved General Questions
2 Posts 1 Posters 581 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    SMRazaRizvi
    Regular
    wrote on last edited by
    #1

    Greetings,

    I'm currently in the process of utilizing MAVROS to enable autonomous control of my Sentinel drone in OFFBOARD mode. This involves providing target coordinates in the local position coordinate system for the drone to navigate to, all while utilizing MAVROS.

    To achieve this, my initial step is to access the drone's current pose, which is published on the /mavros/local_position/pose ROS topic. Subsequently, I intend to publish the desired target pose to the /mavros/setpoint_position/local ROS topic.

    However, I've encountered an issue with the data received on the /mavros/local_position/pose topic. While it exhibits a pattern when the drone is in motion, the position fields revert to zero when the drone comes to a halt. It almost appears as if it's replicating the acceleration values from the IMU. Interestingly, the orientation values appear to be correct as they are directly taken from the IMU.

    I've also tried to integrate an external Vision pose system (specifically ORB SLAM2) and published this vision pose to the /mavros/vision_pose/pose topic, to which MAVROS is subscribed to. Unfortunately, this addition hasn't led to any significant changes.

    I've also made adjustments to the parameters within PX4, as detailed in this parameter file, yet the issue persists.

    I'm currently at a juncture where I'm uncertain about the next steps for resolution.

    Any assistance or guidance you could provide would be greatly appreciated.

    S 1 Reply Last reply
    0
    • S SMRazaRizvi

      Greetings,

      I'm currently in the process of utilizing MAVROS to enable autonomous control of my Sentinel drone in OFFBOARD mode. This involves providing target coordinates in the local position coordinate system for the drone to navigate to, all while utilizing MAVROS.

      To achieve this, my initial step is to access the drone's current pose, which is published on the /mavros/local_position/pose ROS topic. Subsequently, I intend to publish the desired target pose to the /mavros/setpoint_position/local ROS topic.

      However, I've encountered an issue with the data received on the /mavros/local_position/pose topic. While it exhibits a pattern when the drone is in motion, the position fields revert to zero when the drone comes to a halt. It almost appears as if it's replicating the acceleration values from the IMU. Interestingly, the orientation values appear to be correct as they are directly taken from the IMU.

      I've also tried to integrate an external Vision pose system (specifically ORB SLAM2) and published this vision pose to the /mavros/vision_pose/pose topic, to which MAVROS is subscribed to. Unfortunately, this addition hasn't led to any significant changes.

      I've also made adjustments to the parameters within PX4, as detailed in this parameter file, yet the issue persists.

      I'm currently at a juncture where I'm uncertain about the next steps for resolution.

      Any assistance or guidance you could provide would be greatly appreciated.

      S Offline
      S Offline
      SMRazaRizvi
      Regular
      wrote on last edited by
      #2

      @Moderator @modaltb

      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups