cleanup trajectory optimization examples (now everything uses the new interface)

to be included in drake v 0.9.7
I agree.  I left the comment in so that we remember it used to be set this way, but the test ran ok without setting that tolerance.
On Oct 12, 2014, at 12:40 PM, Hongkai Dai <notifications@github.com> wrote:

> In examples/Airplane2D/runDircol.m:
> 
> >  
> > +prog = addRunningCost(prog,@cost);
> > +prog = addFinalCost(prog,@finalCost);
> > +
> > +prog = addTrajectoryDisplayFunction(prog,@(dt,x,u)plotDircolTraj(dt,x,u,[1 2]));
> > +%options.MajorOptimalityTolerance=1e-2;
> We can set the Major optimality tolerance by calling
> 
> prog = prog.addSolverOptions('snopt','MajorOptimalityTolerance`,1e-2);
> Although I think 1e-2 is too large. Do you mean to set the tolerance to the default 1e-6 for this test?
> 
> —
> Reply to this email directly or view it on GitHub.
>