ScratchData LogoScratchData
Back to pikachu1337's profile

Path correction via rotation (V 0.1)

PIpikachu1337•Created January 16, 2012
Path correction via rotation (V 0.1)
0
0
71 views
View on Scratch

Description

What I have created here is a simple line-following script that is perfectly adjustable. WORKS OFFLINE, NOT ONLINE AT ALL What does it do? It senses the direction of the "Radar" sprite (sprite2) as well as whether or not the slightly-different color at the end of the radar is touching the black "Path". If it isn't, it rotates in the direction that will keep it on-track by rotating in the opposite direction that the radar was facing when it detected the white. This is the reason that it doesn't work online, these things need to happen together and faster than online can handle. It will derail after awhile, but keep in mind that this is an early version.

Project Details

Project ID2276117
CreatedJanuary 16, 2012
Last ModifiedJanuary 16, 2012
SharedJanuary 16, 2012
Visibilityvisible
CommentsAllowed