basic_robotics.general.faser_wrench module
Model a wrench.
- class basic_robotics.general.faser_wrench.Wrench(force: ndarray[float] = None, position_applied: tm = None, frame_applied: tm = None)[source]
Bases:
ScrewModel a wrench.
- Returns:
Wrench – the wrench to be modelled.
- __init__(force: ndarray[float] = None, position_applied: tm = None, frame_applied: tm = None)[source]
Create a new Wrench.
- getMoment() ndarray[float][source]
Get the moment component of the wrench.
- Returns:
np.ndarray[float] – moment of the wrench.
- getForce() ndarray[float][source]
Get the force component of the wrench.
- Returns:
np.ndarray[float] – force component