Commit Graph

321 Commits

Author SHA1 Message Date
Alex Lin
80b8f99723 MTV/variable server crashes if checkpoint has less malfunctions then currently running sim
Added a case statement for the bad ref type to the binary data handler.  We handle a bad
ref as an integer, because that is what the sim sends us.  This fixes MTV.

refs #117
2015-09-14 15:11:20 -05:00
Derek Bankieris
c11f04644c refs #118
Removed unused VarClient.java.
2015-09-14 14:30:24 -05:00
Alex Lin
e58ba61d8e MTV/variable server crashes if checkpoint has less malfunctions then currently running sim
Did two things to stop the crash.  1.  When following an address path if we hit a NULL
address, stop processing and return the NULL.  2.  When trying to resolve addresses in
copy_sim_data, if a NULL address is returned then reset the reference to unresolved and
return a dummy value.

Need to fix MTV to handle dummy value returns.

refs #117
2015-09-14 11:33:11 -05:00
Alex Lin
94a99fb9ea Support new Trick comment tags
Changed parenthesis to curly brace... er I mean curly bracket.  Well too late, in
the code I called it curly brace. It's these "{}". Oh well.  Also found that the
dependency_only headers were not actually reading the dependencies.  Added the list
of dependency only files to the list of files to get dependencies from.

refs #114
2015-09-14 11:26:09 -05:00
Alex Lin
9a969903b6 convert_swig needs to get it's own list of header files
When comparing the file names coming out of ICG_processed to the compiler we need to
use the absolute path on both sides.

refs #113
2015-09-14 11:24:20 -05:00
Alex Lin
9b381f2edc Support new Trick comment tags
Added new doxygen style tags for truning on/off Trick attributes processing,
comment processing, and library dependencies.  Here are the tags we recognize

(@|\)trick_parse(everything|attributes|dependencies_only)
(@|\)trick_exclude_typename(class_name)
(@|\)trick_link_dependency(link_name)

refs #114
2015-09-10 14:50:22 -05:00
Alex Lin
f9ed085c6c convert_swig needs to get it's own list of header files
Took the code that we had that generated the list of header files we need to
process from an older version of make_swig_makefile.pm and put the code back
in make_makefile_swig.  What's old is new again and it works.

