Hi all,
this site is still under construction and it is a try of helping if someone want to simulate a robot too.
I´m sure there some errors int the text because i´m not an native english speaker, but nerver mind here we go:
As wished in the jme forum (under physics→Roboter Simulation Servo Problem) i will post the latest progress
of my tries to move a robot with jme2Physics JBullet integration and share the code.
The robot stands but still wiggle a bit. This seems to me because the joints couldn´t be set complet stiff.
I came to this conclusion by erasuring all code from the methode update() in class Servo and run the programm.
What I excepted was that the modell would be complete stiff but it wasn´t so.
Never mind, here´s the code if some one would try it out feel free to do so.
If somebody know how this code could be made better it will be great if he post the upgraded version here.
The code contains still some comments which allows to switch between some tries but this shouldn´t bother.
positions.xml.zip some positions of the robot, which can be loaded or rather are coded in the main.java file. If you get the simulation to run you can press + for next position and * (star/mult) for previous position (on the numpad).

Now a little summary what stepps has been done and be needed.
The names of the different robot parts are symetric ordered, that means if the name start with a r it is a right part of the robot from his point of view, same for l means left. There are also some small cubes in the modelles, which name starts with h. This cubes are created/placed to know the position of the rotation axis of the different robot parts.
The names are chosen in German language, so this means:
kopf = head
brust = thorax
oberarm = upper arm
unterarm = forearm
hand = hand
huefte = hip
oberschenkelServo = (a help part, put over oberschenkel)
oberschenkel = thigh
unterschenkel = lower leg
fussServo = (a help part, put over fuss)
fuss = foot
You can use blender to model the single parts of the robot or use roboterblendermodelle.zip or the with hottbj-03e converted versions model.zip which contains the two modelles, that could be loaded with the XMLLoader class.
Export your model from blender with hottbj-0.3e.zip. add the contain of this zip file to your blender/scripts folder.
You can use Netbeans (e.g. version 6.7) as IDE.
You will also need
and maybe
(the SNAPSHOT jars were to big for uploading. But you will normally have them on your system if you have installed jme2.)
hint: Relative paths starts with no backslash e.g ../foldername means go from the project folder one above and search for one folder with name foldername. Absolut paths starts with backslash e.g (Unix) /Users/path/to/natives or (Windows) c:/path/to/natives
If you want to help too, please post your updates below this section or add a link to your site or make some improvement suggestions under:
forums → Physics → Roboter Simulation Servo Problem.
You got now the possibility to load a robot that is free every time you press the key 1 and if you press 2 the new instance is pinned into air and can´t fall over.
Next keys for next and privious position are set to 0 and 9 because of + and * works only on the numpad and on notebooks its a bit unconfortable.
There are now CollisionGroups and -Rules added so that not every collision has an effect.
This means collisions, which takes place because of inexact modelldata like between torax and upper arm, are now ignored from jmePhysic.
Generally all neighbour parts collision are ignored.
This leads to that the robot is now more stable.
Collisions which are more interressent will be written on the output. The information you can read there shows which parts collides.
In the zip-file model.zip there are two subfolder.
In data for the texture, the model file which was made with blender and the exported -jme.xml file which is used to load the robot.
In src there are all source file you should need.
I´m adding also the jmePhysics.jar jme2physics.jar.zip (with falkens jBullet-integration for jme) file because i played a bit with the source but don´t know exactly if i change something dramatically. I belive all should also work with the old one, but sure is sure
.
At the german webpages Simulation von RB1000 Fortgeschrittenen Praktikum there is a download link “Zip-Datei herunterladen” where you can download the complete simulation/program and running it without makeing any compilations.
Extract the zip file and start the script run-unix for Linux and Mac OS or run-windows for Windows if you want run the programm the simplest available way.