Searched refs:coor (Results 1 – 6 of 6) sorted by relevance
74 float heading = 180.0 * atan2(double(coor[Y]), double(coor[X]))/M_PI; in getHeading()91 return &coor[0]; in getRawCoorData()127 coor[i] = (int16_t(buf[2*i] << 8)) in getCoordinates()131 int16_t t = coor[2]; in getCoordinates()132 coor[2] = coor[1]; in getCoordinates()133 coor[1] = t; in getCoordinates()141 return coor[X]; in getCoorX()146 return coor[Y]; in getCoorY()151 return coor[Z]; in getCoorZ()
176 int16_t coor[3]; variable
92 float heading = 180.0 * atan2(double(coor[Y]), double(coor[X]))/M_PI; in getHeading()109 return &coor[0]; in getRawCoorData()136 coor[X] = (int16_t(writeThenRead(OUT_X_H_M)) << 8) in getCoordinates()138 coor[Y] = (int16_t(writeThenRead(OUT_Y_H_M)) << 8) in getCoordinates()140 coor[Z] = (int16_t(writeThenRead(OUT_Z_H_M)) << 8) in getCoordinates()150 return coor[X]; in getCoorX()155 return coor[Y]; in getCoorY()160 return coor[Z]; in getCoorZ()
222 int16_t coor[3]; variable
38 int16_t* coor = sensor->getRawCoorData(); // in XYZ order. in main() local42 std::cout << "coor: rX " << (int)coor[0] in main()43 << " - rY " << (int)coor[1] in main()44 << " - rZ " << (int)coor[2] in main()
44 int[] coor = sensor.getRawCoorData(); // in XYZ order.· in main() local48 System.out.println("coor: rX " + coor[0] + " - rY " + coor[1] + " - rZ " + coor[2]); in main()