Skip to content

Problem with number of types in test.json file #22

@Daaira0811

Description

@Daaira0811

Hi, I'm trying to run the scanner for testing, but for some reason, the scanner only reads 10 of the 14 types I set in the test.json file.
Untitled (3)

I was trying to find where this setting is, but I can't find it in the code.
This is my test.json:

{
    "CITYIO_API_URL": "https://cityio.media.mit.edu/api/table/",
    "CITYSCOPE_PRJ_NAME": "test",
    "TOGGLE_SEND_TO_CITYIO": true,
    "nrows": 6,
    "ncols": 5,
    "cell_gap": 10,
    "camId": 0,
    "interval": 2000,
    "gui": true,
    "mirror_cam": false,
    "keystone_points_list": "386.0  92.0  167.0  96.0  391.0  370.0  142.0  368.0",
    "types":{
        "typo0": {
            "name": "typo0",
            "color": [
                162,
                255,
                145
            ],
            "height": 0,
            "cityscopy_id": 0,
            "cityscopy_pattern": "0110111111111111"
        },
        "typo1": {
            "name": "typo1",
            "color": [
                232,
                63,
                184
            ],
            "height": 0,
            "cityscopy_id": 1,
            "cityscopy_pattern": "0110111111110110"
        },
        "typo2": {
            "name": "typo2",
            "color": [
                179,
                39,
                69
            ],
            "height": 0,
            "cityscopy_id": 2,
            "cityscopy_pattern": "1001111111111111"
        },
        "typo3": {
            "name": "typo3",
            "color": [
                233,
                69,
                255
            ],
            "height": 0,
            "cityscopy_id": 3,
            "cityscopy_pattern": "1001111111111001"
        },
        "typo4": {
            "name": "typo4",
            "color": [
                255,
                82,
                119
            ],
            "height": 10,
            "cityscopy_id": 4,
            "cityscopy_pattern": "1111100110011111"
        },
        "typo5": {
            "name": "typo5",
            "color": [
                56,
                201,
                255
            ],
            "height": 0,
            "cityscopy_id": 5,
            "cityscopy_pattern": "0111101111111111"
        },
        "typo6": {
            "name": "typo6",
            "color": [
                255,
                255,
                51
            ],
            "height": 4,
            "cityscopy_id": 6,
            "cityscopy_pattern": "0110011001101111"
        },
        "typo7": {
            "name": "typo7",
            "color": [
                127,
                179,
                75
            ],
            "height": 4,
            "cityscopy_id": 7,
            "cityscopy_pattern": "0110011001100110"
        },
        "typo8": {
            "name": "typo8",
            "color": [
                255,
                131,
                94
            ],
            "height": 4,
            "cityscopy_id": 8,
            "cityscopy_pattern": "0111011101111111"
        },
        "typo9": {
            "name": "typo9",
            "color": [
                255,
                131,
                94
            ],
            "height": 4,
            "cityscopy_id": 8,
            "cityscopy_pattern": "0111011101110111"
        },
        "typo10": {
            "name": "typo10",
            "color": [
                48,
                143,
                179
            ],
            "height": 1,
            "cityscopy_id": 9,
            "cityscopy_pattern": "1111101111111110"
        },
        "typo11": {
            "name": "typo11",
            "color": [
                48,
                143,
                179
            ],
            "height": 1,
            "cityscopy_id": 9,
            "cityscopy_pattern": "1111111111111110"
        },
        "typo12": {
            "name": "typo12",
            "color": [
                48,
                143,
                179
            ],
            "height": 1,
            "cityscopy_id": 9,
            "cityscopy_pattern": "1111100011111111"
        },
        "typo13": {
            "name": "typo13",
            "color": [
                48,
                143,
                179
            ],
            "height": 1,
            "cityscopy_id": 9,
            "cityscopy_pattern": "1111101110111111"
        },
        "typo14": {
            "name": "typo14",
            "color": [
                48,
                143,
                179
            ],
            "height": 1,
            "cityscopy_id": 9,
            "cityscopy_pattern": "1111101111111111"
        }
	}
}

I also try to set typo 1 with the typo 13 pattern, and the scanner recognises it, but for some reason, the typos after typo9, it doesn't analyse them.

"typo1": {
            "name": "typo1",
            "color": [
                232,
                63,
                184
            ],
            "height": 0,
            "cityscopy_id": 1,
            "cityscopy_pattern": "1111101110111111"
        },
"typo13": {
            "name": "typo13",
            "color": [
                48,
                143,
                179
            ],
            "height": 1,
            "cityscopy_id": 9,
            "cityscopy_pattern": "1111101110111111"
        }

Untitled (4)

I hope you can help me, please

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions