-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Altitude rise function is not accurate #1303
Comments
Agent comment from yating.liao in Zendesk ticket #107355: In fact, in the vertical direction, the virtual joystick provides a POSITION control mode, which allows the aircraft to move to a specific height. Assuming the current height of the aircraft is 0, if you follow the required frequency, set the vertical control mode to POSITION, and the vertical parameter to 2, then the aircraft will ascend to 2 meters and hover. °°° |
How can I send 5-25hz to continuously move the aircraft with the virtual joystick command with code? And I want to make to function with POSITION control mode, but when I turn to POSITION control mode, my drone go down to lowest altitude. How can change my position?? Can I get a example code for this? |
Agent comment from yating.liao in Zendesk ticket #107355: °°° |
I found a clue to solving the problem. Thanks!! And I have one more question. When I take a picture with Camera Shootmode for a single photo, can I change the file name for the picture file? I want to save the info about the single photo (ex. DJI_0098 -> 24051610m1m) |
Agent comment from yating.liao in Zendesk ticket #107355: °°° |
That method works only in Zenmmuse P1, Zenmuse H20 Series. |
Agent comment from yating.liao in Zendesk ticket #107355: Actually, height and attitude data are stored in the photo metadata, written in XMP. If you have the photo, you can parse this information using third-party tools. °°° |
I found the height and attitude data in the photo metadata. Thanks! I have one more question. I'd like to know the simple distance, except height, how much I've moved from the drone's starting point. (Except GPS data) |
Agent comment from yating.liao in Zendesk ticket #107355: °°° |
Hi. I'm making a simple app to make altitude rise about 1 meter when I press a button.
My drone model is DJI-Mavic Pro 2.
There is a virtual stick mode in the Sample App for SDK, and I added a button to raise the altitude.
-> In view_virtual_stick.xml
And then, I made a code to call the function gohighOnemeter when the button is pressed.
It works, but the elevation to go up is not constant and random (0.4m, 1m, 1.3m, 0.1m.... etc). Sometimes, it doesn't go up even when I press the button.
I need help for how can i make the altitude rise accurate. I want to make a drone rise about 1 meter when I press a button.
And I want to ask about altitude mode in vertical mode.
I think it's easier than velocity mode to go up accurately, but when I set it to altitude mode, my drone goes to the lowest altitude possible. It goes up a little but soon tries going down when I push the button to go up.
The text was updated successfully, but these errors were encountered: