893 Commits

Author SHA1 Message Date
Alex Lin
cc7e3ea128
Merge pull request from pappyvw/master
Double clicking array variable in Trick QP adds it correctly once again.
2018-02-01 16:29:37 -06:00
Scott Fennell
aa36c31231 added new mass-spring-damper sim and graphics client ()
* added new mass-spring-damper sim and graphics client

* changed math model image for README.md

* updated math model image for README.md
2018-01-31 13:37:14 -06:00
Alex Lin
8f76605f3b Create Message client that writes to screen on a separate thread
Created a new message class that will copy incoming messages to a
buffer area.  The buffer area is pre allocated during simulation
initialization.  On a separate thread the buffer area is written
to std::cout.
2018-01-25 15:59:19 -06:00
Alex Lin
403621c139 Pointers to STLs cannot be checkpointed.
sometimes the TMM allocate routines fail.  I added error checking
to stop a core dump.  More investigation is needed to determine
why the allocation is failing.
2018-01-25 13:25:29 -06:00
Alex Lin
54b57bc351 Pointers to STLs cannot be checkpointed.
Added code to disable printing of STLs if it is arrayed or has pointer
dimensions.
2018-01-25 09:40:23 -06:00
Alex Lin
a2d0387d57 trk2csv can open too many files
trckConvert missing cstring header. Added object code to .gitignore.
2018-01-24 07:55:14 -06:00
Alex Lin
c3f94fec49 Only print TRICK_CFLAGS and TRICK_CXXFLAGS once during compilation
Added a test to see if MAKE_RESTARTS exists.  If it does not print
the TRICK_CFLAGS and TRICK_CXXFLAGS.
2018-01-23 14:18:01 -06:00
John M. Penn
054356ec7c Added sound effects to Cannon variable server client. Ref 2018-01-23 11:44:48 -06:00
Alex Lin
c4b872c26e Don't start or wait for disabled threads in the executive
Added check to see if thread is enabled when starting it and waiting
for it to finish.  If it is disabled, skip it.
2018-01-23 09:37:02 -06:00
John M. Penn
6039669647 Created a new program call trkConvert that only opens the trk file once. Ref 2018-01-19 17:37:29 -06:00
Alex Lin
12c7dbd4cf Trick's new variable server address is hard to debug if you don't know it changed
Created a second multicast socket to broadcast the sims variable server information
on the old address.
2018-01-19 16:49:08 -06:00
Alex Lin
d4ffa4002b Add NULL pointer check to remove_event.
Added the NULL pointer check and return immediately if the pointer is NULL.
2018-01-18 13:23:38 -06:00
Alex Lin
36a91abbc3 S_overrides.mk is not read last.
Switched the inclusion of S_overrides.mk and build/Makefile_overrides.  S_overrides.mk
is now last as it is supposed to be.
2018-01-18 13:20:46 -06:00
Pappy Van Winkle
bb2c6fbb91 Double clicking array variable in Trick QP adds it correctly once again.
Fixes 
2018-01-14 20:32:46 -06:00
Derek Bankieris
58103ff889 Purge empty/whitespace before calling abs_path
Fixes 
2018-01-11 13:54:38 -06:00
John M. Penn
020dd0c1c9 Correct the sizeof() arg to memset call in test fixture. Ref . 2018-01-10 14:27:46 -06:00
Derek Bankieris
5db74dc804 Prefer simply-expanded variables in makefiles
Closes 
2018-01-09 12:19:16 -06:00
Alex Lin
6ca81bc50d
Merge pull request from abrogley/determinate-determinant
Fixing typos in trick_math
2018-01-08 10:40:48 -06:00
Aaron Brogley
f16360ab5f Fixing typos in trick_utils/math
s/determinate/determinant
s/haft/half
s/LELF/LEFT
2018-01-06 11:45:20 -06:00
Alex Lin
c694700148 Add environment variable to ignore types from ICG processing
Added a new environment variable TRICK_ICG_IGNORE_TYPES.  Class/struct/enum
types found in this semicolon delimited list will not have attributes written
out.
2017-12-19 10:02:41 -06:00
Alex Lin
9509924b64 Don't create attributes for class members that are of private embedded class types
Test the class field type.  If the type is a private embedded class mark the field
as io=0 so we don't create attributes for the field.
2017-12-19 08:26:52 -06:00
Nick Kapliev
c8619dbea7 Fixed MonteCarlo EOF problem. ()
* Added tests for MonteCarlo varfile eof line problem

* Remove redundant variables in MonteCarlo varfile test

