Coder Social home page Coder Social logo

Drone altitude about mobile-sdk-ios HOT 9 CLOSED

dji-sdk avatar dji-sdk commented on July 3, 2024
Drone altitude

from mobile-sdk-ios.

Comments (9)

doniekelly avatar doniekelly commented on July 3, 2024 1

Could you expose the GPS altitude for reference as obtained from the GPS chip you use? We can work with that figure. I understand why you might want to abstract this info but we have an application where we are translating the altitude into real world coordinates and this existing altitude is hard to work with...

@property(nonatomic, readonly) float gpsAltitude;

from mobile-sdk-ios.

anathan avatar anathan commented on July 3, 2024

+1 also interested in this. We've found the reported altitude not to reflect any coordinate system we could understand.

from mobile-sdk-ios.

d0n13 avatar d0n13 commented on July 3, 2024

It would appear to be the barometer. How accurate is that? Doesn't it get messy depending on the current pressure etc. How is it calibrated?

from mobile-sdk-ios.

anathan avatar anathan commented on July 3, 2024

at least in the p3, its more than just the barometer. It also may be using the sonar sensors on the base if so equipped.

from mobile-sdk-ios.

d0n13 avatar d0n13 commented on July 3, 2024

What I do at the moment is use whichever altitude is higher. So max(ultrasonic, barometer).

A confirmation from DJI on how to handle this would be good.

from mobile-sdk-ios.

oliverou avatar oliverou commented on July 3, 2024

Hi @d0n13, @anathan, currently, we only provide the following API for you to get the relative altitude of the aircraft in DJIFlightControllerState.h file:

@property(nonatomic, readonly) float altitude;

It's measured by the barometer, in meters. The error range is around 5 meters.

from mobile-sdk-ios.

satomacoto avatar satomacoto commented on July 3, 2024

Hi @oliverou

The error range is around 5 meters.

I'd like to know more detail about "the error range".
When is the error range around 5 meters? Or, Is there any document about it?

from mobile-sdk-ios.

Michael-DJI avatar Michael-DJI commented on July 3, 2024

Hi, did you resolve your issue with new version?
if not, pls report the issue to [email protected] it's the official channel to request DJI SDK support now.

from mobile-sdk-ios.

d0n13 avatar d0n13 commented on July 3, 2024

from mobile-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.