Simulation of different kind of Robots in a 3D visualisation scene
under Borland Developement Studio 2006 and OpenGL



How to
Simulate Robot using a physical model and act on them using an user friendly 3D visulaisation tool.
Executable and some sources are provided.


Let's start for presenting a screen capture of the application :

Robots : General view


We ca see diffents robots, named : Robot4, RobotK, Monocycle, Bicycle, MRVlin...) and act on them by selecting the robot in the drop list than use the numerical pad.
Each robot has its own commands.
A yellow triangle (with its shadow on the ground) represents the target view point. This view point can be moved in the 3 directions and we can rotate the camera up and down, left and right around it.

The camera view can be changed using 2 modes:
Other tasks:


Robot4


robots_4h robots_4c

The arrows on the grey floor represent the motion force FT (blue), the friction force Ffr (red) and the speed V (green).
The Robot4 can advance, turn, go backwards. It also has an automatic mode in which he apply a sequences of FT and stearing.

Select the robot4, (they may be 2 on the scene, they are numbered on top of them), start the Animation mode (key 'A') then sytart using the Unumerical keypad :




RobotK


robots_kh robots_kc

This robot is a model of the
Khepera. We can act on the speed of each wheel (forward and reverse).
The arrows represent the wheel speed (blue) and the robot speed (green) of the khepera.





Monocycle


robots_monocycle

View of Monocycle (a one wheel robot withan inverted pendulum motorised and connected to this wheel)





Bicycle


robots_bicycle

View of Bicycle (a two wheels robot withan inverted pendulum, a motor on each wheel)
Still under developpement...





MRVlin


robots_mrvh robots_mrvc

View of MRVlin (a switched reluctance linear motor with active plots colored by phase. The plot get lighter when the corresponding coil is powered.
We can simulate different physical models and different paths (Rail) (curved, linear... see Menu Run/Options MRV /rail).

The arrows represent the z-direction Fz (blue), the x-direction force Fx (red) , the plane x-z resulting force Fxz (magenta) and the speed V (green).

Keys:





Download :
The problem is that I use this software for educational project and I can not give the full sources.
However, you can download a part of it translated in Visual C++ 6 which is given to students as a beginning base for their their project. We then ask them to add classes representing robots with different behaviour and complexity.
mfc_gl.arj   Sources in Visual C++6.

For a direct use click below :
robot.zip   The executable, ready to use.


Back to homepage

Last update : 22 march 2006