Webots User Guide - chapter 6

Webots User Guide

Chapter 6: Programming Fundamentals

This chapter introduces the basic concepts of programming with Webots. Webots controllers can be written in C/C++, Java, Python or MATLABTM. Besides their syntactic differences all these languages share the same low-level implementation. As long as the sequence of function/method calls does not vary, every programming language will yield exactly the same simulation results. Hence the concepts explained here with C examples also apply to C++/Java/Python/Matlab.

6.1 Controller Programming

6.2 Supervisor Programming

6.3 Using Numerical Optimization Methods

6.4 C++/Java/Python

6.5 Matlab

6.6 Controller plugin

6.7 Webots Plugins

release 7.0.2
Copyright © 2012 Cyberbotics Ltd. All right reserved.