Pages

Friday, April 5, 2019

Sphero coding

In Te Ngahere we coded a robot named Sphero. You had to be up to date on your work if you wanted to code Sphero. As you can tell by its name it was shaped as a sphere (it kind of looked like BB-8). Coding Sphero was harder to code than normal coding on a website like Tynker or Code.org because you had to put how fast it should go and how many seconds it should continue moving for. Then you had the angle it should move on. So if you wanted Sphero to move forward for a while then come back you would have to put the code for it to make it go forward (0 degrees) then coming back would be 180 degrees. After we had managed to code Sphero to do that, we coded Sphero making it do a colour maze. I enjoyed coding Sphero  the whole time but it was quite annoying when we had to sign in to code with Sphero. What I did well was figuring out what angle Sphero should move on. Something I need to improve on is figuring out how fast and how long Sphero should go.

1 comment:

  1. Hi my name is Isaac. I like your writing about coding a robot. I think I would fail trying to code a robot. I am looking forward to when we start coding. You are pretty lucky to be able to code. Blog ya later.

    ReplyDelete