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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Challenges with Drone Pose Data in MAVROS

Challenges with Drone Pose Data in MAVROS

Scheduled Pinned Locked Moved Ask your questions right here!
2 Posts 1 Posters 530 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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      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