Commit Graph

169 Commits

Author SHA1 Message Date
Penn, John M 047828115
cc71921ecf Modify altitude controll to be more energy efficient and tweaks. #933 2020-01-23 14:32:52 -06:00
Penn, John M 047828115
700e8269aa Fix integrator size. Was one state variable short. #933 2020-01-23 14:26:50 -06:00
Penn, John M 047828115
05386da6f6 Initial commit of SIM_lander. #993 2020-01-17 15:40:26 -06:00
Scott Fennell
66c5852566 update doc links 2019-11-20 12:53:56 -06:00
Scott Fennell
0d5aa45c20
Python3 exec open (#907)
* update .gitignore

* #906 change all python execfile() to exec(open().read())
2019-11-14 13:35:57 -06:00
Penn, John M 047828115
20a8d5c462 Delete mongoose_httpd model in Cannon sims dir. 2019-11-05 09:49:08 -06:00
Scott Fennell
2deff169e0 require c++11 for trick_source/sie 2019-10-31 09:51:24 -05:00
jmpenn
95c6659733
Incorporate Webserver into Trick, so one only has to include HttpServ… (#886)
* Incorporate Webserver into Trick, so one only has to include HttpServer.sm

* Tweaks in default index.html file

* Rename HTTPServer.sm to WebServer.sm

* Rename http_server to WebServer

* Add --retry to curl invocations in HttpServer makefile.

* Fix #include in VariableServerVariable.hh

* Include cleanup and curl tweaks in the hopes of making Jenkins happy.

* Doh! problem in makefile masked by preinstalled mongoose in usr/local/lib

* DIE Make Bug DIE

* Fix include in WebServer.sm

* WebServer.sm constructor name

* Don't SWIG mongoose.h

* Compile with -std=c++11

* Attempt to fix race condition in makefile

* makefie tweek

* Fix trick library name problem for Centos and Redhat
2019-10-23 11:58:19 -05: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
Josh Sooknanan
bbe693d9d0 Updated S_overrides to work with ROS kinetic. Included catkin package containing the appropriate message file to integrate with other ROS nodes - build with catkin. 2019-09-24 15:13:00 -05:00
Scott Fennell
c43ba55edf add an element to get a font to the react app 2019-09-04 12:51:52 -05:00
Scott Fennell
d3ca4c4781 remove fonts 2019-09-03 09:13:26 -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
Scott Fennell
d8717059f5 #851 complete a basic mockup with some features of the React-based sim-control UI 2019-08-27 13:10:18 -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
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