Skip to content
Permalink
Browse files

Initial Commit.

  • Loading branch information
unknown unknown
unknown authored and unknown committed Aug 28, 2015
0 parents commit c7280853b218aa798376fbd0b906d0c9a0b580d5
Showing 1,856 changed files with 473,715 additions and 0 deletions.
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-math3-3.0.jar"/>
<classpathentry kind="lib" path="lib/j3daudio.jar"/>
<classpathentry kind="lib" path="lib/j3dcore.jar"/>
<classpathentry kind="lib" path="lib/j3dtree.jar"/>
<classpathentry kind="lib" path="lib/j3dutils.jar"/>
<classpathentry kind="lib" path="lib/jdatepicker-1.3.2.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-common-1.3.0.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-forms-1.5.0.jar"/>
<classpathentry kind="lib" path="lib/jmi.jar"/>
<classpathentry kind="lib" path="lib/junit-4.3.1.jar"/>
<classpathentry kind="lib" path="lib/opencsv-2.3.jar"/>
<classpathentry kind="lib" path="lib/plot.jar"/>
<classpathentry kind="lib" path="lib/StarfireExt.jar"/>
<classpathentry kind="lib" path="lib/vecmath.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JAT</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
@@ -0,0 +1,103 @@

<project name="Ant-Test" default="main" basedir=".">
<!-- Sets variables which can later be used. -->
<!-- The value of a property is accessed via ${} -->
<property name="src.dir" location="src" />
<property name="build.dir" location="bin" />
<property name="dist.dir" location="dist" />
<property name="docs.dir" location="javadoc" />
<property name="project-name" value="jat" />
<property name="folder-to-zip" value="." />

<!-- Deletes the existing build, docs and dist directory-->
<target name="clean">
<delete dir="${docs.dir}" />
<delete dir="${dist.dir}" />
<delete dir="zip" />
</target>

<!-- Creates the build, docs and dist directory-->
<target name="makedir">
<mkdir dir="${docs.dir}" />
<mkdir dir="${dist.dir}" />
<mkdir dir="zip" />
</target>

<!--JAT Core Creates the deployable jar file -->
<target name="jatcore.jar" depends="clean,makedir">
<jar destfile="${dist.dir}\jatcore.jar" basedir="${build.dir}" includes="**/core/,**/org/" excludes="**/tests/,**/unittest/">
<manifest>
<attribute name="Main-Class" value="test.Main" />
</manifest>
</jar>
</target>

<!--JAT 3D Creates the deployable jar file -->
<target name="jat3D.jar" depends="clean,makedir">
<jar destfile="${dist.dir}\jat3D.jar" basedir="${build.dir}" includes="**/jat3D/" excludes="**/examples/">
<manifest>
<attribute name="Main-Class" value="test.Main" />
</manifest>
</jar>
</target>

<!--JAT Application Creates the deployable jar file -->
<target name="jatapplication.jar" depends="clean,makedir">
<jar destfile="${dist.dir}\jatapplication.jar" basedir="${build.dir}" includes="**/application/">
<manifest>
<attribute name="Main-Class" value="test.Main" />
</manifest>
</jar>
</target>

<!--JAT Examples Creates the deployable jar file -->
<target name="jatexamples.jar" depends="clean,makedir">
<jar destfile="${dist.dir}\jatexamples.jar" basedir="${build.dir}" includes="**/examples/" excludes="**/core/">
<manifest>
<attribute name="Main-Class" value="test.Main" />
</manifest>
</jar>
</target>

<!--JAT Tests Creates the deployable jar file -->
<target name="jattests.jar" depends="clean,makedir">
<jar destfile="${dist.dir}\jattests.jar" basedir="${build.dir}" includes="**/tests/">
<manifest>
<attribute name="Main-Class" value="test.Main" />
</manifest>
</jar>
</target>

