Robot.basic

classmethod Robot.basic(name, joints=None, links=None, materials=None, **kwargs)

Create the most basic instance of a robot, based only on name.

Parameters
Returns

Robot – Newly created instance of a robot.

Examples

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