* Fixed MonteCarlo varfile eof line problem. 
2017-12-13 12:01:31 -06:00
Christopher LaChance
6a03acfb42 Reformated unit test compilation success message. 2017-12-13 11:09:02 -06:00
Christopher LaChance
fbd9d3237f Cleaned up 'make' target display further. 2017-12-13 11:04:00 -06:00
Derek Bankieris
da7a79e897 Invoke qualified lookup of add_job in SimObjects
Fixes 
2017-12-13 07:58:20 -06:00
Christopher LaChance
5e8cb8649f Added formating to the core makefile. Trick compilation is now visually broken into sections. 2017-12-12 12:01:35 -06:00
Alex Lin
5285f1a72e Symbolic links rise again
Found more places where symbolic links cause havoc.  Also added back a #define
that was removed in parameter_types.h and added back the messaging routines to
the list swig processes.
2017-12-12 10:17:24 -06:00
Christopher LaChance
6e0fcbd947 Updated formating and replaced formating variables. 2017-12-07 15:10:39 -06:00
Christopher LaChance
1bb3ac2a06 Cleaned up 'make clean' output significantly. 2017-12-06 13:12:13 -06:00
Derek Bankieris
1682a0d3c5 Add udunits custom install directory to rpath
Other things I tried:

1. Pass the full path of the library directly to the linker.
Doesn't work for 32-bit builds because ICG needs the 64-bit version.

2. Use -static to have the linker statically link in the library.
Doesn't work because there is no 64-bit static library on default
installs.

Fixes 
2017-12-05 09:16:53 -06:00
Derek Bankieris
380ab024a4 Add --with-udunits path to TRICK_EXCLUDE
Fixes 
2017-12-04 11:02:03 -06:00
Christopher LaChance
6184aa6cd9
Some unit test warnings addressed. ()
* Removed purple warnings from unit test compilation.

* "Fixed const corectness bug. Added more warning fixes."

* Fixed warning issue.

* Removed null checking and (char*) casting.

* Changed sizeof parameter to variable from data structure.
2017-11-29 15:35:16 -06:00
Christopher LaChance
0b9fbe1762
Merge pull request from nasa/MakeInstallWarning
Updated 'make install' to handle Trick compilation.
2017-11-28 12:05:15 -06:00
Christopher LaChance
f4ef6a7fa4
Removed accidental addition to clean_doxygen. 2017-11-28 09:05:07 -06:00
Christopher LaChance
8dac661533
Merge pull request from nasa/MCFileOpenError
Fixed the MC 'file failed to open' error.
2017-11-28 09:01:26 -06:00
Christopher LaChance
0e772525c7 Fixed the MC 'file failed to open' error. 2017-11-22 12:51:34 -06:00
Christopher LaChance
704bb764b7 Added make as a prerequisite to make install. 2017-11-21 14:55:39 -06:00
Christopher LaChance
954e1aa383 Added warning to 'make install'. 2017-11-17 11:39:17 -06:00
John M. Penn
65800e2dcd If XML_CATALOG_FILES env variable is not set, parse xml files without validation. Ref 2017-11-10 13:42:39 -06:00
John M. Penn
a9aff05320 Don't have FXPLOT validate DP and session files against the DTD. Ref 2017-11-09 16:31:26 -06:00
John M. Penn
bac90aac14 Fix cannon_impact, by updating it to the version in the tutorial. Oops. Ref 2017-11-08 14:13:40 -06:00
Derek Bankieris
29bd27e931 Restore (module="sim_services") to Trick %imports
Fixes 
17.2.0
2017-11-03 10:22:38 -05:00
Alex Lin
7af2b790a2
Merge pull request from nasa/MonteCarloUnitTest
Modified unit tests to account for new logic.
2017-11-02 14:17:51 -05:00
Thadeus Fleming
143d0f2c41 Make object .d files order-only prerequisites
This will ensure objects are rebuilt only due to a missing dependency
file, not a newer one.

Fixes .
2017-11-02 12:34:48 -05:00
Christopher LaChance
21e3804638 Removed outdated MonteVarFile exception unit test. 2017-11-02 11:40:28 -05:00
Christopher LaChance
5ea826c67b Modified unit test to account for new logic. 2017-11-01 09:00:59 -05:00
Christopher LaChance
9b3813dd1f
Merge pull request from nasa/MultiFileFix
Implemented a fix for multiple concurrent file handles.
2017-11-01 08:54:57 -05:00
Christopher LaChance
a68ea46f14
Fixed issue with open file being reopened. 2017-10-31 13:56:04 -05:00
Christopher LaChance
cf75a15be8 Removed redundant checks and this-> keywords. 2017-10-31 13:17:14 -05:00
Christopher LaChance
0dbdc2d7b9 Changed streampos comparison from NULL to 0. 2017-10-31 10:02:10 -05:00