Commit Graph

84 Commits

Author SHA1 Message Date
John M. Penn
8f585baae2 Worked out a design for the Cannonball Variable server client that I'm happy with. Ref#320 2016-10-19 18:20:32 -05:00
John M. Penn
9b1ef5404a Update SIM_cannon_analytic and add ability to launch new graphics client. Ref #320 2016-10-19 17:39:47 -05:00
John M. Penn
aa859d1579 In DP_Solar_AZ_EL.xml file, units attributes are changed from d to degree. Ref #323 2016-10-05 14:24:44 -05:00
John M. Penn
7300c0759f get rid of a bunch of unnecessary imports. Ref #320 2016-09-30 14:51:55 -05:00
John M. Penn
a23702b4a9 Initial commit of Java, Cannonball, variable server client. Ref #320 2016-09-30 14:33:16 -05:00
John M. Penn
ab9ff1c38e Deleted old unmaintained graphics code 2016-09-30 11:33:07 -05:00
John M. Penn
fc77fbc216 Fix tv file which was horked somehow 2016-09-14 17:17:44 -05:00
John M. Penn
f186b91afc Add comments that explain the coordinate systems and transformations in SunDisplay. Ref #310 2016-09-14 17:16:42 -05:00
Alex Lin
0eab3d2d4e DP file in SIM_ball_L1 does not work #302
So the previous commit works with one plot widget but not the other.  Now it
works for both.
2016-09-07 09:31:52 -05:00
Alex Lin
53f0e33049 DP file in SIM_ball_L1 does not work #302
Everything was old and now wrong in this file.  Wrong start/stop times,
wrong X and Y axis min/max values, wrong units for time, and wrong
variable names.
2016-09-07 07:20:24 -05:00
Alex Lin
cddc8a585d SIM_satellite graphics might be missing -ldl #288
Added -ldl to link flags.
2016-08-19 10:06:38 -05:00
Alex Lin
35cec634e5 Convert old units to udunits in test code
Changed all of the old units to the new udunit strings.

refs #261
2016-06-30 10:03:39 -05:00
Alex Lin
149e01a4c9 Fix warnings in cannon sims
Fixed a lot of warnings about missing prototypes and unused variables.

refs #245
2016-06-02 09:37:42 -05:00
John M. Penn
83fd363eb7 Update picture in the SIM_sun README file. REF: #242 2016-05-26 18:37:23 -05:00
Alex Lin
57bed25466 Split test sims and fun sims into separate directories.
removed SIM_target because we don't use it.

refs #191
2016-04-20 15:29:22 -05:00
John M. Penn
e7af440d8a SunDisplay buttons with unicode chars. Ref: #208 2016-03-31 15:42:49 -05:00
John M. Penn
84f1fd0b5c Created a graphical variable server client for SIM_sun. Refs #208 2016-03-30 17:25:08 -05:00
John M. Penn
793530250e In Calendar_Date_to_JD and JD_to_Calendar_Date changed float params to double. Refs: #201 2016-03-14 13:15:04 -05:00
John M. Penn
cadcb2286e Move SIM_monte into Cannon sims directory. refs #191 2016-03-03 14:36:09 -06:00
John M. Penn
54a4b57dbe delete SIM_integ. Doesn't actually seem to test anything. 2016-03-03 14:23:38 -06:00
John M. Penn
4b1b1d451b Update README and various other tweaks to SIM_wheelbot 2016-03-03 13:22:37 -06:00
Alex Lin
4c471eb32d Introduce Trick ROS publish/subscribe examples.
Introducing a pubish and subscribe example sim.  The publisher includes
a ROS msg file that is processed by ROS into a header file.

refs #190
2016-02-26 09:39:42 -06:00
Alex Lin
5a7cd1839b Split test sims and fun sims into separate directories.
I created an ODE directory and moved the ODE sims into it.  I moved
the Ball++ models into SIM_Ball++_L1 and flattened the directory
structure.

refs #191
2016-02-25 16:04:27 -06:00
Alex Lin
d884370175 Split test sims and fun sims into separate directories.
Moved SIM_segments to test.

refs #191
2016-02-23 16:53:19 -06:00
Alex Lin
9ddc786ace Split test sims and fun sims into separate directories.
Moved most of the rest of the sims to test.

refs #191
2016-02-23 16:19:30 -06:00
John M. Penn
cf0ac7a5a1 Add SIM_ball_default_data to the Consolidated Ball directory and also add the required .d files. refs #191 2016-02-23 15:36:30 -06:00
Alex Lin
0144cc121a Split test sims and fun sims into separate directories.
Moved more sims into the test directory.

refs #191
2016-02-23 14:38:49 -06:00
Alex Lin
0c84b8ad08 plit test sims and fun sims into separate directories
Moved SIM_events, test_dp, test_dr, and abstract.

