Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local version working #13

Open
agrignard opened this issue Oct 31, 2019 · 7 comments
Open

Local version working #13

agrignard opened this issue Oct 31, 2019 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@agrignard
Copy link
Collaborator

Right now the scanner is sending the data to

https://cityio.media.mit.edu/api/table/urbam

However in case internet is not good in Hanoi we need to implement a local version, basically having the scanner sending a udp string

This is not implemented yet

@agrignard agrignard self-assigned this Oct 31, 2019
@khanhnt
Copy link
Collaborator

khanhnt commented Nov 1, 2019

Did you mean to implement something like cityio server locally to get the data sent from scanner and pass it to GAMA ?
And the scanner will send data like this one send_json_to_UDP ?

@benoitgaudou
Copy link
Collaborator

Hi,
Tu (a Vietnamese student working with Doanh on some projects related to the exhibition, including that one), has tested the scanner, and we were able together to make the scanner and GAMA sending information together without going through the server.
Cheers

Benoit

@agrignard
Copy link
Collaborator Author

Ok so can we see (through a pull request) if we can integrate his work? The idea here is indeed to be able (just in case) to have the table working if the internet doesn't work. We will then just need to change a boolean in the scanner to send through UDP and another boolean in GAMA to listen through UDP.

@agrignard
Copy link
Collaborator Author

I didn't have time yet to test this settings, it is crucial to have this feature working

@agrignard agrignard added the bug Something isn't working label Nov 8, 2019
@agrignard
Copy link
Collaborator Author

This commit seems to have fix it. Will be tested tomorow on tje US site

However it seems that we need to install l a new version of GAMA which makes the model not compatible anymore with the offical Gama 1.8.... Maybe this need to be documented (at least to mention that the local version required a version greater than>1.8.?)

@benoitgaudou
Copy link
Collaborator

For the moment, no release of GAMA is available to test.
This is still at the state of issue in GAMA: https://github.com/gama-platform/gama/issues/2906

To test on GAMA code source, just modified 1024 (cf. the GAMA issue) and replace it by 4096 for example.

The modification of the Grid landuse from UDP messages has been implemented in commit 8d3a718

@agrignard
Copy link
Collaborator Author

maybe link to #31 ?

@benoitgaudou benoitgaudou removed their assignment Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants