Permalink
Browse files

Cleaned up code, removed dircol multiple shooting

Multiple shooting for direct collocation still needs a bit more
documentation and organization before being ready for the master
branch of the code.

I also went through and checked that every example runs.

I changed the way that sparsity plotting works, now the pattern is
passed as part of the solution struct, and then the user has access
to the data. It also makes the interface simpler, with fewer options.
  • Loading branch information...
MatthewPeterKelly committed Jul 10, 2016
1 parent 49d6bc4 commit 46a9fe2de4437ddfeb464a11b9b26794835ee7bb
View
@@ -75,12 +75,6 @@
% method = 'orthogonal'; % <-- this usually finds bad local minimum
% method = 'gpops'; % <-- fast, but numerical problem is maxTorque is large
% NOTES:
% - The 'direct' method takes much longer to run, but it finds a good
% solution. The 'orthogonal' method finds a solution much faster, but the
% objective function is not as good. Why?
%
switch method
case 'direct'
problem.options(1).method = 'trapezoid';
@@ -3,6 +3,7 @@
% Solve the cart-pole swing-up problem
clc; clear;
addpath ../../
p.m1 = 1.0; % (kg) Cart mass
p.m2 = 0.3; % (kg) pole mass

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 46a9fe2

Please sign in to comment.