Alex Lin
683763680b
ATTRIBUTES for a member whose type is typedef'd in a template are wrong
...
Forgot I was experimenting with a short name... undid that.
refs #200
2016-03-16 13:55:38 -05:00
Alex Lin
2703b0d766
Merge branch 'master' of https://github.com/nasa/trick
2016-03-16 13:29:10 -05:00
Alex Lin
ce3ae67633
ATTRIBUTES for a member whose type is typedef'd in a template are wrong
...
I found that in ICG I have access to the canonical type of a variable which
in most cases is the type I should process. Doing this eliminates the
need for some of the code that resolved typedefs because the canonical type
has already done that.
refs #200
2016-03-16 13:24:59 -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
Alex Lin
26dfb3a000
Move the lock_memory function out of the Executive to RealtimeSync
...
Moved the lock memory function to the real time sync directory. It doesn't need
to be part of the RealTimeSync class either so I left the lock/unlock code
in the C language calls for real time functions.
refs #195
2016-03-10 17:05:47 -06:00
Alex Lin
d5f6d201c6
Add default configure option for GSL and HDF5
...
If no argument is given with --with-gsl or --with-hdf5 we search
/usr/include for the proper header files. If found we set the
configure variables for these packages to /usr. If not found we
emit an error message.
refs #199
2016-03-10 14:04:04 -06:00
Alex Lin
1754995396
ATTRIBUTES for classes with non-locally typedef'd members is wrong
...
Interesting case. I found that we should process the canonical type names where
we were not before. This resolves all typedefs and should be be more
accurate in the future. When we process the canonical type we need to ignore
the processing of the non-canonical type. We set a flag after
the canonical type is processed to ignore any type that is processed after.
refs #198
2016-03-10 10:42:59 -06:00
John M. Penn
0f76eec7a1
Include stdlib.h in MemoryManager_ref_name.cpp.
2016-03-09 11:26:31 -06:00
John M. Penn
ced68e24b2
Keep track of and free the reference attr created by ref_var. Refs #154
2016-03-08 17:47:09 -06:00
John M. Penn
9b652d0a11
Back out free of attributes in assignment production. refs #154
2016-03-07 12:32:16 -06:00
John M. Penn
ec37898fb1
Fix memory leaks in CheckpointAgent input parser. refs #154
2016-03-03 17:38:41 -06: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
bf80dcc03f
Split test sims and fun sims into separate directories.
...
Gave each sim their own model directory, or in some cases just
a header file. Each sim in the test directory is now independent
of each other. Modifying one test will not affect any other test.
refs #191
2016-02-25 14:40:55 -06:00
Alex Lin
f627771387
Add option to validate pointer addresses in variable server clients
...
Forgot to add prototype of new var_validate_address command
refs #193
2016-02-25 11:13:17 -06:00
Alex Lin
7d5e501012
Add option to validate pointer addresses in variable server clients
...
Added an option on the settings panel in TV to toggle validating
addresses. Removed the now deprecated resolve_bad_refs button.
refs #193
2016-02-25 11:11:02 -06:00
Alex Lin
13a55f1fb3
Merge branch 'master' of https://github.com/nasa/trick
2016-02-25 10:10:35 -06:00
Alex Lin
3abf0b31c4
Add option to validate pointer addresses in variable server clients
...
Forgot I left the validate_address on for testing. Turned if off now.
refs #193
2016-02-25 10:09:49 -06:00
Alex Lin
b4ad77840e
Split test sims and fun sims into separate directories
...
New trickcomm test sim was not compiling on the Mac because of
linux only define.
refs #191
2016-02-25 09:28:25 -06:00
Alex Lin
51715a0650
trick-sniffer calls trick-simcontrol by old name
...
Changed the system call to use the new name.
refs #194
2016-02-25 09:02:23 -06:00
Alex Lin
543bbc0585
Add option to validate pointer addresses in variable server clients
...
Added a flag called validate_address to each variable server thread. When
activated each pointer address will be tested to see if it is in memory
the memory manager is tracking. If it is then everything proceeds normally.
If it does not, then an error return value is returned for the value of this
variable.
refs #193
2016-02-25 08:56:04 -06:00
Alex Lin
643170c319
Split test sims and fun sims into separate directories.
...
SIM_stls3 won't compile on much of any platform.
refs #191
2016-02-24 09:46:04 -06:00
Alex Lin
dd43bfa36c
Split test sims and fun sims into separate directories.
...
The test/makefile was not being committed because it was in the .gitignore file.
refs #191
2016-02-24 08:52:25 -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
fc79d7a36d
Merge branch 'master' of https://github.com/nasa/Trick
2016-02-22 12:01:30 -06:00
John M. Penn
9e481703a1
Move the Wheelbot models to the SIM_wheelbot directory
2016-02-22 11:59:11 -06:00
Alex Lin
34a71e76ed
Add Two Wheeled Electric Robot Sim
...
Added .gitignore file for built files.
refs #185
2016-02-22 09:55:12 -06:00
Alex Lin
2c5a46a8bc
Trick::MemoryManager::add_attr_info improperly removes the const keyword
...
Changed the search from "const" to "const " because we're intersted in
removing the const keyword preceding a type name.
refs #184
2016-02-22 09:52:28 -06:00
Derek Bankieris
912778423b
Fix Sniffer to use the new binary names, which are prepended with trick-
2016-02-22 09:42:22 -06:00
John M. Penn
da08efe546
Fixes #185 Add SIM_wheelbot
2016-02-18 16:14:44 -06:00
Alex Lin
39868aba46
Functions with enumerated default arguments cause bad python code to be generated
...
OK, all the previous checkins were the wrong way to fix this issue. The SWIG
compactdefaultargs feature and the shadow feature clash for our DRBinary class.
I turn off compactdefaultargs for the DRBinary class, leaving it on for
everything else.
refs #176
2016-02-18 11:04:07 -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