==Running an ARK experiment==
 
==Running an ARK experiment==
   −
* '''Check motor calibration.''' I suggest that, before any experiment that is sensitive to accurate robot motion, you check if your robots have properly calibrated motors. I recommend you run a simple code and use ARK to test the three movements.<br/>You can use this Kilobot code: [[:File:TestMotion.c|TestMotion.c]] and follow the video on how to use ARK to test the motor calibration https://youtu.be/_65-DPJC8CY. As you can see, at the moment the process relies on visual observation, this could be improved through ARK supervision. Any keen student is welcome to help in implementing it. If you need to calibrate your robots' motors you can follow the tutorial https://youtu.be/fenkr9Dov0s and the relative Kilobot's code is available in the page [[Experiments Source Code]].
+
* '''Check motor calibration.''' I suggest that, before any experiment that is sensitive to accurate robot motion, you check if your robots have properly calibrated motors. I recommend you run a simple code and use ARK to test the three movements.<br/>You can use this Kilobot code: [[:File:TestMotion.c|TestMotion.c]] and follow the video on how to use ARK to test the motor calibration https://youtu.be/_65-DPJC8CY. As you can see, at the moment the process relies on visual observation, this could be improved through ARK supervision. Any keen student is welcome to help in implementing it.
 +
** '''Motor calibration.''' If you need to calibrate your robots' motors you can follow the tutorial https://youtu.be/fenkr9Dov0s and find the relative Kilobot's code in the page [[Experiments Source Code]].
   −
* '''Open cameras.''' Open ARK and load the camera calibration file. If you don't have one, you need to first calibrate ARK's cameras. A matrix of four cameras, as in ARK's Sheffield Robotics, the camera calibration file can be generated through the dedicated software available on GitHub at https://github.com/DiODeProject/KilobotArenaCalibration If you need to calibrate the cameras, watch the tutorial at https://youtu.be/dLsubMMMCJQ
+
* '''Open cameras.''' Open ARK and load the camera calibration file. If you don't have one, you need to first calibrate ARK's cameras. A matrix of four cameras, as in ARK's Sheffield Robotics, the camera calibration file can be generated through the dedicated software available on GitHub at https://github.com/DiODeProject/KilobotArenaCalibration
 +
** If you need to calibrate the cameras, watch the tutorial at https://youtu.be/dLsubMMMCJQ
   Exception encountered, of type "Error"
[9a5124f9] /kilowiki/index.php?diff=cur&oldid=198&title=Getting_started_on_ARK Error from line 434 of /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DairikiDiff.php: Call to undefined function each()
Backtrace:
#0 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DairikiDiff.php(544): DiffEngine->diag()
#1 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DairikiDiff.php(344): DiffEngine->compareSeq()
#2 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DairikiDiff.php(227): DiffEngine->diffLocal()
#3 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DairikiDiff.php(721): DiffEngine->diff()
#4 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DairikiDiff.php(859): Diff->__construct()
#5 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DairikiDiff.php(980): MappedDiff->__construct()
#6 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/TableDiffFormatter.php(194): WordLevelDiff->__construct()
#7 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DiffFormatter.php(140): TableDiffFormatter->changed()
#8 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DiffFormatter.php(82): DiffFormatter->block()
#9 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DifferenceEngine.php(881): DiffFormatter->format()
#10 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DifferenceEngine.php(797): DifferenceEngine->generateTextDiffBody()
#11 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DifferenceEngine.php(728): DifferenceEngine->generateContentDiffBody()
#12 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DifferenceEngine.php(662): DifferenceEngine->getDiffBody()
#13 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DifferenceEngine.php(632): DifferenceEngine->getDiff()
#14 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/diff/DifferenceEngine.php(453): DifferenceEngine->showDiff()
#15 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/page/Article.php(797): DifferenceEngine->showDiffPage()
#16 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/page/Article.php(508): Article->showDiffPage()
#17 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/actions/ViewAction.php(44): Article->view()
#18 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/MediaWiki.php(458): ViewAction->show()
#19 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/MediaWiki.php(255): MediaWiki->performAction()
#20 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/MediaWiki.php(682): MediaWiki->performRequest()
#21 /web/htdocs/www.giovannireina.com/home/kilowiki/includes/MediaWiki.php(476): MediaWiki->main()
#22 /web/htdocs/www.giovannireina.com/home/kilowiki/index.php(41): MediaWiki->run()
#23 {main}