symbrim.rider.torso.PlanarTorso¶
- class symbrim.rider.torso.PlanarTorso(name: str)¶
Bases:
TorsoBase
A planar rigid torso.
Explanation
The planar rigid torso models the torso as being rigid. The shoulder joints are located a shoulder width apart at a height of the shoulder height above the center of mass of the torso.
Attributes
Auxiliary data handler of the model.
The body representing the model.
Submodels out of which this model exists.
convention
Descriptions of the objects.
Reference frame of the model.
The left shoulder frame.
Location of the left shoulder.
Load groups of the connection.
Name of the object.
required_connections
required_models
The right shoulder frame.
Location of the right shoulder.
Submodels out of which this model exists.
System object used to store the information of the model itself.
X-axis of model.
Y-axis of model.
Z-axis of model.
Methods
Create a new instance of the model.
Add load groups to the connection.
Define all aspects of the model.
Define the submodels used by connections in the model.
Define the constraints on the model.
Establish the kinematics of the objects belonging to the model.
Define the loads that are acting upon the model.
Initialize the objects belonging to the model.
Create a model from a convention.
Get all declared symbols of a model.
Get description of a given object.
Get the parameter values of the pelvis.
Set the symmeplot plot objects.
Export the model to a single system instance.
- __init__(name: str) None ¶
Create a new instance of the model.
- Parameters:
name (str) – Name of the model.
- __weakref__¶
list of weak references to the object (if defined)
- add_load_groups(*load_groups: LoadGroupBase) None ¶
Add load groups to the connection.
- property auxiliary_handler: AuxiliaryDataHandler | None¶
Auxiliary data handler of the model.
- property connections: tuple[ConnectionBase]¶
Submodels out of which this model exists.
- property frame: ReferenceFrame¶
Reference frame of the model.
- classmethod from_convention(convention: str, name: str, *args: object, **kwargs: dict[str, object]) ModelBase ¶
Create a model from a convention.
- get_param_values(bicycle_parameters: Bicycle) dict[Symbol, float] ¶
Get the parameter values of the pelvis.
- property left_shoulder_frame: ReferenceFrame¶
The left shoulder frame.
- property left_shoulder_point: Point¶
Location of the left shoulder.
Explanation
The left shoulder point is defined as the point where the left shoulder joint is located. This point is used by connections to connect the left arm to the torso.
- property load_groups: tuple[LoadGroupBase]¶
Load groups of the connection.
- property right_shoulder_frame: ReferenceFrame¶
The right shoulder frame.
- property right_shoulder_point: Point¶
Location of the right shoulder.
Explanation
The right shoulder point is defined as the point where the right shoulder joint is located. This point is used by connections to connect the right arm to the torso.
- property system: System | None¶
System object used to store the information of the model itself.
Notes
This system object is used to store the information of the model itself. It does not by definition contain any information about the submodels or connections. Therefore, one cannot use this system object to form the equations of motion. Instead, one should use the
to_system()
method to get the system object representing the entire model.