Open luc2yj opened 6 years ago
Good question; let me add @GodCed to this thread, as he worked on odas_web.
As communication between odas_web and ODAS is based on socket, you will want to sink the required information from ODAS. I think the easiest approach is to edit an existing SST or SSL sink to add new fields to the JSON. In ODAS, you will need to edit src/sink/sink_tracks or src/sink/sink_pots.
On the odas_web side, there are a few file you will want to explore in order to add new graph: resources/js/tcp_link.js -> Receive information from your socket there views/live_data.html -> The main window page which contains the graphs resources/js/graph.js -> Create and update the chart from here
Take a look around those and come back to us if you need more details!
Cheers!
Hello,
I am trying to modify ODAS_WEB and ODAS_CORE to send and receive more information. I am going to use those data to plot other information that I am interested in. Which part of the code in ODAS_CORE and ODAS_WEB should I modify?
Thanks!