Marine systems simulation
CameraController2.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 = "M"
16 Scale="1"
17 Mass="1"
18 Material="Simple/Red"
19 />
20 <Lib
21 LibName = "base"
22 SimObject = "DefaultEnvironment"
23 Name = "Env"
24 Seadepth = "500"
25 Density = "1000"
26 CurrentVelocity = "0,0,0"
27 />
28 </OBJECTS>
29
30 <INTERCONNECTIONS>
31 <Connection
32 CAM.Position1 = "-10,0,0"
33 CAM.Position2 = "0,-10,0"
34 CAM.Position3 = "10,0,0"
35 CAM.Position4 = "0,10,0"
36 CAM.Pitch1 = "0"
37 CAM.Pitch2 = "0"
38 CAM.Pitch3 = "0"
39 CAM.Pitch4 = "0"
40 CAM.Yaw1 = "0"
41 CAM.Yaw2 = "90"
42 CAM.Yaw3 = "180"
43 CAM.Yaw4 = "270"
44 M.Force = "0,0,0"
45 />
46 </INTERCONNECTIONS>
47
48 <INITIALIZATION>
49 <InitialCondition
50 M.Pos = "0,0,0"
51 M.Vel = "0,0,0"
52 />
53 </INITIALIZATION>
54
55 <INTEGRATION>
56 <Engine
57 IntegratorMethod="2"
58 NumCores="1"
59 TOutput="0,5"
60 LogStates ="1"
61 stepsize ="0"
62 HMax="0.002"
63 HMin="0.00000001"
64 AbsTol="1e-3" RelTol="1e-3"
65 UseRSSNormInsteadOfInfNorm="0"
66 FileOutput="objects:all"
67 />
68 </INTEGRATION>
69</Contents>
70
71