Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

UDP Sender broken with "Virtual" Slider #91

Closed
agrignard opened this issue Nov 19, 2018 · 3 comments
Closed

UDP Sender broken with "Virtual" Slider #91

agrignard opened this issue Nov 19, 2018 · 3 comments
Assignees
Labels
ABMobility Concern the ABM Simualtion bug Something isn't working UDPSender

Comments

@agrignard
Copy link
Collaborator

How to reproduce it

  1. Run UDPSender.pde
  2. Run ABMoblity.pde
  3. Press Send button in the UI

Reslults:
in JSONArray sliders = json.getJSONArray("slider"); we get the follwoing error
JSONOBject["slider"] is not a JSONArray

This is just a question of convention @yasushisakai can you coordinate with @RELNO to be sure that UDPSender is sending EXACTLY the same string. So we are sure that the emulator is doing exaclty the same job

@agrignard agrignard added bug Something isn't working ABMobility Concern the ABM Simualtion UDPSender labels Nov 19, 2018
@agrignard
Copy link
Collaborator Author

agrignard commented Nov 19, 2018

@RELNO to start the documentation process, (I cannot do it remotely), can you send in this issue
or even directly in the wiki
https://github.com/CityScope/CS_Cooper-Hewitt/wiki/Scanning

The exact string that is sent by the scann (for instance when all the buildings are here (like the configuration on the picture))

@agrignard agrignard changed the title UDP Sender broken with Slider UDP Sender broken with "Virtual" Slider Nov 19, 2018
@agrignard
Copy link
Collaborator Author

Fixed in 77c946f

Thanks @yasushisakai

@RELNO
Copy link
Collaborator

RELNO commented Nov 19, 2018

@agrignard this will consolidated intro wiki as soon as we're done dev and migrate the scanner as submodule. For now, it's here: https://github.com/RELNO/CityScope_Scanner_Python/blob/master/README.md

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ABMobility Concern the ABM Simualtion bug Something isn't working UDPSender
Projects
None yet
Development

No branches or pull requests

3 participants