adam.model.std_factories package#
Submodules#
adam.model.std_factories.std_joint module#
- class adam.model.std_factories.std_joint.StdJoint(joint: Joint, math: SpatialMath, idx: int | None = None)[source]#
Bases:
JointStandard Joint class
- homogeneous(q: ArrayLike) ArrayLike[source]#
- Parameters:
q (npt.ArrayLike) – joint value
- Returns:
the homogenous transform of a joint, given q
- Return type:
npt.ArrayLike
adam.model.std_factories.std_link module#
adam.model.std_factories.std_model module#
- class adam.model.std_factories.std_model.URDFModelFactory(path: str, math: SpatialMath)[source]#
Bases:
ModelFactoryThis factory generates robot elements from urdf_parser_py
- Parameters:
ModelFactory – the Model factory
- get_joints() list[StdJoint][source]#
- Returns:
build the list of the joints
- Return type:
list[StdJoint]
- get_links() list[StdLink][source]#
- Returns:
build the list of the links
- Return type:
list[StdLink]
A link is considered a “real” link if - it has an inertial - it has children - if it has no children and no inertial, it is at lest connected to the parent with a non fixed joint
- get_frames() list[StdLink][source]#
- Returns:
build the list of the links
- Return type:
list[StdLink]
A link is considered a “fake” link (frame) if - it has no inertial - it does not have children - it is connected to the parent with a fixed joint