Commit Graph

982 Commits

Author SHA1 Message Date
Scott Fennell
e17509b6d1 add trick-CP --help message 2018-10-22 09:20:55 -05:00
Alex Lin
edddc79e25
Merge pull request from pappyvw/warnings
Remove all unused variables and use correct format specifiers
2018-10-19 07:47:42 -05:00
Derek Bankieris
f6872aa12c Add missing dependency to Trickification makefile
Fixes 
2018-10-18 11:37:59 -05:00
Derek Bankieris
d38c30ad02 SWIG all of S_library_swig during Trickification
Fixes 
2018-10-18 10:45:13 -05:00
Pappy Van Winkle
121fa84081 Use correct format specifiers.
Used http://www.cplusplus.com/reference/cstdio/printf/ as a reference.
2018-10-11 22:52:04 -05:00
Pappy Van Winkle
af2575da5b Remove all unused variables (style warning). 2018-10-11 22:05:50 -05:00
Scott Fennell
6ef62f6502
Merge pull request from nasa/typeid-exception
 handle bad typeid
2018-10-04 14:28:03 -05:00
Scott Fennell
c133eecc27 handle bad typeid 2018-10-04 13:58:28 -05:00
jmpenn
fccf32093b
Explicitly specify void arg for C functions that take no arguments. ()
* Clock empty args to void

* command_line func empty args to void

* DataRecord func empty args to void

* debug_pause func empty args to void

* echojobs func empty args to void

* ExternalApplication func empty args to void

* FrameLog func empty args to void

* MasterSlave func empty args to void

* MonteCarlo func empty args to void

* outdllist func proto empty args to void

* sie func empty args to void

* SimTime func empty args to void

* UnitTest func empty args to void

* var_server func empty args to void

* wcs func empty args to void
2018-09-19 11:25:04 -05:00
jmpenn
9a5ecd1294
Replace unreliable 'divide-by-zero' way of generating NaNs with math.h NAN in deuler routines. () 2018-09-17 11:04:53 -05:00
jmpenn
00b4b2c8d9
Fix incorrect initialization of units in trick-qp, and incorrect generation of XML that caused fermi tables to crash. () 2018-09-13 14:00:29 -05:00
jmpenn
fcbd99aaf4
Two Java plot fixes ()
* MinY and MaxY of Plot axis should never be the same, even with flatline data.

* In addition to a null check, add a empty units String check.
2018-09-06 14:46:08 -05:00
jmpenn
c112290265
Replace iText Java PDF library with PDFBox. () 2018-09-04 16:59:06 -05:00
Derek Bankieris
3032aae3e4 Trick View: use fixed width for binary format
Closes 
2018-08-28 08:22:56 -05:00
jmpenn
8c97db25f4
Cleanup the Cannon Readme's and Sim Tweaks of Clarity ()
* Delete a bunch of old png's.

* Make g (acceleration of gravity at sea-level) a parameter rather to make doc cleaner.

* Update Cannon READMEs to be more informative.
2018-08-17 17:07:06 -05:00
jmpenn
7b694931ef
Warning fixes ()
* Suppress expected, benign warnings from Bison and Flex generated code.

* Trick::MessageThreadedCout::thread_body should return NULL.
2018-08-16 16:02:11 -05:00
John M. Penn
8f5123e480 Included stdexcept in TRK_DataLog.cpp. Ref 2018-08-13 19:06:48 -05:00
John M. Penn
3ff8fc6bc0 Fix enums in MonteCarlo_test.cpp. REF 2018-08-08 14:36:10 -05:00
jmpenn
6790b27330
Fix heading 2018-07-31 19:05:23 -05:00
jmpenn
d90a979b36
Updates for Example Sims ()
* Move integloop initialization from input file to S_defines create_connections routine

* Add README.md to describe the ball sims.
2018-07-31 19:01:47 -05:00
jmpenn
84f67ef79f
Update all enums in MonteCarlo with prefixes, so as to not conflict with other enums. () 2018-07-25 13:05:10 -05:00
jmpenn
6f82d11122
Refactoring in trkConvert ()
* refactoring: DocWindow constructor to take datalog rather than filename.

* Neatening DocWindow.cpp
2018-07-19 17:45:47 -05:00
Scott Fennell
951aae4be4
Merge pull request from nasa/java-update
 update deprecated code
