Commit Graph

314 Commits

Author SHA1 Message Date
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
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
83572b20cb Print some timing statistics when the sim exits
Saved the timestamps on the default gettimeofday clock as close to
the beginning of the simulation, after initialization is finished and
at the end of shutdown.  Printed out the elapsed time as well as
the number of overruns counted by RealtimeSync.

refs #183
2016-02-17 16:27:37 -06:00
Alex Lin
b4f0906e03 Merge in the er7_utils integrators
Added .gitignore for created makefiles in er7_utils.

refs #180
2016-02-11 14:13:25 -06:00
Alex Lin
6eef449a1c Don't process header files installed by Homebrew
Added /usr/local/Cellar to ICG's list of system header locations.

refs #181
2016-02-11 09:33:53 -06:00
Alex Lin
8a535cc44f Merge in the er7_utils integrators
Wasn't supposed to add the CheckpointHelper.

refs #180
2016-02-10 11:21:54 -06:00
Alex Lin
4c3015851f Merge in the er7_utils integrators
Taking in the latest er7_utils directory and adding it into Trick in the
same location it was as an external repository.  Made one change to
the files_to_ICG.hh file in the repository to remove the CheckpointHelper
header files.  Those go in the Trick files_to_ICG.hh file.

refs #180
2016-02-10 09:32:53 -06:00
Alex Lin
2ca4b72cee Trick model files found in external libraries are not being included correctly
Found that the list of swig files we should expect from external libraries
was incorrectly cleared before it was being used.  This still allows the
sim to compile, but no information about the models in the library are
available in the input file.

refs #179
2016-02-09 11:13:09 -06:00
Alex Lin
2b30a92342 Trick parsing comments improperly
When I split the comment remover into 2 regular expressions I reversed
the order removing C style comments before c++.  This caused this error
where a /* in a C++ comment made Trick look for the end of the C style
comment and it may never find the end.

refs #178
2016-02-05 11:19:53 -06:00
Alex Lin
6461b50d7d Setting framelog sample size does not work.
Setting the frame log size only resized the time line graph, not the normal
frame log groups.  Added code to change the size of the normal frame log
groups in addition to the time line.

refs #177
2016-02-04 16:13:05 -06:00
Alex Lin
030f44132c Merge branch 'master' of https://github.com/nasa/trick 2016-02-04 16:09:51 -06:00