sas
Modularised monitoring, logging, and control of robots.
Loading...
Searching...
No Matches
core._core.SerialManipulatorSimulatorFriendly Class Reference
Inheritance diagram for core._core.SerialManipulatorSimulatorFriendly:

Classes

class  ActuationType

Public Member Functions

None __init__ (self, list[DQ] offset_before, list[DQ] offset_after, list[ActuationType] actuation_types)
DQ raw_fkm (self, np.ndarray q_vec, int to_ith_link)
np.ndarray raw_pose_jacobian (self, np.ndarray q_vec, int to_ith_link)
np.ndarray raw_pose_jacobian_derivative (self, np.ndarray q, np.ndarray q_dot, int to_ith_link)

Detailed Description

A serial manipulator whose joints carry explicit pre/post offsets.

Each joint contributes a dual-quaternion transformation of the form
``offset_before * actuation(q) * offset_after``. Supports both revolute
(R) and prismatic (T) joints about any principal axis.

Inherits from ``DQ_SerialManipulator`` and overrides the raw kinematic
methods. The ``ActuationType`` enum is registered as a nested attribute
of the class, so it is reachable as
``SerialManipulatorSimulatorFriendly.ActuationType.RX``.

Constructor & Destructor Documentation

◆ __init__()

None core._core.SerialManipulatorSimulatorFriendly.__init__ ( self,
list[DQ] offset_before,
list[DQ] offset_after,
list[ActuationType] actuation_types )
Construct the manipulator.

Args:
    offset_before: Per-joint dual-quaternion offset applied before
        actuation.
    offset_after: Per-joint dual-quaternion offset applied after
        actuation.
    actuation_types: Per-joint actuation type and axis.

Raises:
    RuntimeError: If the three vectors do not have equal size.

Member Function Documentation

◆ raw_fkm()

DQ core._core.SerialManipulatorSimulatorFriendly.raw_fkm ( self,
np.ndarray q_vec,
int to_ith_link )
Raw forward kinematics of the chain up to a given link.

Args:
    q_vec: Joint configuration vector.
    to_ith_link: Index of the terminal link.

Returns:
    The dual-quaternion pose of the terminal link.

◆ raw_pose_jacobian()

np.ndarray core._core.SerialManipulatorSimulatorFriendly.raw_pose_jacobian ( self,
np.ndarray q_vec,
int to_ith_link )
Raw pose Jacobian of the chain up to a given link.

Args:
    q_vec: Joint configuration vector.
    to_ith_link: Index of the terminal link.

Returns:
    An 8 x (to_ith_link+1) dual-quaternion pose Jacobian.

◆ raw_pose_jacobian_derivative()

np.ndarray core._core.SerialManipulatorSimulatorFriendly.raw_pose_jacobian_derivative ( self,
np.ndarray q,
np.ndarray q_dot,
int to_ith_link )
Time derivative of the raw pose Jacobian.

Args:
    q: Joint configuration vector.
    q_dot: Joint velocity vector.
    to_ith_link: Index of the terminal link.

Returns:
    An 8 x (to_ith_link+1) Jacobian-derivative matrix.

The documentation for this class was generated from the following file:
  • sas_py/marinholab/sas/core/_core.pyi