Commit Graph

192 Commits

Author SHA1 Message Date
Penn, John M 047828115
c633c4cddd More refactoring. #847 #730 2019-08-16 20:16:27 -05:00
Penn, John M 047828115
fee9b89a07 Make API handling more extensible, and a lot of refactoring. #847 #730 2019-08-16 18:39:45 -05:00
Penn, John M 047828115
3e1d639a3e Synchronize web socket variable server to realtime frame. #847 #730 2019-08-13 16:27:03 -05:00
Penn, John M 047828115
e7e937eed9 Fix integer parsing in simple JSON parser. #844 #730 2019-07-22 16:20:24 -05:00
Penn, John M 047828115
0df631c41a Implement var_clear and var_send for imbedded http server JSON variable server. #844 #730. 2019-07-22 13:35:43 -05:00
Penn, John M 047828115
c011f27a2c Add web socket variable server and html/javascript example app #844 #730 2019-07-18 16:35:29 -05:00
Scott Fennell
5f38ca4c37 issue #836 remove SIM_ball_default_data 2019-07-10 11:36:09 -05:00
Scott Fennell
82bae3b0d0 #836 remove all S_default.dat stuff 2019-07-09 15:58:26 -05:00
Penn, John M 047828115
e6b6312396 Add Websocket sessions to experimental mongoose-based embedded web server. Ref #828 2019-06-19 17:23:32 -05:00
Scott Fennell
fadda55abf Log elapsed time in default_data, input_processor, and init jobs in file
init_log.csv
2019-06-17 14:40:01 -05:00
Penn, John M 047828115
7ccdade441 Fix S_overrides.mk #756 2019-04-24 18:50:08 -05:00
Penn, John M 047828115
cebfc174ae Don't compile and link HTTP server by default Ref #756 2019-04-24 18:29:50 -05:00
Penn, John M 047828115
b029fae692 Add an experimental mongoose-based embedded web server to SIM_cannon_numeric #756 2019-04-17 17:26:48 -05:00
jmpenn
024cf2eb5f
Update Readme.md 2019-01-15 16:27:11 -06:00
jmpenn
6ba9fbb9cd
Update Readme.md 2019-01-15 16:26:21 -06:00
jmpenn
06002b3f4d
Update Readme.md 2019-01-15 16:25:18 -06:00
Penn, John M 047828115
d76d0e289f Model Rocket Simulation. Ref #726 2019-01-15 16:23:12 -06:00
Scott Fennell
f0537efb0f example sim SIM_msd add init body 2018-12-21 14:01:48 -06:00
Scott Fennell
5408b5bc44 refactor example sim SIM_msd 2018-12-21 13:48:38 -06: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
jmpenn
8c97db25f4
Cleanup the Cannon Readme's and Sim Tweaks of Clarity (#659)
* 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
6790b27330
Fix heading 2018-07-31 19:05:23 -05:00
jmpenn
d90a979b36
Updates for Example Sims (#655)
* 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
John M. Penn
e8525ac796 Improved Explosion sound effect. Ref #550 2018-02-05 11:06:14 -06:00
Scott Fennell
aa36c31231 added new mass-spring-damper sim and graphics client (#555)
* 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
John M. Penn
054356ec7c Added sound effects to Cannon variable server client. Ref #550 2018-01-23 11:44:48 -06:00
John M. Penn
bac90aac14 Fix cannon_impact, by updating it to the version in the tutorial. Oops. Ref #439 2017-11-08 14:13:40 -06:00
John M. Penn
9335b9cff8 Fix variable server config in java clients. Ref #474 2017-09-12 12:52:59 -05:00
John M. Penn
0a6e1bbc64 Create a simple Java graphics client for the Ball sims. Ref #472 2017-09-08 16:33:56 -05:00
John M. Penn
821907cd73 Updated units specifications in SIM_sun and SIM_wheelbot. 2017-08-04 18:37:16 -05:00
Thadeus Fleming
bf2759c5c0 Remove deprecated dynamic exception specifiers.
Resolves #461
2017-07-28 20:49:42 -05:00
Christopher LaChance
2a79c4a3cd Sim monte freeze fix. (#451)
* Extended the size of the character array to fully fit the string.

* Changed to sizeof().
2017-07-05 08:51:56 -05:00
John M. Penn
6aad66646f Update cannon_impact function for tutorial. Ref #439 2017-06-13 15:53:44 -05:00
John M. Penn
6c73951488 fix path to SunDisplay.jar in SIM_sun/RUN_test/input.py 2017-06-06 14:28:22 -05:00
John M. Penn
11aa54d4a4 Updates for SIM_wheelbot. Ref #438 2017-06-06 14:20:12 -05:00
John M. Penn
876075e325 Use include paths relative to TRICK_HOME/include in Cannon sims. Ref #438 2017-06-06 13:04:12 -05:00
John M. Penn
f9c0b16451 More heading fixes in various README.md files 2017-05-11 17:44:43 -05:00
John M. Penn
135d49c4eb Fix heading in SIM_parachute README.md 2017-05-11 17:27:35 -05:00
John M. Penn
02a2536a9f Fix minor typo in SIM_wheelbot README.md 2017-05-11 17:24:45 -05:00
John M. Penn
a74282bd64 Update trick_sims gitignore to ignore the build dir, and remove gitignore file in SIM_sat2d. Ref #419 2017-05-11 16:48:01 -05:00
John M. Penn
9f7ab75a6b Fixed gitignore rules, added SatDisplay.java, and uncapitalized SIM_sun graphics directory. Ref #419 2017-05-11 16:18:42 -05:00
Derek Bankieris
2335f6bb69 Correct Monte Carlo compiler error on CentOS 7
Also change the Cannon sim monte_post jobs to use mc_read/write instead
of tc_read/write

Refs #396
2017-03-24 08:11:32 -05:00
John M. Penn
1b1490a972 Add 2D Satellite Simulation. Ref #387 2017-02-28 15:49:35 -06:00
Derek Bankieris
c3b5da975a Oops
Refs #369
2017-01-09 08:40:27 -06:00
Derek Bankieris
7a08829d3d Introduce makefile variable TRICK_SYSTEM_LDFLAGS
Like other TRICK_SYSTEM variables, users should not modify this.

This renders TRICK_LDFLAGS and TRICK_USER_LINK_LIBS redundant. While we
would like to eventually remove TRICK_USER_LINK_LIBS, it's not likely to
ever actually happen.

Refs #369
2016-12-14 12:36:21 -06:00
John M. Penn
9ac0f64f10 Organize model functions and prototypes. Refs #338 2016-11-17 16:04:07 -06:00
Michael Vetter
18f0d7e871 Remove trailing whitespaces
Makes it easier to edit the files. So if we press 'end of line' we are
really at the end of line.
2016-11-08 10:25:07 +01:00
John M. Penn
8ad462cd1c Improve organization of Cannon sim files. Ref #338 2016-11-01 18:16:26 -05:00
John M. Penn
e66fc2bbd5 Update test target because SIM_cannon_integ renamed to Sim_cannon_numeric 2016-10-27 18:11:15 -05:00
John M. Penn
906a92db66 update trick_sims test target for deleted Cannon sims 2016-10-27 17:38:14 -05:00
John M. Penn
0c5a4a07c2 Add RUN_graphics scenario to SIM_cannon_numeric 2016-10-27 14:37:14 -05:00
John M. Penn
11f52b9274 Update impact time calculation in canon analytic 2016-10-27 13:19:27 -05:00
John M. Penn
37a75bc34e Update SIM_cannon_numeric 2016-10-20 19:12:31 -05:00
John M. Penn
8b89bac5ad Update cannon headers 2016-10-20 19:10:58 -05:00
John M. Penn
c1a60f3c8f Moved README.md and images from SIM_cannon_integ to SIM_cannon_numeric 2016-10-20 19:08:41 -05:00
John M. Penn
8e7285f116 Add modelTime integration to SIM_cannon_numeric 2016-10-20 17:39:32 -05:00
John M. Penn
4f9c1cdc0b Get rid of SIM_cannon_dt and combine Sim_cannon_contact and SIM_cannon_integ 2016-10-20 17:35:27 -05:00
John M. Penn
8f585baae2 Worked out a design for the Cannonball Variable server client that I'm happy with. Ref#320 2016-10-19 18:20:32 -05:00
John M. Penn
9b1ef5404a Update SIM_cannon_analytic and add ability to launch new graphics client. Ref #320 2016-10-19 17:39:47 -05:00
John M. Penn
aa859d1579 In DP_Solar_AZ_EL.xml file, units attributes are changed from d to degree. Ref #323 2016-10-05 14:24:44 -05:00
John M. Penn
7300c0759f get rid of a bunch of unnecessary imports. Ref #320 2016-09-30 14:51:55 -05:00
John M. Penn
a23702b4a9 Initial commit of Java, Cannonball, variable server client. Ref #320 2016-09-30 14:33:16 -05:00
John M. Penn
ab9ff1c38e Deleted old unmaintained graphics code 2016-09-30 11:33:07 -05:00
John M. Penn
fc77fbc216 Fix tv file which was horked somehow 2016-09-14 17:17:44 -05:00
John M. Penn
f186b91afc Add comments that explain the coordinate systems and transformations in SunDisplay. Ref #310 2016-09-14 17:16:42 -05:00
Alex Lin
0eab3d2d4e DP file in SIM_ball_L1 does not work #302
So the previous commit works with one plot widget but not the other.  Now it
works for both.
2016-09-07 09:31:52 -05:00
Alex Lin
53f0e33049 DP file in SIM_ball_L1 does not work #302
Everything was old and now wrong in this file.  Wrong start/stop times,
wrong X and Y axis min/max values, wrong units for time, and wrong
variable names.
2016-09-07 07:20:24 -05:00
Alex Lin
cddc8a585d SIM_satellite graphics might be missing -ldl #288
Added -ldl to link flags.
2016-08-19 10:06:38 -05:00
Alex Lin
35cec634e5 Convert old units to udunits in test code
Changed all of the old units to the new udunit strings.

refs #261
2016-06-30 10:03:39 -05:00
Alex Lin
149e01a4c9 Fix warnings in cannon sims
Fixed a lot of warnings about missing prototypes and unused variables.

refs #245
2016-06-02 09:37:42 -05:00
John M. Penn
83fd363eb7 Update picture in the SIM_sun README file. REF: #242 2016-05-26 18:37:23 -05:00
Alex Lin
57bed25466 Split test sims and fun sims into separate directories.
removed SIM_target because we don't use it.

refs #191
2016-04-20 15:29:22 -05:00
John M. Penn
e7af440d8a SunDisplay buttons with unicode chars. Ref: #208 2016-03-31 15:42:49 -05:00
John M. Penn
84f1fd0b5c Created a graphical variable server client for SIM_sun. Refs #208 2016-03-30 17:25:08 -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
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
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
9e481703a1 Move the Wheelbot models to the SIM_wheelbot directory 2016-02-22 11:59:11 -06:00
John M. Penn
da08efe546 Fixes #185 Add SIM_wheelbot 2016-02-18 16:14:44 -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