<!--JAT Core NOSA Creates the deployable jar file -->
<target name="jatcoreNOSA.jar" depends="clean,makedir">
<jar destfile="${dist.dir}\jatcoreNOSA.jar" basedir="${build.dir}" includes="**/coreNOSA/">
<manifest>
<attribute name="Main-Class" value="test.Main" />
</manifest>
</jar>
</target>

<!--JAT Examples NOSA Creates the deployable jar file -->
<target name="jatexamplesNOSA.jar" depends="clean,makedir">
<jar destfile="${dist.dir}\jatexamplesNOSA.jar" basedir="${build.dir}" includes="**/examplesNOSA/" excludes="**/core/">
<manifest>
<attribute name="Main-Class" value="test.Main" />
</manifest>
</jar>
</target>


<target name="zip">
<zip destfile="zip/jat.zip" basedir="${folder-to-zip}" includes="**/dist/**,**/lib/**,**/deploy/**,**/data/core/ephemeris/**,**/data/core/astronomy/**,**/data/jat3D/images_hires/**" />
</target>


<target name="main" depends="jatcore.jar, jat3D.jar, jatcoreNOSA.jar, jatapplication.jar, jatexamples.jar, jattests.jar, jatexamplesNOSA.jar, zip">
<description>Main target</description>
</target>

</project>



<!-- <zip destfile="zip/jat.zip" basedir="${folder-to-zip}" includes="**/data/jat3D/images_hires/**" excludes="**/.settings/,**/bin/,**/data/jat3D/,**/docs/,**/input/,**/javadoc/,**/scripts/,**/src/,**/zip/" /> -->
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,57 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Bang-Bang control</title>

<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
</head>
<body>

<div align="center"> <font color="#330000"><img src="BangBangTitle.GIF"
alt="Title" width="492" height="64">
</font>
<div align="left"><b><u>Description</u></b><br>
<br>
A basic bang-bang control about single axis was implemented in this scenario.
<br>
</div>
</div>
The model of a linearized spacecraft dynamics with a proportional and
derivative<br>
control was considered, which is shown in the illustration below.<br>
<br>
<img src="BangBang.GIF" alt="Block Diagram" width="584"
height="233">
<br>
<br>
<b><u>Inputs</u></b><br>
<br>
<b>J</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Spacecraft Moment
of inertia<br>
<b>wn</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#160; &#160; Desired natural
frequency<br>
<b>damping</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#160; &#160; Desired damping coefficient<br>
<b>Torque</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; &#160; &#160; &#160; &#160; Torque level of the bang-bang
actuator<br>
<b>Dead Zone</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#160; &#160; Range in which no torque should
be applied<br>
<b>theta_com</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#160; &#160; &#160;Commanded angular position<br>
<br>
<b><u>Initial Condition<br>
</u></b><br>
<b>theta </b>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#160; &#160;Spacecraft angular position
for an actuator with no constraint<br>
<b>thetaDot</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; &#160;Spacecraft angular velocity
for an actuator with no constraint<br>
<b>thetaBang </b>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; Spacecraft angular position for
the bang-bang actuator<br>
<b>thetaDotBang</b> &#160;&#160;&#160; &#160;&#160;&#160; Spacecraft angular velocity for the bang-bang
actuator<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,62 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CMG Control</title>

<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
</head>
<body>

