Commit Graph

50 Commits

Author SHA1 Message Date
Penn, John M 047828115
4c52ed2753 Merge Caleb Herpins port of Trick webserver from Mongoose to CivetWeb #730. 2021-08-18 13:15:10 -05:00
Penn, John M 047828115
20a8d5c462 Delete mongoose_httpd model in Cannon sims dir. 2019-11-05 09:49:08 -06:00
Penn, John M 047828115
e1a67195d2 Create a default http document root if one doesn't exist. #885 2019-10-15 15:18:45 -05:00
Penn, John M 047828115
bf288636cb Efficiently handle time-consistent and non-time consistent message modes in web server, plus lots of refactoring. ref #883 2019-10-08 14:14:18 -05:00
Scott Fennell
de490a5dfa
Merge pull request #853 from nasa/react-app
React App Example for Embedded Web Server
2019-08-30 13:22:54 -05:00
Scott Fennell
9d4e0343c4 issues #851 #852 add while around mg_mgr_poll to process all events before waiting for next frame 2019-08-30 11:22:34 -05:00
John M. Penn
ed64e40803 Tweaks to comments in embedded web server code. 2019-08-26 13:40:11 -05:00
John M. Penn
d0cbd1f2b5 Fix a deadlock problem created when ws initiated on linux #847 #730 2019-08-22 15:35:17 -05:00
Penn, John M 047828115
2afa2b3e38 Add VariableServerSession command to have ip_parse interpret python code. 2019-08-21 12:27:46 -05:00
Penn, John M 047828115
63605da069 Comments and rearrangment for clarity. 2019-08-21 10:52:48 -05:00
Penn, John M 047828115
2e08379e42 Add the ability to add new types of WebSocketSessions to make server extensible 2019-08-20 18:14:47 -05:00
Penn, John M 047828115
2998180231 Fix renaming misses. 2019-08-19 16:57:46 -05:00
Penn, John M 047828115
d966f21f51 Rename WSSession class to VariableServerSession 2019-08-19 16:50:24 -05:00
Penn, John M 047828115
9656b4fcb2 change #includes for http_server.hh rename. 2019-08-19 15:22:20 -05:00
Penn, John M 047828115
776614997e rename http_server.h -> http_server.hh 2019-08-19 15:19:27 -05:00
Penn, John M 047828115
2428ef3392 Add the WebSocketSession base class. #847 #730 2019-08-19 15:17:14 -05:00
Penn, John M 047828115
c1cbb2ffaa Create WebSocketSession base class and make variable server session a derivative of it. #847 #730 2019-08-19 15:15:33 -05:00
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
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
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
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
John M. Penn
e8525ac796 Improved Explosion sound effect. Ref #550 2018-02-05 11:06: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
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
876075e325 Use include paths relative to TRICK_HOME/include in Cannon sims. Ref #438 2017-06-06 13:04:12 -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
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
11f52b9274 Update impact time calculation in canon analytic 2016-10-27 13:19:27 -05:00
John M. Penn
8b89bac5ad Update cannon headers 2016-10-20 19:10:58 -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
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
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
54a4b57dbe delete SIM_integ. Doesn't actually seem to test anything. 2016-03-03 14:23:38 -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