adam.model.model#
Classes#
Model class. It describes the robot using links and frames and their connectivity |
Module Contents#
- class adam.model.model.Model[source]#
Model class. It describes the robot using links and frames and their connectivity
- links: dict[str, adam.model.abc_factories.Link][source]#
- frames: dict[str, adam.model.abc_factories.Link][source]#
- joints: dict[str, adam.model.abc_factories.Joint][source]#
- static build(factory: adam.model.abc_factories.ModelFactory, joints_name_list: list[str] = None) Model[source]#
generates the model starting from the list of joints and the links-joints factory
- Parameters:
factory (ModelFactory) – the factory that generates the links and the joints, starting from a description (eg. urdf)
joints_name_list (list[str]) – the list of the actuated joints
- Returns:
the model describing the robot
- Return type:
- get_joints_chain(root: str, target: str) list[adam.model.abc_factories.Joint][source]#
generate the joints chains from a link to a link
- Parameters:
root (str) – the starting link
target (str) – the target link
- Returns:
the list of the joints
- Return type:
list[Joint]