Manipulator models
Listing available models
- roboticstoolbox.models.catalog.catalog(keywords=None, dof=None, mtype=None, sorton=None, border='thin')[source]
Display all robot models in summary form
- Parameters:
keywords (tuple of str, optional) – keywords to filter on, defaults to None
dof (int, optional) – number of DoF to filter on, defaults to None
mtype (str, optional) – filter on model type: “DH”, “ETS”, “URDF”, defaults to all types
sorton (str, optional) – column to sort rows on: “name”, “manufacturer” or “dof”, case insensitive, defaults to None (construction order)
catalog()displays a list of all models provided by the Toolbox. It lists the name, manufacturer, model type, number of DoF, and keywords. It also lists models available from robot_descriptions but not otherwise wrapped by the Toolbox: “robot_descriptions name” is the stringrobot_descriptionsitself calls the name (its ownpython -m robot_descriptions pull NAMECLI) – pass it toURDFRobotto load that model, e.g.URDFRobot("ur5").catalog(mtype=MT)as above, but only displays Toolbox models of typeMTwhereMTis one of “DH”, “ETS” or “URDF”. The robot_descriptions listing (all URDF) is shown forMT="URDF"or unfiltered, and omitted forMT="DH"/MT="ETS".catalog(keywords=KW)as above, but only displays models that have a keyword in the tupleKW.catalog(dof=N)as above, but only display models that haveNdegrees of freedom.catalog(sorton=S)as above, but rows are sorted by columnS.namesorts by the robot’s name,manufacturersorts by the robot’s manufacturer, anddofsorts by the robot’s number of degrees of freedom. Sorting is case insensitive. Applies to both tables when both are shown. Rows with noDoFvalue (common in the robot_descriptions table) sort first.
The filters can be combined
catalog(keywords=KW, dof=N)are those models that have a keyword inKWand haveNdegrees of freedom.