summaryrefslogtreecommitdiff
path: root/Test6DOF.mo
diff options
context:
space:
mode:
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