diff options
author | Siddharth11235 | 2019-09-03 18:09:16 +0530 |
---|---|---|
committer | Siddharth11235 | 2019-09-03 18:09:16 +0530 |
commit | b4b6aa36e3486a3544acc52419149b5671f841e9 (patch) | |
tree | 66c1783158f23e6d21c77324156fc57e18d4ac67 /Test6DOF.mo | |
parent | f5266f634f4fb4fd39933a83551a01cf446256b8 (diff) | |
download | OpenModelica_HIL-master.tar.gz OpenModelica_HIL-master.tar.bz2 OpenModelica_HIL-master.zip |
Diffstat (limited to 'Test6DOF.mo')
-rwxr-xr-x | Test6DOF.mo | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Test6DOF.mo b/Test6DOF.mo new file mode 100755 index 0000000..7ca9524 --- /dev/null +++ b/Test6DOF.mo @@ -0,0 +1,9 @@ +model Test6DOF + Real F[3] = {0, -1,9.8}; + Real M[3] = {0 , 0, 0}; + Flight6DOF flight6DOF1(angles(start = {0, 0, 0}),omega(start = {0, 0, 1}), pos(start = {0, -1, 0}), v(start = {1, 0, 0})) annotation( + Placement(visible = true, transformation(origin = {6, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); + equation + flight6DOF1.Force = F; + flight6DOF1.Moment = M; +end Test6DOF;
\ No newline at end of file |