Removed CivetInclude header file

This commit is contained in:
Caleb Herpin 2021-07-18 11:41:54 -05:00
parent e1468ff7cd
commit d405cf7df4
2 changed files with 8 additions and 5 deletions

View File

@ -4,14 +4,16 @@ exec(open("Modified_data/realtime.py").read())
# Start the Cannonball Graphics Client # Start the Cannonball Graphics Client
#========================================== #==========================================
web.server.enable = True web.server.enable = True
web.server.debug = True # web.server.debug = True
web.server.port = 8888 # web.server.port = 8888
web.server.document_root = "www" # web.server.document_root = "www"
# trick.var_server_set_port(5001); trick.var_server_set_port(5001);
varServerPort = trick.var_server_get_port(); varServerPort = trick.var_server_get_port();
CannonDisplay_path = "../models/graphics/dist/CannonDisplay.jar" CannonDisplay_path = "../models/graphics/dist/CannonDisplay.jar"
print("pos: ", dyn.cannon.pos[0])
if (os.path.isfile(CannonDisplay_path)) : if (os.path.isfile(CannonDisplay_path)) :
CannonDisplay_cmd = "java -jar " \ CannonDisplay_cmd = "java -jar " \
+ CannonDisplay_path \ + CannonDisplay_path \

View File

@ -1,4 +1,5 @@
#include "civet/CivetInclude.h" #include "civet/CivetServer.h"
#include "civet/civetweb.h"
#include <string.h> #include <string.h>
void handle_HTTP_GET_hello(struct mg_connection *nc, void *hm) { void handle_HTTP_GET_hello(struct mg_connection *nc, void *hm) {