Skip to content

Commit 553afa7

Browse files
authored
Merge pull request #268 from srobo/dgt/interactive-troubleshooter
Update the interactive troubleshooter for SR2022
2 parents ceb5422 + 95553d4 commit 553afa7

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

resources/troubleshooter/data.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
{
3838
"answer": "Vision",
3939
"nextquestion": "vision"
40-
},
41-
{
42-
"answer": "IDE",
43-
"nextquestion": "ide"
4440
}
4541
]
4642
},
@@ -433,7 +429,7 @@
433429
},
434430
{
435431
"answer": "The camera takes a long time to take a photo.",
436-
"message": "Try reducing the resolution in your code, you'll have to find an optimum resolution for your robot to get the best speed and detail."
432+
"message": "The vision system always takes longer for the first photo. Consider taking a photo when your robot first starts."
437433
}
438434
]
439435
},
@@ -442,24 +438,24 @@
442438
"answers": [
443439
{
444440
"answer": "Yes",
445-
"message": "Make sure the marker is flat, well-lit and there a visible border around the pattern, and if your robot is moving you should check the camera is not shaking.<br />If you still cannot pickup any markers there could be a problem with your code, consider posting on the <a href=\"/forums\" target=\"_blank\">forums</a>."
441+
"nextquestion": "vision-markers-dont-get-picked-up-good-webcam"
446442
},
447443
{
448444
"answer": "No",
449445
"message": "There may be an issue with your Webcam, consider posting on the <a href=\"/forums\" target=\"_blank\">forums</a>."
450446
}
451447
]
452448
},
453-
"ide": {
454-
"question": "Choose the option that best describes your situation.",
449+
"vision-markers-dont-get-picked-up-good-webcam": {
450+
"question": "Is the marker ID listed in the rules as in use?",
455451
"answers": [
456452
{
457-
"answer": "My code does not check correctly.",
458-
"message": "Click on the 'Error' tab to see detailed explanations of the errors."
453+
"answer": "Yes",
454+
"message": "Make sure the marker is flat, well-lit and there a visible border around the pattern, and if your robot is moving you should check the camera is not shaking.<br />If you still cannot pickup any markers there could be a problem with your code, consider posting on the <a href=\"/forums\" target=\"_blank\">forums</a>."
459455
},
460456
{
461-
"answer": "My latest code is not exported to the zip file.",
462-
"message": "Make sure you've pressed save before pressing export."
457+
"answer": "No",
458+
"message": "The robot will ignore marker IDs that are not in use for the game. Try using a marker that is listed in the rules."
463459
}
464460
]
465461
}

0 commit comments

Comments
 (0)