if(ang(VAR)<0){turn_left;}
if(ang(VAR)>0){turn_right;}

Bin mir zimlich sich dass das geht...

Xpresso