CreateRobotFromFile¶
-
IRobot ITopController.CreateRobotFromFile(string filename)¶
Create a robot from the model contained in the specified URDF file.
- Parameters
filename – Path to file containing the URDF robot model.
- Returns
IRobot – Created robot.
- Throws
CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.IncompatibleException
– Incompatible firmware version loaded.System.ObjectDisposedException
– Object is disposed.AccessDeniedException
– Unable to open file for reading.ReadErrorException
– Error while reading from the specified file.InvalidFormatException
– URDF file is invalid (e.g. not schema compliant).OutOfResourcesException
– Out of memory while creating robot.