forked from CSE2102Fall2015/2015JAT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
unknown
authored and
unknown
committed
Aug 28, 2015
0 parents
commit c728085
Showing
1,856 changed files
with
473,715 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 added
BIN
+11.5 KB
bin/jat/application/AttitudeSimulator/AttitudeSimulator$ButtonHandler.class
Binary file not shown.
Binary file added
BIN
+1.16 KB
bin/jat/application/AttitudeSimulator/AttitudeSimulator$ChoiceHandler.class
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 added
BIN
+14.3 KB
bin/jat/application/AttitudeSimulator/animation/AnimationWindow.class
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions
57
bin/jat/application/AttitudeSimulator/help/BangBangControl.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>                             Spacecraft Moment | ||
of inertia<br> | ||
<b>wn</b>                           Desired natural | ||
frequency<br> | ||
<b>damping</b>                   Desired damping coefficient<br> | ||
<b>Torque</b>                    Torque level of the bang-bang | ||
actuator<br> | ||
<b>Dead Zone</b>               Range in which no torque should | ||
be applied<br> | ||
<b>theta_com</b>                Commanded angular position<br> | ||
<br> | ||
<b><u>Initial Condition<br> | ||
</u></b><br> | ||
<b>theta </b>                    Spacecraft angular position | ||
for an actuator with no constraint<br> | ||
<b>thetaDot</b>                Spacecraft angular velocity | ||
for an actuator with no constraint<br> | ||
<b>thetaBang </b>             Spacecraft angular position for | ||
the bang-bang actuator<br> | ||
<b>thetaDotBang</b>         Spacecraft angular velocity for the bang-bang | ||
actuator<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
</body> | ||
</html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 62 additions & 0 deletions
62
bin/jat/application/AttitudeSimulator/help/CMGControl.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>                 | ||
   Principal moments of inertia<br> | ||
<b>J </b>                                 | ||
CMG inertia<br> | ||
<b>A</b>                             | ||
     CMG ginbal rate<br> | ||
<b>psi</b>                             | ||
   Commanded Euler angle<br> | ||
<b>phi                         </b> Commanded | ||
Euler angle<br> | ||
<b>theta</b>                             Commanded | ||
Euler angle<br> | ||
<br> | ||
<b><u>Initial Condition<br> | ||
</u></b><br> | ||
<b>w1</b>, <b>w2, w3</b>:                 Spacecraft | ||
angular velocities <br> | ||
<b>q1, q2, q3, q4</b>:             Quaternions<br> | ||
<b>Omega 1</b>                     Gimbal rate | ||
of CMG 1<br> | ||
<b>Omega 2</b>                     Gimbal rate | ||
of CMG 2<br> | ||
<b>Omega 3</b>                     Gimbal rate | ||
of CMG 3<br> | ||
<br> | ||
</div> | ||
<br> | ||
</div> | ||
</div> | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
</body> | ||
</html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions
44
bin/jat/application/AttitudeSimulator/help/ConstantTorque.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 Eulerfs rotational equations of motion | ||
to simulate the<br> | ||
attitude dynamics of a rigid spacecraft with optional body-fixed, constant | ||
<br> | ||
torques. Eulerfs 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions
64
bin/jat/application/AttitudeSimulator/help/FourRWControl.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>             Moments of inertia<br> | ||
<b>J</b>                             | ||
Reaction wheel inertia<br> | ||
<b> RW angle            </b> Tilt angle of reaction | ||
wheel axis<br> | ||
<b> psi</b>                         Commanded | ||
Euler angle<br> | ||
<b> phi </b>                         Commanded | ||
Euler angle<br> | ||
<b> theta</b>                     Commanded Euler | ||
angle<br> | ||
<br> | ||
<b><u>Initial Condition</u></b><br> | ||
<b>w1</b>, <b>w2, w3</b>:                 Spacecraft angular | ||
velocities <br> | ||
<b>q1, q2, q3, q4</b>:             Quaternions<br> | ||
<b>Omega1 </b>                     Angular velocity | ||
of RW 1<br> | ||
<b> Omega2</b>                     Angular velocity | ||
of RW 2<br> | ||
<b> Omega3 </b>                     Angular velocity | ||
of RW 3<br> | ||
<b> Omega4</b>                     Angular velocity | ||
of RW 4<br> | ||
</div> | ||
</div> | ||
</div> | ||
<br> | ||
<br> | ||
<br> | ||
</body> | ||
</html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.