Home
last modified time | relevance | path

Searched refs:coor (Results 1 – 6 of 6) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/lsm303/
Dlsm303.cxx74 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()
Dlsm303.h176 int16_t coor[3]; variable
/hardware/bsp/intel/peripheral/libupm/src/lsm303d/
Dlsm303d.cxx92 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()
Dlsm303d.h222 int16_t coor[3]; variable
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dlsm303.cxx38 int16_t* coor = sensor->getRawCoorData(); // in XYZ order. in main() local
42 std::cout << "coor: rX " << (int)coor[0] in main()
43 << " - rY " << (int)coor[1] in main()
44 << " - rZ " << (int)coor[2] in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DLSM303Sample.java44 int[] coor = sensor.getRawCoorData(); // in XYZ order.· in main() local
48 System.out.println("coor: rX " + coor[0] + " - rY " + coor[1] + " - rZ " + coor[2]); in main()