![]() |
5.6 Going further with the Supervisor ControllerThe supervisor can be seen as a super robot. It is able to do everything a robot can do, and more. This feature is especially useful for sending messages to and receiving messages from robots, using the Receiver and Emitter nodes. Additionally, it can do many more interesting things. A supervisor can move or rotate any object in the scene, including the Viewpoint, change the color of objects, and switch lights on and off. It can also track the coordinate of any object which can be very useful for recording the trajectory of a robot. As with any C program, a supervisor can write this data to a file. Finally, the supervisor can also take a snapshot of the current scene and save it as a jpeg or PNG image. This can be used to create a "webcam" showing the current simulation in real-time on the Web! ![]() ![]() ![]() ^ page top ^ |
E-mail to webmaster | Last updated: | Copyright © 2002 Cyberbotics Ltd. |