<div align="center"> <img src="CMG%20Maneuver.GIF" alt="Title"
width="408" height="55">
<b><u><br>
</u></b>
<div align="left">
<div align="left"><b><u>Description</u></b><br>
<br>
In this project, to simulate a reorientation maneuver of a rigid spacecraft<br>
using CMGs, a configuration of 3 single-gimbal control moment gyros (CMGs)<br>
aligned with the principal axis was used. The illustration shows the CMG
<br>
configuration used.<br>
<br>
<img src="CMGassembly.GIF" alt="CMG Assembly" width="492"
height="448">
<br>
<b><u>Inputs<br>
</u></b><br>
<b>Ixx</b>, <b>Iyy</b>, <b>Izz</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;
&#160;&#160; Principal moments of inertia<br>
<b>J </b>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;
CMG inertia<br>
<b>A</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;
&#160;&#160;&#160; &#160;CMG ginbal rate<br>
<b>psi</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;
&#160;&#160; Commanded Euler angle<br>
<b>phi &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;</b> Commanded
Euler angle<br>
<b>theta</b>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; Commanded
Euler angle<br>
<br>
<b><u>Initial Condition<br>
</u></b><br>
<b>w1</b>, <b>w2, w3</b>: &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Spacecraft
angular velocities <br>
<b>q1, q2, q3, q4</b>: &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Quaternions<br>
<b>Omega 1</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Gimbal rate
of CMG 1<br>
<b>Omega 2</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Gimbal rate
of CMG 2<br>
<b>Omega 3</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Gimbal rate
of CMG 3<br>
<br>
</div>
<br>
</div>
</div>
<br>
<br>
<br>
<br>
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,44 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Constant Torque</title>

<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
</head>
<body>

<div align="center">
<div align="center"> <img src="ConstantTorque.GIF" alt="Title"
width="284" height="54">
</div>
<div align="left"><b><u>Description</u></b><br>
<br>
</div>

<div align="left">This scenario uses Eulerfs rotational equations of motion
to simulate the<br>
attitude dynamics of a rigid spacecraft with optional body-fixed, constant
<br>
torques. Eulerfs rotational equations of motion is found in most of the
<br>
textbooks on spacecraft dynamics <br>
<br>
<b><u>Inputs<br>
</u></b><br>
<b>Ixx</b>, <b>Iyy, Izz</b> Principal moments of inertia<br>
<b>M1,M2,M3</b> External torque acting in the b1
direction<br>
<br>
<b><u>Initial Condition</u></b><br>
<br>
<b>w1</b>, <b>w2, w3</b>: Spacecraft angular velocities
<br>
<b>q1, q2, q3, q4</b>: Quaternions<br>
<br>
</div>
</div>
<br>
<br>
<br>
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,64 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Four Reaction Wheels</title>

<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
</head>
<body>

<div align="center"> <img src="RW%20Control.GIF" alt="RW Control"
width="207" height="46">
<b><u><br>
</u></b>
<div align="left">
<div align="left"><b><u>Description<br>
</u></b><br>
An attitude maneuver via momentum transfer based on the conservation of<br>
angular momentum was simulated. In this project, 4 reaction wheels in
<br>
a pyramid configuration was used; this configuration provides redundancy
<br>
such that if one wheels become unable to operate for some reason, <br>
the other three reaction wheels can provide control torque in all three
direction. <br>
<br>
<img src="FourReactionWheel.GIF"
alt="Four Reaction wheels in a pyramid configuration" width="541"
height="399">
<br>
<br>
<b><u>Inputs<br>
</u></b><br>
<b>Ixx</b>,<b> Iyy, Izz</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Moments of inertia<br>
<b>J</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;
Reaction wheel inertia<br>
<b> RW angle&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;</b> Tilt angle of reaction
wheel axis<br>
<b> psi</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Commanded
Euler angle<br>
<b> phi </b>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; Commanded
Euler angle<br>
<b> theta</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Commanded Euler
angle<br>
<br>
<b><u>Initial Condition</u></b><br>
<b>w1</b>, <b>w2, w3</b>: &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Spacecraft angular
velocities <br>
<b>q1, q2, q3, q4</b>: &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Quaternions<br>
<b>Omega1 </b>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; Angular velocity
of RW 1<br>
<b> Omega2</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Angular velocity
of RW 2<br>
<b> Omega3 </b>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; Angular velocity
of RW 3<br>
<b> Omega4</b> &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; Angular velocity
of RW 4<br>
</div>
</div>
</div>
<br>
<br>
<br>
</body>
</html>
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit c728085

Please sign in to comment.
You can’t perform that action at this time.