symbrim.bicycle.grounds.FlatGround¶
- class symbrim.bicycle.grounds.FlatGround(name: str, normal: str = '-z')¶
Bases:
GroundBase
Flat ground.
Attributes
Auxiliary data handler of the model.
The body representing the ground.
Submodels out of which this model exists.
convention
Descriptions of the attributes of the object.
Frame fixed to the ground.
Load groups of the connection.
Name of the object.
Origin of the ground.
required_connections
required_models
Submodels out of which this model exists.
System object used to store the information of the model itself.
Methods
Initialize the flat ground.
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 normal vector of the ground.
Get a parameters mapping of a model based on a bicycle parameters object.
Get tangent vectors of the ground plane.
Set the symmeplot plot objects.
Set the location of a point on the ground.
Export the model to a single system instance.
- __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¶
Frame fixed to the ground.
- classmethod from_convention(convention: str, name: str, *args: object, **kwargs: dict[str, object]) ModelBase ¶
Create a model from a convention.
- get_normal(position: T_position) Vector ¶
Get normal vector of the ground.
- get_param_values(bicycle_parameters: Bicycle) dict[Symbol, float] ¶
Get a parameters mapping of a model based on a bicycle parameters object.
- get_tangent_vectors(position: T_position) tuple[Vector, Vector] ¶
Get tangent vectors of the ground plane.
- property load_groups: tuple[LoadGroupBase]¶
Load groups of the connection.
- 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.