Home
last modified time | relevance | path

Searched refs:imu (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dadis16448.js44 var imu = new adis16448.ADIS16448(0,3); variable
51 var xgyro = imu.gyroScale(imu.regRead(0x04));
52 var ygyro = imu.gyroScale(imu.regRead(0x06));
53 var zgyro = imu.gyroScale(imu.regRead(0x08));
54 var xaccl = imu.accelScale(imu.regRead(0x0A));
55 var yaccl = imu.accelScale(imu.regRead(0x0C));
56 var zaccl = imu.accelScale(imu.regRead(0x0E));
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dadis16448.cxx51 upm::ADIS16448* imu = new upm::ADIS16448(0,3); //upm::ADIS16448(SPI,RST) in main() local
54 std::cout << "XGYRO_OUT:" << imu->gyroScale(imu->regRead(XGYRO_OUT)) << std::endl; in main()
55 std::cout << "YGYRO_OUT:" << imu->gyroScale(imu->regRead(YGYRO_OUT)) << std::endl; in main()
56 std::cout << "ZGYRO_OUT:" << imu->gyroScale(imu->regRead(ZGYRO_OUT)) << std::endl; in main()
58 std::cout << "XACCL_OUT:" << imu->accelScale(imu->regRead(XACCL_OUT)) << std::endl; in main()
59 std::cout << "YACCL_OUT:" << imu->accelScale(imu->regRead(YACCL_OUT)) << std::endl; in main()
60 std::cout << "ZACCL_OUT:" << imu->accelScale(imu->regRead(ZACCL_OUT)) << std::endl; in main()