Modifications

Sauter à la navigation Sauter à la recherche
Ligne 117 : Ligne 117 :  
   yaw = round(yaw, 1)
 
   yaw = round(yaw, 1)
   −
   print("pitch %s roll %s yaw %s" % (pitch, roll, yaw))<nowiki>
+
   print("pitch %s roll %s yaw %s" % (pitch, roll, yaw))</nowiki>
    
Move the Pi around in your hand and you should see the numbers changing. See if you can just make one axis change by moving only in the pitch direction for example. Do this for all three axes. Press {{fname|Ctrl - C}} to stop the program.
 
Move the Pi around in your hand and you should see the numbers changing. See if you can just make one axis change by moving only in the pitch direction for example. Do this for all three axes. Press {{fname|Ctrl - C}} to stop the program.
29 917

modifications

Menu de navigation