293 Commits

Author SHA1 Message Date
Kevin Ruland
d2fa55fb74 Refactor the Query & Download thread and progress management out of TCQueryActivity to allow for more reuse. 2012-01-25 17:58:52 +00:00
Kevin Ruland
2fc45af6e0 Define a callback interface in the Simulation list fragment which is called with the simulation id that is selected. Implement this interface in the OpenRocketViewer which then invokes the Intent for the SimulationViewer. 2012-01-25 17:35:46 +00:00
Kevin Ruland
1d127a0162 Modify the OpenRocketTask to send both the WarningSet and OpenRocketDocument back and display a dialog when there are warnings. The dialog is only partially implemented. 2012-01-25 17:33:22 +00:00
Sampo Niskanen
bd8e82c1d2 motor updates 2012-01-23 19:07:36 +00:00
Sampo Niskanen
7eca17a372 motor updates 2012-01-23 19:03:24 +00:00
Doug Pedrick
b5642117ce DGP - bug fix for MassObject/Shock Cord 2012-01-23 03:39:47 +00:00
Kevin Ruland
6bdefe103c Added special Warning object for when the system does not have motors for the ork file. 2012-01-23 01:01:38 +00:00
Doug Pedrick
8d488430a2 DGP - minor refactorings and added JavaDoc 2012-01-22 22:58:08 +00:00
Kevin Ruland
8603cbeff5 Various changes to android application. Separate the loading of an ork file into the OpenRocketLoader activity. Changed OpenRocketViewer to use Fragments for each of the tab contents. Added Component, Overview and Simulations fragments for the tabs in OpenRocketViewer. Modified the graphics on the UI. Have the PreferencesActivity pack the changed preferences into the application onStop(). 2012-01-22 02:44:17 +00:00
Boris du Reau
35052eb6ad Italian Translation of the Tour 2012-01-19 22:12:36 +00:00
Boris du Reau
4ac94847db Added Italian locale 2012-01-17 22:16:58 +00:00
Boris du Reau
8e6a59e6ad Initial version of the Italian translations 2012-01-17 22:02:18 +00:00
Kevin Ruland
7e10554dfb Removed TODO comment for launchRodVelocity. 2012-01-17 02:58:42 +00:00
Kevin Ruland
c3cfb2e781 Persist the Velocity at launch rod clearance in ork file. Added to column in SimulationPanel. Added computation of Velocity at deployment in FlightData. Persist Velocity at deployment in ork file and added to SimulationPanel and DesignReport.
Added l10n message keys for new column in SimulationPanel.

Added function MathUtil.interpolate which does linear interpolation of intermediate values.  This is used in FlightData for computing Velocity at deployment and Velocity at launch rod clearance.
2012-01-17 02:46:49 +00:00
Kevin Ruland
c0f100e3a5 Added exclusions of the .svn directories in the linked source from OpenRocket core. 2012-01-15 03:33:15 +00:00
Kevin Ruland
398f302dfc Change handling of Motor Digests. The computed digest value is now stored as a member variable in the ThrustCurveMotor and avaliable through the getDigest() method. getDigest() was added to the Motor interface. All references to MotorDigest.digestMotor() were removed from the application.
The android db now stores the digest.  Also changed persistance mechanism for delays to store as comma delimited string.

