Igcs 203 ar drone tilt control

The important change is the sendMoveCommand method in the iGCS/Comm/Interfaces/iGCS/iGCSMavLinkInterface.* files.  The rest was to support testing this new method.
do you mean this?

if (cond) {
   blah...
} else if (cond){
   more blah...
}

On Tue, Nov 25, 2014 at 4:24 PM, Andy Brown <notifications@github.com>
wrote:

> In iGCS/UserInterface/ViewControllers/ArDroneViewController.m:
>
> > +    float pitchQuat  = (atan2(2*(quat.x*quat.w + quat.y*quat.z), 1-2*quat.x*quat.x - 2*quat.z*quat.z)) * (180/M_PI);
> > +    float yawQuat =  (asin(2*quat.x*quat.y + 2*quat.w*quat.z)) * (180/M_PI);
> > +
> > +    //Default orientation = UIDeviceOrientationPortrait
> > +    anglesOfRotation.pitch = (1000/MAXDEGREES) * pitchQuat;
> > +    anglesOfRotation.roll =  (1000/MAXDEGREES) * rollQuat;
> > +    anglesOfRotation.yaw =   (-1000/MAXDEGREES) * yawQuat;
> > +
> > +    //Change to Landscape Right (button on the left. radio on left)
> > +    anglesOfRotation.pitch = (1000/MAXDEGREES) * rollQuat;
> > +    anglesOfRotation.roll = (-1000/MAXDEGREES) * pitchQuat;
> > +
> > +
> > +    if (anglesOfRotation.roll > 1000){
> > +        anglesOfRotation.roll = 1000;
> > +    }
>
> Bryan asked "If all the brackets are in the right place" so now I have to
> comment on them. Blame him. Please put the else if on the same line. You
> can add an extra space after the body if you like.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/fightingwalrus/iGCS/pull/117/files#r20908224>.
>