Having trouble combining algorithms with MegaPi


#1

Hello,

We have successfully gotten our robot to follow our hand using the ultrasonic sensor, and to follow a line using the line follower. But we are having a heck of a time combining these algorithms (e.g. following our hand up to the beginning of the line and then following it.) Can anybody see what we’re doing wrong?


#2

Anybody? I have been trying to program the MegaPi trying to do obstacle avoidance but it seems as if takes too long to process the info. I had to set the distance way higher because it was not responding rapidly enough.


#3