World defines the properties of our robots and
about their environment. It describes about objects position, shape, appearance
etc. It has a well-defined structure just to describe the various components of robots, it tells us about
the features a robot has. Suppose I have designed a robot which has wheels, color sensors and a DC motor.
Controller
A controller is actually a computer program to control our robot. These
controllers are written in languages which I have mentioned above. When a
simulation starts, Webots launches the specified controllers, each as a separate process,
and it associates the controller processes with the simulated robot, some of the languages which we used need compiler, while some needs interpreter and some
like JAVA needs both interpreter and compiler, there is a controller directory which we can find in every Webots projects. The source file and binary
files are stored in this controller file. From Windows Start menu, go to the
Program Files > Cyberbotics menu and click on the Webots 6.4.2 menu item. When
we start Webots from Command prompt. We got following command lines
Synopsis : webots [options] [worldfile]
Option
- minimize minimize Webots window on startup
- mode=<mode> choose startup mode (overrides application preferences) argument <mode> must be one of: stop, run or fast
- help display this help message and exit
- version display version information and exit
If we want to develop a new controller, we first go to the Wizard menu and then
select new robot controller item. Compilation of program can be done by pressing
make button in text editor window. Controllers can be synchronous and
asynchronous, synchronous controllers are required for robust controllers.
Hardware required to run Webots
A latest PC Or a Macintosh computer which must has higher processor clock speed.
Graphics adapter with atleast 128 MB of RAM.
Webots is supported by Linux, Windows (Windows vista, XP, 2000 and 2003), Mac OS
10.4 and 10.5. Window 98 does not support it.
Installation procedure of Webots
Webots has three packages- tarball, RPM, DEB
- RPM Package: Log on as root
- rpm -uvh webots-6.1.2-1.i386.rpm
If you are using window operating system for example window XP then webots is
installed Go to start menu, Control panel and then click on option of Add/Remove
programs and then from Webots CD-ROM take webots-6.1.2_setup.exe file, this is
the installation file. Double click on this file and then follow the procedure
for installation. In Linux, in terminal type Webots, then it will give a list of
possible starting points.
Synopsis : webots [options] [worldfile]
Option
- batch batch mode (no display)
- mode=MODE start up mode
- debug debug mode
- help display message and exit
- version display version information and exit
World defines the properties of our robots and
about their environment. It describes about objects position, shape, appearance
etc. It has a well-defined structure just to describe the various components of robots, it tells us about
the features a robot has. Suppose I have designed a robot which has wheels, color sensors and a DC motor.
Controller
A controller is actually a computer program to control our robot. These
controllers are written in languages which I have mentioned above. When a
simulation starts, Webots launches the specified controllers, each as a separate process,
and it associates the controller processes with the simulated robot, some of the languages which we used need compiler, while some needs interpreter and some
like JAVA needs both interpreter and compiler, there is a controller directory which we can find in every Webots projects. The source file and binary
files are stored in this controller file. From Windows Start menu, go to the
Program Files > Cyberbotics menu and click on the Webots 6.4.2 menu item. When
we start Webots from Command prompt. We got following command lines.
Synopsis : webots [options] [worldfile]
Option
- minimize minimize Webots window on startup
- mode=<mode> choose startup mode (overrides application preferences)argument <mode> must be one of: stop, run or fast
- help display this help message and exit
- version display version information and exit
If we want to develop a new controller, we first go to the Wizard menu and then
select new robot controller item. Compilation of program can be done by pressing
make button in text editor window. Controllers can be synchronous and
asynchronous, synchronous controllers are required for robust controllers.
Physics plugin
Physics plugin offer the possibility to add custom ODE instruction to the default physics behavior of webots.
Hardware required to run Webots
A latest PC Or a Macintosh computer which must has higher processor clock speed.
Graphics adapter with atleast 128 MB of RAM.
Webots is supported by Linux, Windows (Windows vista, XP, 2000 and 2003), Mac OS
10.4 and 10.5. Window 98 does not support it.
Installation procedure of Webots
Webots has three packages- tarball, RPM, DEB
- RPM Package: Log on as root
- rpm -uvh webots-6.1.2-1.i386.rpm
If you are using window operating system for example window XP then webots is
installed Go to start menu, Control panel and then click on option of Add/Remove
programs and then from Webots CD-ROM take webots-6.1.2_setup.exe file, this is
the installation file. Double click on this file and then follow the procedure
for installation. In Linux, in terminal type Webots, then it will give a list of
possible starting points
Synopsis : webots [options] [worldfile]
Option
- batch batch mode (no display)
- mode=MODE start up mode
- debug debug mode
- help display message and exit
- version display version information and exit
In windows operating system, Go to start and
then Program files, then cyberotics menu and then webot 6.1.2 menu item.
Webots GUI is composed of four principal windows: the 3D window that displays
and allows to interact with the 3D simulation, the Scene tree which is a
hierarchical representation of the current world, the Text editor that allows to
edit source code, and finally, the Console that displays both compilation and
controller outputs.
Simulation window, scene tree window, text editor window and console window.
Simulation window is also known as 3-D window, it is for displaying current
virtual world.
Screen shot from webot simulator
Source code editor It is multi-tab text editor, This source code editor is used
to compile C, C++ or JAVA source files into binary files depends whichever
language is used, output after compilation is displayed on webot console.
Compilation as well it is needed to have appropriate Tools, like for c and c++
'gcc' compiler is necessary and for java, javac command is necessary.
Conclusion
Webots make designing of robots easier and because of its three-dimensional effect, no doubt interesting as well. We have lots of applications on robotics using webots which is really very interesting to do and plus point is easy to design them.