Marine systems simulation
CameraShot.xml
1<Contents>
2 <OBJECTS>
3 <Lib
4 LibName = "fhsim_base"
5 SimObject = "Camera/Controller2"
6 Name = "CAM"
7 NumInput = "4"
8 Time = "0,1,2,3"
9 UseDegrees = "1"
10 Interpolate ="1"
11 />
12 <Lib
13 LibName = "base"
14 SimObject = "Body/Mass"
15 Name = "M1"
16 Scale = "1"
17 Mass = "1"
18 Material = "Simple/Red"
19 />
20 <Lib
21 LibName = "base"
22 SimObject = "Body/Mass"
23 Name = "M2"
24 Scale = "1"
25 Mass = "1"
26 Material = "Simple/Green"
27 />
28 <Lib
29 LibName = "base"
30 SimObject = "Body/Mass"
31 Name = "M3"
32 Scale = "1"
33 Mass = "1"
34 />
35 <Lib
36 LibName = "base"
37 SimObject = "Body/Mass"
38 Name = "M4"
39 Scale = "1"
40 Mass = "1"
41 Material = "Simple/Black"
42 />
43<Lib
44 LibName = "fhsim_base"
45 SimObject = "Camera/Shot"
46 Name = "camshot"
47 Filename = "shot.png"
48 Start = "0"
49 Video = "1"
50 Stop = "5"
51 FrameRateControl = "FPS"
52 FrameRateValue = "30"
53 Refinement = "1"
54 Path = ""
55 />
56 <Lib
57 LibName = "base"
58 SimObject = "DefaultEnvironment"
59 Name = "Env"
60 Seadepth = "500"
61 Density = "1000"
62 CurrentVelocity = "0,0,0"
63 />
64 </OBJECTS>
65
66 <INTERCONNECTIONS>
67 <Connection
68 CAM.Position1 = "-10,0,0"
69 CAM.Position2 = "0,-10,0"
70 CAM.Position3 = "10,0,0"
71 CAM.Position4 = "0,10,0"
72 CAM.Pitch1 = "0"
73 CAM.Pitch2 = "0"
74 CAM.Pitch3 = "0"
75 CAM.Pitch4 = "0"
76 CAM.Yaw1 = "0"
77 CAM.Yaw2 = "90"
78 CAM.Yaw3 = "180"
79 CAM.Yaw4 = "270"
80
81 M1.Force = "0,0,0"
82 M2.Force = "0,0,0"
83 M3.Force = "0,0,0"
84 M4.Force = "0,0,0"
85 />
86 </INTERCONNECTIONS>
87
88 <INITIALIZATION>
89 <InitialCondition
90 M1.Pos = "0,0,0"
91 M2.Pos = "10,-20,0"
92 M3.Pos = "20,-10,0"
93 M4.Pos = "-10,20,0"
94 M1.Vel = "0,0,0"
95 M2.Vel = "0,0,0"
96 M3.Vel = "0,0,0"
97 M4.Vel = "0,0,0"
98 />
99 </INITIALIZATION>
100
101 <INTEGRATION>
102 <Engine
103 IntegratorMethod = "2"
104 NumCores = "1"
105 TOutput = "0,5"
106 LogStates = "1"
107 stepsize = "0"
108 HMax = "0.002"
109 HMin = "0.00000001"
110 AbsTol = "1e-3"
111 RelTol = "1e-3"
112 UseRSSNormInsteadOfInfNorm = "0"
113 FileOutput = "objects:all"
114 />
115 </INTEGRATION>
116</Contents>