CreateRobot¶
-
virtual PRobot ITopController::CreateRobot(const std::string &name) = 0¶
Create an empty robot.
- Parameters
name – Name of the robot.
- Returns
PRobot – Created robot.
- Throws
CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CObjectDestroyedException
– Object is destroyed.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException
– Incompatible firmware version loaded.CInvalidArgumentException
– Name string does not follow naming rules.COutOfResourcesException
– Out of memory while creating robot.