OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:imu
(Results
1 - 2
of
2
) sorted by null
/hardware/bsp/intel/peripheral/libupm/examples/c++/
adis16448.cxx
51
upm::ADIS16448*
imu
= new upm::ADIS16448(0,3); //upm::ADIS16448(SPI,RST)
local
54
std::cout << "XGYRO_OUT:" <<
imu
->gyroScale(
imu
->regRead(XGYRO_OUT)) << std::endl;
55
std::cout << "YGYRO_OUT:" <<
imu
->gyroScale(
imu
->regRead(YGYRO_OUT)) << std::endl;
56
std::cout << "ZGYRO_OUT:" <<
imu
->gyroScale(
imu
->regRead(ZGYRO_OUT)) << std::endl;
58
std::cout << "XACCL_OUT:" <<
imu
->accelScale(
imu
->regRead(XACCL_OUT)) << std::endl;
59
std::cout << "YACCL_OUT:" <<
imu
->accelScale(imu->regRead(YACCL_OUT)) << std::endl
[
all
...]
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
adis16448.js
44
var
imu
= new adis16448.ADIS16448(0,3);
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))
[
all
...]
Completed in 135 milliseconds