summaryrefslogtreecommitdiff
path: root/Test6DOF.mo
diff options
context:
space:
mode:
authorSiddharth112352019-09-03 18:09:16 +0530
committerSiddharth112352019-09-03 18:09:16 +0530
commitb4b6aa36e3486a3544acc52419149b5671f841e9 (patch)
tree66c1783158f23e6d21c77324156fc57e18d4ac67 /Test6DOF.mo
parentf5266f634f4fb4fd39933a83551a01cf446256b8 (diff)
downloadOpenModelica_HIL-master.tar.gz
OpenModelica_HIL-master.tar.bz2
OpenModelica_HIL-master.zip
Pushing entire Modelica HIL Tasks repoHEADmaster
Diffstat (limited to 'Test6DOF.mo')
-rwxr-xr-xTest6DOF.mo9
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