The TestMotorLoader is now failing because the digests have changed.
2012-01-15 02:46:13 +00:00
Kevin Ruland
8d90a540e8 Fix unit test setup which has probably been broken since the ExceptionHandler was refactored to a static object stored in the Applicaiton. 2012-01-15 02:29:34 +00:00
Doug Pedrick
e5d891765e DGP - updated Rocksim export to support clusters 2012-01-14 05:33:15 +00:00
Doug Pedrick
c329a7d789 DGP - updated Rocksim export to support clusters 2012-01-14 04:29:24 +00:00
Kevin Ruland
dc2690df2f Fix NPE caused when the FlightEvent List was made non-selectable. 2012-01-14 02:44:13 +00:00
Kevin Ruland
44d390272c Convert apogee and simulation plot values to configured units. 2012-01-14 02:43:21 +00:00
Kevin Ruland
6e849bcf30 Add preference selection for Distance and Velocity. 2012-01-14 02:42:21 +00:00
Kevin Ruland
966ab18b07 Added simple file browser functionality used when there are no applications installed to handle this task. 2012-01-13 21:02:12 +00:00
Boris du Reau
1d71dcb174 Updated Spanish translations 2012-01-13 18:37:30 +00:00
Kevin Ruland
b7ac4b2133 Wired up computation of CP, CG, liftoff weight and stability to the configuration spinner. 2012-01-13 18:30:46 +00:00
Kevin Ruland
e2cc085bab Show the simulation name as the chart title. Made some UI concessions because drawing the events in the graph is not currently available: Moved "draw" button to series tab, changed the list entry for the events to non-selectable simple text items. 2012-01-13 18:29:16 +00:00
Boris du Reau
e9d743c166 Updated French translations 2012-01-12 22:35:58 +00:00
Kevin Ruland
fe5a8eccfb Reimplement motor handling so the android application relies more heavily on the OR core ThrustCurveMotor class. This involved changing the database schema and querying mechanisms. Rewriting the thrust curve download logic in net.sf.openrocket.android.thrustcurve. Fixing the motor browser, motor details, and burn plot activities. The file parsing now uses the RSE and RSP parsers from OR core.
ExtendedThrustCurveMotor class was created to hold the additional data required by the db ( the id in particular) along with the data which is useful to the browser (case info and impulse class).
2012-01-12 19:51:28 +00:00
Kevin Ruland
4900b84551 Switch minimum sdk to 9 since OR core uses ArrayDeque which is only available in Android API 9. Note API 9 is Android 2.3 / Gingerbread, but there are no emulators available for this api version. 2012-01-12 19:41:16 +00:00
Kevin Ruland
2581bd8fcf Created static function Motor.Type.fromName( String ) to Motor.Type based on the logic in RockSimMotorLoader. Use this new lookup method in RockSimMotorLoader. This method was moved because it is useful to have it in Android project motor database. 2012-01-12 19:32:23 +00:00
Boris du Reau
f881014f26 Added Spanish tour files 2012-01-11 22:43:00 +00:00
Kevin Ruland
e766449e15 Modified RocketUtils.getCG to take a MassCalcType parameter. In the OpenRocketViewer, calculate mass empty. Changed the order of the fields in the openrocketviewer layout. Added a spinner for the configurations stored in the ork file - though this still needs to have motors wired in. 2012-01-11 14:56:40 +00:00
Kevin Ruland
16334ca53a Added couple of comments and executed eclipse's autoformat. 2012-01-11 14:54:00 +00:00
Doug Pedrick
46ee5f943e DGP - Changes to file filtering, extensions, etc. for Save and Save As. 2012-01-11 04:50:37 +00:00
Kevin Ruland
c44c29f635 Remove the old locale directory with svn:external. Now l10n/ files
are included using Eclipse source link.
2012-01-11 03:37:59 +00:00
Kevin Ruland
fcc49f821e Use Eclipse source link to WORKSPACE/OpenRocket/resources to include core-resources/ in project. 2012-01-11 03:36:49 +00:00
Kevin Ruland
d9c68be1d3 Move build.properties in to resources/ 2012-01-11 03:27:46 +00:00
Kevin Ruland
a497e6bbdb Move l10n/ in to resources/. 2012-01-11 03:26:17 +00:00
Kevin Ruland
31842af24e Move datafiles/ into resources/. 2012-01-11 03:24:59 +00:00
Kevin Ruland
af15aeee70 Moving pix/ into resources/. 2012-01-11 03:23:49 +00:00
Kevin Ruland
b066c4d714 Creating resources/ source directory to hold l10n, pix, and datafiles. Changes to build.xml to support it. The directory moves will be done in separate svn move operations. 2012-01-11 03:15:10 +00:00
Kevin Ruland
851865e54f Using pl.polidea.treeview for the component tree list. This code is under 2-clause BSD and available from code.google.com/p/tree-view-list-android. Unfortunately, the only way to effectively use this code is to include the source within the project (instead of jar) because it was poorly written and depends on a bunch of resources. 2012-01-10 15:48:19 +00:00
Doug Pedrick
492aa66056 DGP - Stage overrides for CG and CP in Rocksim export 2012-01-10 05:36:53 +00:00
Doug Pedrick
ff2bafb19d DGP - MassObject tweak 2012-01-10 03:35:18 +00:00
Doug Pedrick
d6c730cfa4 DGP - support for clusters(import and export); added thickness to tube coupler; cleanup and refactoring 2012-01-10 02:13:18 +00:00
Doug Pedrick
453b7629d9 DGP - support for clusters(import and export); added thickness to tube coupler; cleanup and refactoring 2012-01-10 02:04:57 +00:00
Kevin Ruland
3845508f21 Removed the splashscreen.png since we no longer have a splash. 2012-01-09 19:10:25 +00:00
Kevin Ruland
329ebb5900 Move the or_launcher icon to drawable since it is the only one we have. 2012-01-09 19:08:54 +00:00
Kevin Ruland
41daafa8e3 Get rid of timed splash and display a better welcome screen. 2012-01-09 19:00:19 +00:00
Doug Pedrick
89c0af59be DGP - cleanup 2012-01-09 04:29:43 +00:00