dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
973 stars 579 forks source link

Yaw Drift + VirtualStick #378

Open malfonsoNeoris opened 5 years ago

malfonsoNeoris commented 5 years ago

Is this issue about bugs or crash issues of DJI Android SDK and Sample Code?

Yep, then please delete this template and provide the following infos for us to help investigate the issue:

Is this issue about DJI iOS SDK and Sample Code?

Then this is the wrong place, please refer to the Mobile-SDK-iOS Github: https://github.com/dji-sdk/Mobile-SDK-iOS/issues

dji-sdk[bot] commented 5 years ago

Hi, have you resolved your issue with the latest DJI SDK version? If not, please help to report your issues to dev@dji.com, as it's our official channel for developers to request DJI SDK support now. Thanks!

malfonsoNeoris commented 5 years ago

Hi.. i am using P3P , when using the virtual stick commands.. i am automating a flight... and i get yaw rotations. This is my setup

Vertical Mode: POSITION PitchRollMode: Velocity YawMode: angle RollPitchCoordinateSystem: Body

the test have some actions Actions. 1) TakeOff ( due that i cannot make the turnmotorson to work).. wait 10 seconds to finish. 2) Go Up 1 Meter... for this. i send with sendvirtualstick data Throttle=2, pitch and rool are 0 and the yaw_angle variable to current heading. here i keep sending the virtualstick data every 100 ms for 4s...

the thing is that after step 2.. while the aircraft is in hover... it rotates... slowly clockwise

the next doesnt mathers