Webots User Guide

previous page go up next page

Foreword

Thanks

1.Installing Webots

2.Upgrading from Webots 2

3.Getting Started with Webots

4.Tutorial: Modelling and simulating your robot

5.Robot and Supervisor Controllers

6.Tutorial: Using the KheperaTM robot

7.ALife Contest

     

4.2 My second world: a kiki robot with a camera

The camera to be modelled is a color 2D camera, with an image 80 pixels wide and 60 pixels high, and a field of view of 60 degrees (1.047 radians).

We can model the camera shape as a cylinder, on the top of the kiki robot at the front. The dimensions of the cylinder are 0.01 for the radius and 0.03 for the height. See figure 4.15.

kiki-camera

Figure 4.15: The kiki robot with a camera

Try modelling this camera. The kiki_camera.wbt file is included in the Webots distribution, in the worlds directory, in case you need any help.

A controller program for this robot, named camera is also included in the Webots distribution, in the controllers directory.

previous page go up next page
^ page top ^

  E-mail to webmaster Last updated: Copyright © 2002 Cyberbotics Ltd.