ODE errors are not graceful

Return to Compiling or Editing the Panda Source

ODE errors are not graceful

Postby teedee » Tue Jan 17, 2012 9:58 pm

When an ODE error happens in Panda on Windows, it pops up a dialog box with the error and crashes the program. Preferably it should raise a Python exception. I would like to do the work to fix this, but, any idea where to start with this one?
teedee
 
Posts: 861
Joined: Tue May 12, 2009 11:33 pm
Location: Kepler-22b

Postby rdb » Wed Jan 18, 2012 3:32 am

This would probably require setting custom handlers on the ODE level, replacing ODE's default error handlers with ones that raise a Python exception.

http://ode-wiki.org/wiki/index.php?titl ... _functions
rdb
 
Posts: 9748
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands


Return to Compiling or Editing the Panda Source

Who is online

Users browsing this forum: No registered users and 0 guests