refs #113
2015-09-10 08:15:01 -05:00
John M. Penn
788adec487 more tweaks to SIM_cannon_analytic doc ans images 2015-09-09 17:42:57 -05:00
John M. Penn
23f9aad55b Updates to SIM_cannon_analytic README 2015-09-08 17:05:37 -05:00
John M. Penn
120ccb49cd Beautification tweaks to SIM_cannon_analytic README 2015-09-05 17:12:52 -05:00
John M. Penn
9035286609 Create README for SIM_cannon_analytic 2015-09-05 15:42:41 -05:00
John M. Penn
d558dbd73d Add cannon_aero.dr to SIM_cannon_aero 2015-09-04 15:39:39 -05:00
John M. Penn
4214e32d74 restore cannon_jet_proto.h so swig doesn't have problems. Tutorial will need to be modified. 2015-09-04 14:26:43 -05:00
John M. Penn
d4cd131fa1 Add SIM_cannon_jet to sim testing. 2015-09-04 13:28:54 -05:00
John M. Penn
d0e6eb1617 Restore SIM_cannon_jet as decsribed in the tutorial. 2015-09-04 13:06:12 -05:00
John M. Penn
6657c7b0dc Delete cannon_jet_proto.c. SIM_cannon_jet will use cannon_aero_proto.h as the tutorial says. 2015-09-04 13:03:12 -05:00
John M. Penn
d160d70990 Remove SIM_jet_call, SIM_jet_event, and SIM_jet_read directories. 2015-09-04 11:13:44 -05:00
John M. Penn
6492e2509a Add check that TRICK_HOME is set in S_overrides.mk. 2015-09-04 11:01:48 -05:00
John M. Penn
abb95b8b6c Restore SIM_cannon_aero to its former glory. 2015-09-03 19:08:55 -05:00
John M. Penn
77c8cd656f Neaten and fix warnings in files created in Tutorial section 8. 2015-09-03 19:02:44 -05:00
John M. Penn
2683c17e0e Remove SIM_aero_curve and SIM_aero_fast directories 2015-09-03 18:47:10 -05:00
John M. Penn
fecf03aa94 Delete the SIM_baseball directory. It's cruft. 2015-09-02 18:53:38 -05:00
John M. Penn
f3ee79374b Delete obsolete .d files in the trick_models directory. 2015-08-31 19:24:56 -05:00
John M. Penn
77c9293c29 Delete unused baseball directory in trick models. 2015-08-31 15:01:44 -05:00
John M. Penn
c98a662ae6 remove old interpolate test program that inadvertantly got added. 2015-08-30 16:40:33 -05:00
John M. Penn
74f8498404 Escaped underscores to make the doc look nicer. Ref #108 2015-08-19 14:01:36 -05:00
John M. Penn
e7185a152e Add clarifications and consistency in description and plots. 2015-08-19 12:59:44 -05:00
John M. Penn
62f3b558e0 Add SIM_sun README ( #108 ) 2015-08-13 14:41:21 -05:00
John M. Penn
71f20c349d Fixes #107 : added parens to args 2015-08-13 14:33:30 -05:00
Alex Lin
80fb82e9f6 Add methods in base SimObject to turn whole sim object on/off.
Added enable/disable methods to the SimObject base class.  Used
enable/disable to be consistent with the JobData class that already
had these defined.

fixes #103
2015-08-05 15:17:32 -05:00
Alex Lin
e12ddbcfe1 Print library dependencies in order as the user wrote them
When getting the library dependencies we store them in an array
now that is in the order they are written and use that for
everything.

refs #105
2015-08-05 14:22:51 -05:00
Alex Lin
119e7908d3 JITInput files not working
Added TRICK_SYSTEM_CXXFLAGS and TRICK_SYSTEM_CFLAGS to the gte list of
variables stored in a simulation.  These variables are used to
compile JIT input files.

refs #104
2015-08-05 14:15:39 -05:00
John M. Penn
8fb1b72011 Ref #101 Add README.md 2015-08-04 17:25:50 -05:00
John M. Penn
f5ca065756 Merge branch 'master' of https://github.com/nasa/Trick 2015-08-04 17:14:37 -05:00
John M. Penn
ff93304b9f Add picture to SIM_parachutist README 2015-08-04 17:13:49 -05:00
Alex Lin
e692b81fdb Setting initial sim time causes lockup
Found two issues.  First is that the next call times for
all of the jobs was not calculated correctly.  Second is
that the if the user wants to sync the sim to a real time
clock interval, the initial sync to the real time clock was pausing
the full starting sim time instead of syncing to the clock
interval.

refs #99
2015-08-04 16:36:19 -05:00
John M. Penn
5778add741 Ref #96 : Fix to many args warning. 2015-08-04 16:26:28 -05:00
John M. Penn
36cf0a72db Fixes #96 by adding space delimiters between values. 2015-08-04 15:51:47 -05:00
John M. Penn
c680c974f6 Refs #44 : Set precision to 15 for MonteVarFixed 2015-08-04 15:46:44 -05:00
Alex Lin
e263feda27 Include new er7_utils CheckpointHelper directory
Added the CheckpointHelper directory to the master makefile.

refs #98
2015-08-04 09:41:56 -05:00
Alex Lin
d00923f2cc Merge branch 'master' of https://github.com/nasa/trick 2015-08-04 09:34:56 -05:00
Alex Lin
d5c847217b Remove unused code in libexec
These checksum files are not in libexec, but they are unused.

refs #97
2015-08-04 09:33:51 -05:00
Alex Lin
a61dd2c031 Removed unused code in libexec
See title.

refs #97
2015-08-04 09:30:43 -05:00
John M. Penn
f2ca099baf Fixes #44: Changed the MonteRun values that are used and that are recorded to be the same precision. Also increased the precision from 10 to 15 significant digits. 2015-07-29 16:56:23 -05:00
Alex Lin
f4e0ce32b0 Can't compile ICG with --std=c++11
Removed the --std=c++11 flag.

refs #94
2015-07-29 09:50:53 -05:00
Alex Lin
a5929dbe6c Move search for library dependencies to make_makefile
Moved the search for all library dependencies into make_makefile.
Made a couple of minor clean up edits as well.

refs #92
2015-07-24 16:16:22 -05:00
Alex Lin
fc9c604056 Split CP up into components that can be called individually
Renamed some output file to make it more obvious what produced them.

refs #86
2015-07-23 10:30:55 -05:00
Alex Lin
a2bc82f1e9 MemoryManager unit test needs -lpthread on Ubuntu
Added -lpthread to link line just because.

refs #91
2015-07-22 18:05:34 -05:00
Alex Lin
cde32e6f60 Trick should not modify TRICK_CFLAGS and TRICK_CXXFLAGS
Jenkins not happy with me.  Jenkins has empty TRICK_CFLAGS and
TRICK_CXXFLAGS.  There was an if statement in Makefile.common that
did something different if it was empty.

refs #90
2015-07-22 16:28:25 -05:00
Alex Lin
eaf83e92f6 No rule for template *.hpp files
Our regular expression for header file extensions did not have hpp
as an option.  Added hpp to the list of possible extensions.

refs #85
2015-07-22 15:36:44 -05:00