refs #191
2016-02-23 13:48:59 -06:00
John M. Penn
45e515cdb3 Consolidate the C Ball sims into one directory. refs #191 2016-02-23 12:03:13 -06:00
John M. Penn
9321595d2c Merge branch 'master' of https://github.com/nasa/Trick 2016-02-23 11:45:28 -06:00
John M. Penn
51447119b4 Consolidate all of the Cannon sims into one directory. refs #191 2016-02-23 11:44:18 -06:00
Alex Lin
cf4bbfdfe8 Split test sims and fun sims into separate directories.
Moved the 2 thread directories.

refs #191
2016-02-23 10:46:38 -06:00
Alex Lin
90fd0ff9f8 Split test sims and fun sims into separate directories.
Moved SIM_test_ip and a couple of other sims that depend on the same model set
to a new test directory.  I'm doing a couple of sims at a time.

refs #191
2016-02-23 10:23:55 -06:00
John M. Penn
950e319c1b move Satellite models to SIM_satellite and fix graphics makefile 2016-02-22 17:48:06 -06:00
John M. Penn
0a40189388 move parachute models to SIM_parachute and fix up S_overrides.mk 2016-02-22 12:41:20 -06:00
John M. Penn
486cc10784 mv helios models to SIM_sun/models/Sun 2016-02-22 12:22:27 -06:00
John M. Penn
9e481703a1 Move the Wheelbot models to the SIM_wheelbot directory 2016-02-22 11:59:11 -06:00
John M. Penn
da08efe546 Fixes #185 Add SIM_wheelbot 2016-02-18 16:14:44 -06:00
Alex Lin
446fa129d4 Revert "Functions with enumerated default arguments bad"
This reverts commit 20dc7b1386.
2016-02-18 10:59:37 -06:00
Alex Lin
4ab940a691 Revert "Functions with enumerated default arguments cause bad python code to be generated"
This reverts commit 30fbd682ee.
2016-02-18 10:59:36 -06:00
Alex Lin
a9e4dfabcc Revert "Functions with enumerated default arguments cause bad python code to be generated"
This reverts commit 612591ce96.
2016-02-18 10:59:26 -06:00
Alex Lin
612591ce96 Functions with enumerated default arguments cause bad python code to be generated
OMG, more data recording files.

refs #176
2016-02-18 10:48:14 -06:00
Alex Lin
30fbd682ee Functions with enumerated default arguments cause bad python code to be generated
Found a lot more data recording groups that have the same problem.

refs #176
2016-02-18 10:21:12 -06:00
Alex Lin
20dc7b1386 Functions with enumerated default arguments bad
Found a side effect of SWIG's "compactdefaultargs".  It highlighted an
error we had in creating the data_record group in our ball sim.  We did
not release the memory from python and it was causing a double free
at exit.

refs #176
2016-02-18 09:56:11 -06:00
Alex Lin
b9c871328b Introduce Open Dynamics Engine examples
Added a 3 wheeled car example from the ODE demos.  I collapsed all of the separate classes
handling the world, objects, and drawings into a single class.  Each world is different
and just including that with the objects for these simple examples is easier.  Same goes
for the drawing.

refs #172
2016-02-02 11:19:25 -06:00
Alex Lin
fa29891ded Introduce Open Dynamics Engine examples
Changed the regular expressions that removes comments in convert_swig to
try and handle C style comments found in multiline #define statements.

Also added a TRICK_ICG_NOCOMMENT line to SIM_ode to stop ICG from
trying to process non-Trick comments in the ODE directory.

refs #172
2016-01-29 09:43:43 -06:00
Alex Lin
68ffd04dff Introduce Open Dynamics Engine examples
Took the ODE bouncing ball tutorial sim and interfaced it within Trick.  Created classes to handle
interfacing with ODE and the DrawStuff graphics that comes with ODE.  Created classes
to contain the ball and the drawstuff graphics for the ball.

refs #172
2016-01-29 09:15:00 -06:00
Alex Lin
1afac18399 Add additional thread synchronization mechanisms
Created a thread trigger container class to hold all of the various thread triggering
mechanisms.  I wanted to avoid allocating/freeing trigger mechanisms.  I added
an eventfd and futex trigger types.  Updated SIM_threads_simple test sim to use
show how to set the thread trigger type.

refs #148
2015-12-02 10:35:25 -06:00
Alex Lin
57c76041f5 Get the value of a variable not parsed by SWIG in python
Wrote a python routine called get_value_by_ref_name that takes
a variable name string as an argument.  The string is passed to
ref_attributes to find the address and returns a REF2 structure.  The REF2
structure is passed to ref_to_value and the type and value of the variable
is returned in a structure.  We call vval_<type> to extract the raw value
from the structure and return that to python space.

Made a couple of other bug fixes in the FieldVisior and cpp input file
example found while investigating this issue.

refs #123
2015-09-18 09:03:24 -05:00
John M. Penn
788adec487 more tweaks to SIM_cannon_analytic doc ans images 2015-09-09 17:42:57 -05:00