User Tools

Site Tools


aircraft:tmd:rigidbody

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
aircraft:tmd:rigidbody [2018/09/30 13:56] – [Joint-Linear] jhaircraft:tmd:rigidbody [2018/09/30 14:43] (current) – [Rigidbody] jh
Line 8: Line 8:
 {{ :aircraft:tmd:dr400_rigidbody.png |}} {{ :aircraft:tmd:dr400_rigidbody.png |}}
  
-==== Rigidbody =====+===== Rigidbody ======
  
 Aerofly uses the mathematical concept of a rigidbody to simulate the aircraft mass. A rigidbody in Aerofly can be thought of as a box with a certain size, a certain mass, position and orientation, velocity and angular velocity (rotation speed). Roughly speaking "a box that moves and rotates". Aerofly uses the mathematical concept of a rigidbody to simulate the aircraft mass. A rigidbody in Aerofly can be thought of as a box with a certain size, a certain mass, position and orientation, velocity and angular velocity (rotation speed). Roughly speaking "a box that moves and rotates".
Line 123: Line 123:
 Allows full 6 degrees of motion: 3 translation components and 3 rotational components. Allows full 6 degrees of motion: 3 translation components and 3 rotational components.
  
 +== Typical short version ===
 > **Caution**: Requires two rigidbodies with the names ''Fuselage'' and ''LeftElevator'' > **Caution**: Requires two rigidbodies with the names ''Fuselage'' and ''LeftElevator''
  
Line 131: Line 132:
                 <[tmvector3d][Y0][ 0.0 1.0 0.0 ]>                 <[tmvector3d][Y0][ 0.0 1.0 0.0 ]>
                 <[tmvector3d][Z0][ 0.0 0.0 1.0 ]>                 <[tmvector3d][Z0][ 0.0 0.0 1.0 ]>
-                <[tmvector3d][R0][ -3.675600 0.115200 0.522000 ]> +                <[tmvector3d][R0][ 0.0.0.]> 
-                <[float64][Kfx][181439.872971]> +                <[float64][Kfx][100000000.0]> 
-                <[float64][Kfy][181439.872971]> +                <[float64][Kfy][100000000.0]> 
-                <[float64][Kfz][181439.872971]> +                <[float64][Kfz][100000000.0]> 
-                <[float64][Dfx][68.851633]> +                <[float64][Dfx][100000.0]> 
-                <[float64][Dfy][68.851633]> +                <[float64][Dfy][100000.0]> 
-                <[float64][Dfz][68.851633]> +                <[float64][Dfz][100000.0]> 
-                <[float64][Ktx][235146.110785]> +                <[float64][Ktx][3000000.0]> 
-                <[float64][Kty][100000.0]> +                <[float64][Kty][100000000.0]> 
-                <[float64][Ktz][235146.110785]> +                <[float64][Ktz][100000000.0]> 
-                <[float64][Dtx][892.317120]> +                <[float64][Dtx][100000.0]> 
-                <[float64][Dty][892.317120]> +                <[float64][Dty][100000.0]> 
-                <[float64][Dtz][892.317120]> +                <[float64][Dtz][100000.0]> 
-                <[float64][ForceMax][326591.968483]> +                <[float64][ForceMax][500000.0]> 
-                <[float64][TorqueMax][1175731.055392]>+                <[float64][TorqueMax][30000.0]> 
 +            ></code> 
 +             
 +== Full version === 
 + 
 +> **Caution**: Requires two rigidbodies with the names ''Fuselage'' and ''LeftElevator'' and some object with the name ''ServoElevator'' and one with the name ''ServoRudder''
 + 
 +<code>            <[jointlinear][JointFuselageLeftElevator][] 
 +                <[string8][Body0][Fuselage]> 
 +                <[string8][Body1][LeftElevator]> 
 +                <[tmvector3d][X0][ 1.0 0.0 0.0 ]> 
 +                <[tmvector3d][Y0][ 0.0 1.0 0.0 ]> 
 +                <[tmvector3d][Z0][ 0.0 0.0 1.0 ]> 
 +                <[tmvector3d][R0][ 0.0 0.0 0.0 ]> 
 +                <[float64][Kfx][100000000.0]> 
 +                <[float64][Kfy][100000000.0]> 
 +                <[float64][Kfz][100000000.0]> 
 +                <[float64][Dfx][100000.0]> 
 +                <[float64][Dfy][100000.0]> 
 +                <[float64][Dfz][100000.0]> 
 +                <[float64][Ktx][3000000.0]> 
 +                <[float64][Kty][100000000.0]> 
 +                <[float64][Ktz][100000000.0]> 
 +                <[float64][Dtx][100000.0]> 
 +                <[float64][Dty][100000.0]> 
 +                <[float64][Dtz][100000.0]> 
 +                <[float64][ForceMax][500000.0]> 
 +                <[float64][TorqueMax][30000.0]>
                 <[string8][Rotation0Control][ServoElevator.Output]>                 <[string8][Rotation0Control][ServoElevator.Output]>
                 <[tmvector3d][Rotation0Axis][ 0.0 1.0 0.0 ]>                 <[tmvector3d][Rotation0Axis][ 0.0 1.0 0.0 ]>
Line 159: Line 187:
 === Rigid == === Rigid ==
 Setting ''Rigid'' to 1 instead of 0 will make this connection indestructible and completely solid. No translation or rotation will be possible and all parameter values are ignored. Setting ''Rigid'' to 1 instead of 0 will make this connection indestructible and completely solid. No translation or rotation will be possible and all parameter values are ignored.
 +
 +=== R0 ===
 +
 +''R0'' is the attachment point
 +
 +=== X0, Y0, Z0 ===
 +
 +X0, Y0 and Z0 define a rotation matrix to rotate the joint's axes. This is needed if the weakest axis is at a diagonal attitude.
  
 === Kf, Kt == === Kf, Kt ==
aircraft/tmd/rigidbody.1538308604.txt.gz · Last modified: 2018/09/30 13:56 by jh