HomeSort by relevance Sort by last modified time
    Searched defs:gyro (Results 1 - 15 of 15) sorted by null

  /hardware/bsp/intel/peripheral/libupm/examples/c++/
itg3200.cxx 36 upm::Itg3200* gyro = new upm::Itg3200(0); local
39 gyro->update(); // Update the data
40 rot = gyro->getRawValues(); // Read raw sensor data
41 ang = gyro->getRotation(); // Read rotational speed (deg/sec)
46 fprintf(stdout, "Temp: %5.2f Raw: %6d\n", gyro->getTemperature(), gyro->getRawTemp());
enc03r.cxx 50 upm::ENC03R *gyro = new upm::ENC03R(0); local
57 gyro->calibrate(CALIBRATION_SAMPLES);
59 << gyro->calibrationValue() << endl;
65 unsigned int val = gyro->value();
66 double av = gyro->angularVelocity(val);
77 delete gyro;
  /hardware/bsp/intel/peripheral/libupm/examples/python/
itg3200.py 26 # Create an I2C gyro object
27 gyro = itg3200.Itg3200(0) variable
30 gyro.update() # Update the data
31 rot = gyro.getRawValues() # Read raw sensor data
32 ang = gyro.getRotation() # Read rotational speed (deg/sec)
37 print "Temp: %5.2f Raw: %6d" % (gyro.getTemperature(), gyro.getRawTemp())
41 # Delete the gyro object
42 del gyro
  /hardware/bsp/intel/peripheral/libupm/examples/java/
Itg3200Sample.java 43 upm_itg3200.Itg3200 gyro = new upm_itg3200.Itg3200(0); local
46 gyro.update();
47 rot = gyro.getRawValues();
48 ang = gyro.getRotation();
54 System.out.println("Temp: " + gyro.getTemperature() + ", Raw: " + gyro.getRawTemp());
ENC03RSample.java 42 upm_enc03r.ENC03R gyro = new upm_enc03r.ENC03R(0); local
48 gyro.calibrate(CALIBRATION_SAMPLES);
49 System.out.println("Calibration complete. Reference value: " + gyro.calibrationValue());
54 long val = gyro.value();
55 double av = gyro.angularVelocity(val);
MPU9150Sample.java 50 float[] gyro = sensor.getGyroscope(); local
51 System.out.println("Gryoscope: " + "GX: " + gyro[0] + " GY: " + gyro[1] + " GZ: "
52 + gyro[2]);
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
and_constructor.c 33 int product; /**< Gyro Product Number */
76 // gyro setup
114 short gyro[3]; local
146 r = fread(gyro, sizeof(gyro[0]), 3, inv_construct.file);
148 inv_build_gyro(gyro, ts);
150 gyro[0], gyro[1], gyro[2], ts);
310 // Set Gyro Sample Rate in MPL in micro second
    [all...]
datalogger_outputs.c 51 struct inv_single_sensor_t *pg = &dl_out.sc.gyro;
67 struct inv_single_sensor_t *pg = &dl_out.sc.gyro;
94 long gyro[3]; local
95 inv_get_gyro_set(gyro, accuracy, timestamp);
97 values[0] = (float)gyro[0] / 65536.f;
98 values[1] = (float)gyro[1] / 65536.f;
99 values[2] = (float)gyro[2] / 65536.f;
main.c 354 float gyro[3]; local
355 inv_get_gyro_float(gyro);
356 PRINT_3ELM_ARRAY_FLOAT(10, 5, gyro);
359 memcpy(gyro_keep[cnt], gyro, sizeof(float) * 3);
  /hardware/invensense/65xx/libsensors_iio/software/core/mllite/
hal_outputs.c 46 //int accuracy_gyro; /**< Gyro Accuracy */
165 long gyro[3]; local
168 inv_get_gyro_set(gyro, accuracy, timestamp);
170 values[0] = gyro[0] * GYRO_CONVERSION;
171 values[1] = gyro[1] * GYRO_CONVERSION;
172 values[2] = gyro[2] * GYRO_CONVERSION;
191 long gyro[3]; local
194 inv_get_gyro_set_raw(gyro, accuracy, timestamp);
195 values[0] = gyro[0] * GYRO_CONVERSION;
196 values[1] = gyro[1] * GYRO_CONVERSION;
    [all...]
data_builder.h 22 /** This is a new sample of gyro data */
128 struct inv_single_sensor_t gyro; member in struct:inv_sensor_cal_t
178 /** gyro factory bias in chip frame, hardware units scaled by 2^16,
198 /** gyro bias in chip frame, hardware units scaled by 2^16, +/- 2000 dps
240 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
297 void inv_get_gyro(long *gyro);
  /hardware/invensense/6515/libsensors_iio/software/core/mllite/
data_builder.h 22 /** This is a new sample of gyro data */
131 struct inv_single_sensor_t gyro; member in struct:inv_sensor_cal_t
181 /** gyro factory bias in chip frame, hardware units scaled by 2^16,
201 /** gyro bias in chip frame, hardware units scaled by 2^16, +/- 2000 dps
243 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
301 void inv_get_gyro(long *gyro);
hal_outputs.c 46 //int accuracy_gyro; /**< Gyro Accuracy */
204 long gyro[3]; local
207 inv_get_gyro_set(gyro, accuracy, timestamp);
209 values[0] = gyro[0] * GYRO_CONVERSION;
210 values[1] = gyro[1] * GYRO_CONVERSION;
211 values[2] = gyro[2] * GYRO_CONVERSION;
230 long gyro[3]; local
233 inv_get_gyro_set_raw(gyro, accuracy, timestamp);
234 values[0] = gyro[0] * GYRO_CONVERSION;
235 values[1] = gyro[1] * GYRO_CONVERSION
    [all...]
  /device/google/contexthub/sensorhal/
hubconnection.cpp 368 // Add gyro settings
517 sv = &initEv(&nev[cnt++], timestamp, type, sensor)->gyro;
998 } gyro, accel; local
    [all...]
  /hardware/libhardware/include/hardware/
sensors.h 1083 sensors_vec_t gyro; member in union:sensors_event_t::__anon32263::__anon32264
    [all...]

Completed in 437 milliseconds