[docs]class_DynamicsRigidBodyBaseClass(_DynamicsPointMassBaseClass,ABC):# TODO: add method for force at offset (i.e., add moment and force)@abstractmethod
[docs]defadd_moment(self,Mx:Union[float,np.ndarray]=0,My:Union[float,np.ndarray]=0,Mz:Union[float,np.ndarray]=0,axes="body",)->None:""" Adds a moment (in whichever axis system you choose) to this Dynamics instance. Args: Mx: Moment about the x-axis in the axis system chosen. Assumed these moments are applied about the center of mass. [Nm] My: Moment about the y-axis in the axis system chosen. Assumed these moments are applied about the center of mass. [Nm] Mz: Moment about the z-axis in the axis system chosen. Assumed these moments are applied about the center of mass. [Nm] axes: The axis system that the specified moment is in. One of: * "geometry" * "body" * "wind" * "stability" * "earth" Returns: None (in-place) """pass