Quote:
Originally Posted by Andrew Schreiber
Is there some sort of config mapping you're using now to group things? If so, what does that look like?
(Pet peeve is designers giving me designs that are impossible to implement)
EDIT: Based on https://github.com/the-blue-alliance...down_2015.html it looks like it's not. But I was unable to find other year specific partials, is that the typical approach or not?
|
Not 100% sure what you're asking. The data is formatted like this:
"score_breakdown": {
"blue": {
"tote_count_far": 12,
"tote_count_near": 27,
"container_count_level1": 0,
"container_count_level2": 0,
"container_count_level3": 0,
"container_count_level4": 0,
"container_count_level5": 2,
"container_count_level6": 4,
"teleop_points": 253,
"auto_points": 0,
"total_points": 253,
"tote_set": false,
"container_set": false,
"foul_count": 0,
"container_points": 136,
"adjust_points": 0,
"litter_count_unprocessed": 2,
"robot_set": false,
"litter_count_container": 5,
"tote_points": 78,
"foul_points": 0,
"tote_stack": false,
"litter_count_landfill": 1,
"litter_points": 39
},
"coopertition": "Unknown",
"red": {
"tote_count_far": 17,
"tote_count_near": 15,
"container_count_level1": 0,
"container_count_level2": 0,
"container_count_level3": 0,
"container_count_level4": 0,
"container_count_level5": 1,
"container_count_level6": 3,
"teleop_points": 185,
"auto_points": 6,
"total_points": 191,
"tote_set": true,
"container_set": false,
"foul_count": 0,
"container_points": 92,
"adjust_points": 0,
"litter_count_unprocessed": 4,
"robot_set": false,
"litter_count_container": 2,
"tote_points": 64,
"foul_points": 0,
"tote_stack": false,
"litter_count_landfill": 1,
"litter_points": 29
},
"coopertition_points": 0
}