Searched refs:ang (Results 1 – 8 of 8) sorted by relevance
33 float *ang; in main() local41 ang = gyro->getRotation(); // Read rotational speed (deg/sec) in main()43 fprintf(stdout, "AngX: %5.2f\n", ang[0]); in main()44 fprintf(stdout, "AngY: %5.2f\n", ang[1]); in main()45 fprintf(stdout, "AngZ: %5.2f\n", ang[2]); in main()
40 float[] ang; in main() local48 ang = gyro.getRotation(); in main()51 System.out.println("Angular Velocities: X: " + ang[0] + " Y: " + ang[1] + " Z: " in main()52 + ang[2]); in main()
34 var ang; variable41 ang = gyro.getRotation(); // Read rotational speed (deg/sec)48 console.log("AngX: " + round2Digits(ang.getitem(0)));49 console.log("AngY: " + round2Digits(ang.getitem(1)));50 console.log("AngZ: " + round2Digits(ang.getitem(2)));
32 ang = gyro.getRotation() # Read rotational speed (deg/sec) variable34 print "AngX: %5.2f" % (ang[0])35 print "AngY: %5.2f" % (ang[1])36 print "AngZ: %5.2f" % (ang[2])
512 float inv_wrap_angle(float ang) in inv_wrap_angle() argument514 if (ang > M_PI) in inv_wrap_angle()515 return ang - 2 * (float)M_PI; in inv_wrap_angle()516 else if (ang <= -(float)M_PI) in inv_wrap_angle()517 return ang + 2 * (float)M_PI; in inv_wrap_angle()519 return ang; in inv_wrap_angle()
90 float inv_wrap_angle(float ang);