Robot.basic

classmethod Robot.basic(name, joints=None, links=None, materials=None, **kwargs)[source]
Convenience method to create the most basic instance of a robot,

based only on a name.

Parameters
Returns

Robot – Newly created instance of a robot.

Examples

>>> robot = Robot.basic('A robot')
>>> robot.name
'A robot'