lehrkraefte:blc:informatik:glf20:robotik:linefollower

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
lehrkraefte:blc:informatik:glf20:robotik:linefollower [2021/05/21 11:26]
Ivo Blöchliger [Weniger wackeln]
lehrkraefte:blc:informatik:glf20:robotik:linefollower [2021/05/21 11:27]
Ivo Blöchliger
Line 51: Line 51:
 radiusRechts = 0.2  # Radius anpassen, so dass die engsten Kurven gefahren werden können radiusRechts = 0.2  # Radius anpassen, so dass die engsten Kurven gefahren werden können
    
 +# Das Interval [a,b] linear auf das Intervall [c,d] umrechnen, an der Stelle x
 +
 def linear(a,b,c,d,x): def linear(a,b,c,d,x):
     return (x-a)/(b-a)*(d-c)+c       return (x-a)/(b-a)*(d-c)+c  
  • lehrkraefte/blc/informatik/glf20/robotik/linefollower.txt
  • Last modified: 2021/05/21 11:37
  • by Ivo Blöchliger