[odeforjava-devel] Problems getting results out of ODE for Java
Status: Beta
Brought to you by:
tisch
From: Malc C. <mal...@ho...> - 2003-09-16 20:40:51
|
Looking for sample ODE For Java code.... I'm working on distributed Robot simulation for a Masters Degree with ODE as the physics engine. I've installed ODE for Java on a Linux box and the install seems fine, and my Java code compiles OK. I have converted the buggy_test program from ODE to Java and I'm trying to get it to print the x, y to System.Out rather than use OpenGL like the original C program. I'm using Body.GetPosition to try and get the body's location but all I get back is NaN instead of a number. I can call other functions OK, for example, I can set and read the mass with no problem. I've searched the Internet but not found any sample ode for ODE For Java. Does anyone have any sample code they can share to point me in the right direction? Thanks, Malc _________________________________________________________________ Need more e-mail storage? Get 10MB with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es |