public class SetViewports
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
This command is used to manage the viewports.
When USARSim initially starts up, users can freely move around the world
using the mouse and keyboard. Pressing the left mouse button of the mouse
attaches the view to the robot’s viewport controller. The robot viewport
controller currently supports two configurations: SingleView and QuadView.
The SingleView configuration provides users with a single view coming from a
single camera. The QuadView configuration provides user with four views,
giving them the possibility of viewing up to four cameras simultaneously (the
screen is divided up into four equal portions, each of which is used for a
camera). When a robot is added to a world, the viewport configuration is
automatically set to accommodate for the maximum number of cameras. In other
words, if a robot has zero or one camera, it will automatically start in
SingleView; otherwise, it will automatically start in QuadView. Since a robot
might have more than four cameras and users might want to cycle through all
the cameras using SingleView, USARSim gives the possibility of configuring
the viewports
Corresponding GameBots command is SET.