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

Slider doesn't work anymore #31

Closed
agrignard opened this issue Nov 12, 2019 · 3 comments
Closed

Slider doesn't work anymore #31

agrignard opened this issue Nov 12, 2019 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@agrignard
Copy link
Collaborator

agrignard commented Nov 12, 2019

Is there a reason why the port has been changed to

int scaningUDPPort <- 9877;

In the current state in Cambridge of the master the slider (who is supposed to control the evaporation rate) is currently broken

@benoitgaudou please provide more information here to fix this issue

@agrignard agrignard changed the title Slider doesn't work anymorz Slider doesn't work anymore Nov 12, 2019
@agrignard agrignard added this to the Release 1.0 milestone Nov 12, 2019
@agrignard agrignard added the bug Something isn't working label Nov 12, 2019
@benoitgaudou
Copy link
Collaborator

The value has been changed during the process of testing the UDP connection, with the fact that:

  • the traditional UDP port in GAMA model is 9877
  • the UDP port for the Processing code for slider is 9878
  • the UDP port for the Scanner is 5000.

For the moment, in Hanoi, as the slider does not work and that we have implemented the UDP update of the grid, the port in the GAMA model should be in accordance with the Scanner.

@agrignard
Copy link
Collaborator Author

There is 2 udp one for the slider and one for the scanner. It used to be like this I see only one networking agent now. We should have one for the scanner port 9897 if you want but we should keep also the 9898 for the slider

agrignard added a commit that referenced this issue Nov 13, 2019
agrignard added a commit that referenced this issue Nov 13, 2019
@agrignard
Copy link
Collaborator Author

agrignard commented Nov 13, 2019

I reput the arduino slider networking agent in this commit (the slider is working in Boston). So there is 2 agent networking created one for the slider and one for the scanner with 2 different udp port.

c29f3da

I keep this issue open as we need to validate with the Hanoi team that the local scanning is still working (ideally it should be only one boolean to change in GAML and one line in the scanning to switch from local to internet).
Also I insist that the local scanning shoudl be on only if the cityIO (internet) one doesn't work. One of the main goal of cityIO is to be able to knwo which table are actually working on the planet

see https://cityscope.media.mit.edu/CS_CityIO/ where we should see cityscope_hanoi when issue #29 will be fixed

Again the master version is the reference one, this PR won't be merge . I don't know exactly how it has been implemented as it seems there is a confusion between different version mainly due to this PR #24

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

2 participants