<< return to Pixycam.com

Robot swings from side to side. Line follower

Hello,

I’m using Pixy2 with the line follower program and an Arduino, but the robot is swinging from side to side instead of just following it directly.
What could be the issue and what is a solution to this problem?

Thanks in advance!

Hi,

I’m not sure what’s going on. Have you tried following our quickstart guide here? https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:line_quickstart

Are you using the Zumo robot, or a different platform? How are you telling the robot to move? Can you post your code?

Thanks,
Jesse