Tuesday, January 22, 2008

Can you check what's difference between two programming?

No. 1



No. 2


No. 1 and No. 2 is almost same programming source.
But if you have a close look at motor icon, you can simply check the direction.
No. 1 is just to change speed to re-detect line correctly. No. 2 is turing direction to re-detect line. Two programs don't have the case, which both of IR sensors detect black line.

Why don't you assemble simple Line tracer using KRC and program these by KAILab S/W?
Change the speed and make turn right and left. You can recognize what's difference.

You can have various experience depending on MAP design and position of IR sensors.

No comments: