Abnormal aircraft rotation when trying to rotate gimbal in Inspire 2 model Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience Should we burninate the [wrap] tag? The Ask Question Wizard is Live!Can't use the Virtual Stick even though isVirtualStickControlModeAvailable returns trueDJI iOS SDK (Swift) - App cannot connect to aircraft when iPhone is connected to the Mavic remote controller via USBDJI SDK how to move aircraft without rotationTimeline gimbal or Aircraft yaw action issues with Inspire 2RONIN-MX gimbal rotation using osdk doesn't workGimbal rotation doesn't work with Windows SDKNo such module 'DJIWidget' when trying to integrate DJI video feedThe rotate function is not working as expected in Inpire 2

51k Euros annually for a family of 4 in Berlin: Is it enough?

Output the ŋarâþ crîþ alphabet song without using (m)any letters

How to align text above triangle figure

Why am I getting the error "non-boolean type specified in a context where a condition is expected" for this request?

English words in a non-english sci-fi novel

What is Wonderstone and are there any references to it pre-1982?

What to do with chalk when deepwater soloing?

In predicate logic, does existential quantification (∃) include universal quantification (∀), i.e. can 'some' imply 'all'?

Abandoning the Ordinary World

Can an alien society believe that their star system is the universe?

What is a non-alternating simple group with big order, but relatively few conjugacy classes?

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Why is my conclusion inconsistent with the van't Hoff equation?

What's the purpose of writing one's academic biography in the third person?

What is the meaning of the new sigil in Game of Thrones Season 8 intro?

Resolving to minmaj7

Why aren't air breathing engines used as small first stages

Sci-Fi book where patients in a coma ward all live in a subconscious world linked together

How to answer "Have you ever been terminated?"

When do you get frequent flier miles - when you buy, or when you fly?

The logistics of corpse disposal

Extract all GPU name, model and GPU ram

How to tell that you are a giant?

What LEGO pieces have "real-world" functionality?



Abnormal aircraft rotation when trying to rotate gimbal in Inspire 2 model



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
Should we burninate the [wrap] tag?
The Ask Question Wizard is Live!Can't use the Virtual Stick even though isVirtualStickControlModeAvailable returns trueDJI iOS SDK (Swift) - App cannot connect to aircraft when iPhone is connected to the Mavic remote controller via USBDJI SDK how to move aircraft without rotationTimeline gimbal or Aircraft yaw action issues with Inspire 2RONIN-MX gimbal rotation using osdk doesn't workGimbal rotation doesn't work with Windows SDKNo such module 'DJIWidget' when trying to integrate DJI video feedThe rotate function is not working as expected in Inpire 2



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Model: Inspire_2



Platform: Android MSDK



When the aircraft is flying and whenever I try to rotate the gimbal, the aircraft rotates abnormally and gimbal doesn't rotate . Where as if the Drone is not flying, then the gimbal rotates as expected.



Following is my implementation:



 Rotation.Builder builder = new Rotation.Builder().mode(RotationMode.ABSOLUTE_ANGLE).roll(Rotation.NO_ROTATION).
pitch(Rotation.NO_ROTATION).yaw(lastProvidedYaw);
Rotation rotation = builder.build();
Aircraft aircraft = AircraftManager.getAircraft();
if (aircraft != null && aircraft.isConnected() && aircraft.getGimbal() != null)
aircraft.getGimbal().rotate(rotation, djiError ->
// not used
);
else
// Do Something



This code works fine with models like Mavic_pro, mavic_air, phantom_4.



Any help would be appreciated!










share|improve this question




























    0















    Model: Inspire_2



    Platform: Android MSDK



    When the aircraft is flying and whenever I try to rotate the gimbal, the aircraft rotates abnormally and gimbal doesn't rotate . Where as if the Drone is not flying, then the gimbal rotates as expected.



    Following is my implementation:



     Rotation.Builder builder = new Rotation.Builder().mode(RotationMode.ABSOLUTE_ANGLE).roll(Rotation.NO_ROTATION).
    pitch(Rotation.NO_ROTATION).yaw(lastProvidedYaw);
    Rotation rotation = builder.build();
    Aircraft aircraft = AircraftManager.getAircraft();
    if (aircraft != null && aircraft.isConnected() && aircraft.getGimbal() != null)
    aircraft.getGimbal().rotate(rotation, djiError ->
    // not used
    );
    else
    // Do Something



    This code works fine with models like Mavic_pro, mavic_air, phantom_4.



    Any help would be appreciated!










    share|improve this question
























      0












      0








      0


      1






      Model: Inspire_2



      Platform: Android MSDK



      When the aircraft is flying and whenever I try to rotate the gimbal, the aircraft rotates abnormally and gimbal doesn't rotate . Where as if the Drone is not flying, then the gimbal rotates as expected.



      Following is my implementation:



       Rotation.Builder builder = new Rotation.Builder().mode(RotationMode.ABSOLUTE_ANGLE).roll(Rotation.NO_ROTATION).
      pitch(Rotation.NO_ROTATION).yaw(lastProvidedYaw);
      Rotation rotation = builder.build();
      Aircraft aircraft = AircraftManager.getAircraft();
      if (aircraft != null && aircraft.isConnected() && aircraft.getGimbal() != null)
      aircraft.getGimbal().rotate(rotation, djiError ->
      // not used
      );
      else
      // Do Something



      This code works fine with models like Mavic_pro, mavic_air, phantom_4.



      Any help would be appreciated!










      share|improve this question














      Model: Inspire_2



      Platform: Android MSDK



      When the aircraft is flying and whenever I try to rotate the gimbal, the aircraft rotates abnormally and gimbal doesn't rotate . Where as if the Drone is not flying, then the gimbal rotates as expected.



      Following is my implementation:



       Rotation.Builder builder = new Rotation.Builder().mode(RotationMode.ABSOLUTE_ANGLE).roll(Rotation.NO_ROTATION).
      pitch(Rotation.NO_ROTATION).yaw(lastProvidedYaw);
      Rotation rotation = builder.build();
      Aircraft aircraft = AircraftManager.getAircraft();
      if (aircraft != null && aircraft.isConnected() && aircraft.getGimbal() != null)
      aircraft.getGimbal().rotate(rotation, djiError ->
      // not used
      );
      else
      // Do Something



      This code works fine with models like Mavic_pro, mavic_air, phantom_4.



      Any help would be appreciated!







      dji-sdk






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 9:08









      Lloyd DcostaLloyd Dcosta

      827




      827






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296187%2fabnormal-aircraft-rotation-when-trying-to-rotate-gimbal-in-inspire-2-model%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55296187%2fabnormal-aircraft-rotation-when-trying-to-rotate-gimbal-in-inspire-2-model%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript