zhongh / soccer-sensor-data-analysis

1 stars 0 forks source link

Fulfilling data requirements #8

Closed zhongh closed 8 years ago

zhongh commented 8 years ago

A snapshot for gloves and referee outputs: SO:referee,SO:hasPosition,SO:refereeposition125921650815531,begin,125921650815531,0:6.9217 SO:goalkeeperBrightglove,SO:hasPosition,SO:goalkeeperBrightgloveposition125922335302842,begin,125922335302842,0:6.9223 SO:goalkeeperBrightgloveposition125922335302842,http://www.w3.org/1999/02/22-rdf-syntax-ns#type,SOL:GlovePosition,begin,125922335302842,0:6.9223 SO:goalkeeperAleftglove,SO:hasPosition,SO:goalkeeperAleftgloveposition125922755706960,begin,125922755706960,0:6.9228 SO:goalkeeperAleftgloveposition125922755706960,http://www.w3.org/1999/02/22-rdf-syntax-ns#type,SOL:GlovePosition,begin,125922755706960,0:6.9228 SO:goalkeeperBleftglove,SO:hasPosition,SO:goalkeeperBleftgloveposition125925034455406,begin,125925034455406,0:6.925 SO:goalkeeperBleftgloveposition125925034455406,http://www.w3.org/1999/02/22-rdf-syntax-ns#type,SOL:GlovePosition,begin,125925034455406,0:6.925 SO:goalkeeperArightglove,SO:hasPosition,SO:goalkeeperArightgloveposition125925510869985,begin,125925510869985,0:6.9255 SO:goalkeeperArightgloveposition125925510869985,http://www.w3.org/1999/02/22-rdf-syntax-ns#type,SOL:GlovePosition,begin,125925510869985,0:6.9255 SO:referee,SO:hasPosition,SO:refereeposition125926810842104,begin,125926810842104,0:6.9268

zhongh commented 8 years ago

To run:

python3 chop_input.py > full-game-1
python3 full-game-parser.py full-game-1 > [output]

Find this section to change the termination time (unit: second):

# Modify here for termination time
            if tmp_t > 300:
                break