2018-07-13 15:46:33 -05:00
Scott Fennell
a6274680a5 update depricated code 2018-07-13 15:15:35 -05:00
jmpenn
b0b0cdf21b
Add Search and Documentation for trkConvert ()
* Add Export of variable list to file.

* Create DocWindow:formattedSave, and implement saveAsCSV etc in terms of it.

* Minor spacing changes

* Add text text UI parts to DocWindow.

* Add foreward and reverse search by pattern.

* Document and configuration for Mac.
2018-07-13 13:43:03 -05:00
Scott Fennell
8a4c8e3dd9
Merge pull request from nasa/configure-with-swig
add --with-swig=<path to swig binary> option to configure
2018-07-12 16:15:57 -05:00
Scott Fennell
c752dd1b2c one more line 2018-07-12 16:12:39 -05:00
Scott Fennell
5b5dc148bf remove debugging printouts 2018-07-12 16:09:07 -05:00
Scott Fennell
63ab0ffc22 changed help string for --with-swig 2018-07-12 16:05:39 -05:00
Scott Fennell
2a13bf34af add --with-swig=<path to swig> option to configure 2018-07-11 15:11:02 -05:00
Scott Fennell
d42f75c507
Merge pull request from nasa/swig-flags
 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS...
2018-07-09 10:45:39 -05:00
Scott Fennell
8044c03176 update trickify.mk flag name 2018-07-09 09:41:34 -05:00
Scott Fennell
a0eaf5b794 Remove invalid delete in empty rec_buffer, checkpoint load no longer crashes. 2018-07-09 09:23:28 -05:00
Derek Bankieris
398907f365 Remove SIM_makefile_overrides from test makefile
Refs 
2018-07-05 13:41:18 -05:00
Derek Bankieris
442fcadc05 Remove SIM_makefile_overrides
I failed to commit the S_define for this sim and have since cleaned it
away. I'm not remaking it.

Refs 
2018-07-05 13:03:42 -05:00
Scott Fennell
bf7ce2db3c revert/remove TRICK_SYSTEM_SWIG_FLAGS. Wiki and trickify.mk update still required 2018-06-29 11:06:50 -05:00
jmpenn
402f7c152b
Added GUI to trkConvert. () 2018-06-28 16:16:48 -05:00
anon
34dcffa7f7 add C headers to trk_DataLog.cpp 2018-06-28 10:18:49 -05:00
anon
ef634c9f48 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS. *_FLAGS are swig options, *_CFLAGS are g++ compiler options for swig objects. TRICK_SYSTEM_* options should not be changed by trick users 2018-06-27 13:58:44 -05:00
John M. Penn
f87657c747 Break out classes into separate files. 2018-06-25 11:44:00 -05:00
Derek Bankieris
f8edd98780 Replace CC w/ CXX in Trk2csv makefile
Fixes 
2018-06-25 10:44:51 -05:00
Derek Bankieris
ed5a5426b1 Revert "Infer TRICK_HOME automatically"
This reverts commit 6e18294100.
Refs 
2018-06-22 08:12:38 -05:00
Derek Bankieris
6e18294100 Infer TRICK_HOME automatically
Refs 
2018-06-21 11:40:40 -05:00
Derek Bankieris
e14e6bc1ec Fix make_makefile_src on CentOS 6
Closes 
2018-06-21 11:40:00 -05:00
Derek Bankieris
3172be86b1 Fix special treatment of "src" AGAIN
Great feature. Really, I love it.

Refs 
2018-06-11 13:10:36 -05:00
Derek Bankieris
7998791679 Add test sim: SIM_makefile_overrides
Refs 
2018-06-11 13:10:36 -05:00
Derek Bankieris
a0faa289df Restore support for "batch compiling"
In LIBRARY DEPENDENCIES, any file ending in ".a" will cause all
files in that directory and any contained "src" directory to be
compiled. What a terrible "feature".

Refs 
2018-06-11 13:10:36 -05:00
Derek Bankieris
98b621fd6e In "src", look for makefile_overrides one level up
I don't like this "feature", but it's baggage we're stuck with for now.

Refs 
2018-06-11 13:10:36 -05:00
Derek Bankieris
334273fa81 Make everything about make_makefile_src better
Fixes  
2018-06-11 13:10:36 -05:00
Derek Bankieris
ea0878af26 Fix "objects:" in makefile_overrides
Fixes 
2018-06-11 13:10:36 -05:00