jaeandersson / swig

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
http://www.swig.org
Other
23 stars 19 forks source link

fix duplicate colon matlab error identifiers #65

Closed rdeits closed 8 years ago

rdeits commented 8 years ago

Matlab error IDs must consist only of words and single colon separators, but runtime errors that get passed up the chain currently use a double colon (SWIG::RuntimeError) which causes Matlab to complain:

"The error message identifier is invalid."

The fix is to remove the duplicate colon

jaeandersson commented 8 years ago

Thanks for your contribution!

rdeits commented 8 years ago

No problem! We're still (slowly) working on using swig to generate some Matlab bindings for drake, and hopefully now that the academic term is over we can actually get them turned on.

jaeandersson commented 8 years ago

Awesome! If you are considering implementing nonlinear MPC or MHE for drake, you might want to have a look at CasADi. At my current research group, MPC is one of the main focuses.