Want to code autonomous, but it isnt as fun as it first was? Well, try the new, innovative, Skylanders: Autonomous Adventure! With this new design, creating autonomous code will always be fun! Put a skylander onto the scuffed portal of power, and it will write a line of autonomous code! (You can use any rfid tag for any code, doesnt need to be skylanders)
(line 77 in working sky.py is where you can edit what is actually put in the file, it does not have to be exactly what the video shows)
readme.mp4
notes
- sklylanders: spryos adventures characters make the code repeat itself while anything else (all ive tested is adventure and giants) is a one time use, where you have to release to write the code again
- i use vscode, so i dont know how this will work on other ides
arduino code is in the "arduino skylanders roborio code" repo
all you need is a few skylanders, an arduino, an arduino rfid reader, a roborio, an led, and you should be good.
how to run:
- download code into your robot code (in your autonomous folder)
- change strings in beggining of file to change commands and imports used in the command file
- run py file
- COM input requires a number (the arduino COM should show up before the input)
- next inputs are self explanatory
- once file is set up, put on skylanders to write code
- press enter key (or any key) to stop script
credit
https://www.youtube.com/watch?v=AHr94RtMj1A&t=215s&ab_channel=Von
how to connect the arduino to a computer in python
https://www.amazon.com/HiLetgo-RFID-Kit-Arduino-Raspberry/dp/B01CSTW0IA/
rfid tag on amazon