Home
last modified time | relevance | path

Searched full:gyro (Results 1 – 25 of 136) sorted by relevance

123456

/Zephyr-latest/samples/sensor/bmg160/src/
Dmain.c29 printf("Cannot read bmg160 gyro channels.\n"); in print_gyro_data()
33 printf("Gyro (rad/s): X=%f, Y=%f, Z=%f\n", in print_gyro_data()
58 printf("Gyro sample update error.\n"); in test_polling_mode()
77 printf("Gyro: trigger handler: unknown trigger type.\n"); in trigger_handler()
82 printf("Gyro sample update error.\n"); in trigger_handler()
97 printf("Gyro: Testing anymotion trigger.\n"); in test_trigger_mode()
107 printf("Gyro: cannot set slope threshold.\n"); in test_trigger_mode()
117 printf("Gyro: cannot set slope duration.\n"); in test_trigger_mode()
122 printf("Gyro: cannot set trigger.\n"); in test_trigger_mode()
126 printf("Gyro: rotate the device and wait for events.\n"); in test_trigger_mode()
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dinvensense,icm42688.yaml8 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range,
9 gyro-odr properties in a .dts or .dtsi file you may include icm42688.h
21 gyro-pwr-mode= <ICM42688_GYRO_LN>;
22 gyro-fs = <ICM42688_GYRO_FS_2000>;
23 gyro-odr = <ICM42688_GYRO_ODR_2000>;
82 gyro-pwr-mode:
86 Specify the default gyro power mode.
93 gyro-odr:
97 Specify the default gyro output data rate expressed in samples per second (Hz).
113 gyro-fs:
[all …]
Dst,lsm6dso-common.yaml5 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range,
6 gyro-odr properties in a .dts or .dtsi file you may include lsm6dso.h
18 gyro-pm = <LSM6DSO_DT_GY_NORMAL_MODE>;
19 gyro-range = <LSM6DSO_DT_FS_2000DPS>;
20 gyro-odr = <LSM6DSO_DT_ODR_6667Hz>;
97 gyro-pm:
109 gyro-range:
123 gyro-odr:
127 Specify the default gyro output data rate expressed in samples per second (Hz).
Dinvensense,mpu9250.yaml5 InvenSense MPU-9250 Nine-Axis (Gyro + Accelerometer + Compass). See more
21 gyro-sr-div:
26 when gyro-dlpf is in range 5-184.
27 rate = sample_rate / (1 + gyro-sr-div)
30 gyro-dlpf:
46 gyro-fs:
Dbosch,bmi08x-gyro-i2c.yaml4 description: BMI08X Gyro inertial measurement unit
6 compatible: "bosch,bmi08x-gyro"
8 include: [i2c-device.yaml, "bosch,bmi08x-gyro.yaml"]
Dbosch,bmi08x-gyro-spi.yaml4 description: BMI08X Gyro inertial measurement unit
6 compatible: "bosch,bmi08x-gyro"
8 include: [spi-device.yaml, "bosch,bmi08x-gyro.yaml"]
Dst,lsm9ds0-gyro-i2c.yaml4 description: STMicroelectronics LSM9DS0-GYRO 3-axis gyro
6 compatible: "st,lsm9ds0-gyro"
Dst,lsm6dso16is-common.yaml5 When setting the accel-range, accel-odr, gyro-range, gyro-odr properties in
17 gyro-range = <LSM6DSO16IS_DT_FS_2000DPS>;
18 gyro-odr = <LSM6DSO16IS_DT_ODR_104Hz_LP>;
95 gyro-range:
109 gyro-odr:
113 Specify the default gyro output data rate expressed in samples per second (Hz).
/Zephyr-latest/samples/sensor/fxas21002/src/
Dmain.c21 struct sensor_value gyro[3]; in main() local
42 sensor_channel_get(dev, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
44 /* Print gyro x,y,z */ in main()
46 sensor_value_to_double(&gyro[0]), in main()
47 sensor_value_to_double(&gyro[1]), in main()
48 sensor_value_to_double(&gyro[2])); in main()
/Zephyr-latest/samples/sensor/i3g4250d/src/
Dmain.c27 struct sensor_value gyro[3]; in fetch_and_display() local
32 printf("ERROR: Failed fetching gyro values: %d.\n", rc); in fetch_and_display()
38 gyro); in fetch_and_display()
41 printf("ERROR: Failed getting gyro values: %d\n", rc); in fetch_and_display()
47 sensor_value_to_double(&gyro[0]), in fetch_and_display()
48 sensor_value_to_double(&gyro[1]), in fetch_and_display()
49 sensor_value_to_double(&gyro[2])); in fetch_and_display()
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/src/
Dmain.c36 struct sensor_value gyro[3]; in main() local
44 /* set LSM6DSL accel/gyro sampling frequency to 104 Hz */ in main()
58 printk("Cannot set sampling frequency for gyro.\n"); in main()
83 sensor_channel_get(lsm6dsl, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
105 /* lsm6dsl gyro */ in main()
106 printf("LSM6DSL: Gyro (dps): x: %.3f, y: %.3f, z: %.3f\n", in main()
107 sensor_value_to_double(&gyro[0]), in main()
108 sensor_value_to_double(&gyro[1]), in main()
109 sensor_value_to_double(&gyro[2])); in main()
/Zephyr-latest/samples/sensor/icm42605/
DREADME.rst42 gyro 0.014522 0.002264 -0.036905 rad/s
45 gyro 0.017852 0.001199 -0.034640 rad/s
48 gyro 0.012923 0.002131 -0.037171 rad/s
51 gyro 0.012390 -0.001732 -0.045964 rad/s
54 gyro -0.034373 -0.034373 -0.034373 rad/s
57 gyro 0.015321 -0.000399 -0.039169 rad/s
/Zephyr-latest/samples/sensor/mpu6050/
DREADME.rst44 gyro 0.014522 0.002264 -0.036905 rad/s
47 gyro 0.017852 0.001199 -0.034640 rad/s
50 gyro 0.012923 0.002131 -0.037171 rad/s
53 gyro 0.012390 -0.001732 -0.045964 rad/s
56 gyro -0.034373 -0.034373 -0.034373 rad/s
59 gyro 0.015321 -0.000399 -0.039169 rad/s
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x.h239 /* Gyro registers */
241 /* Gyro Chip Id register */
244 /* Gyro X LSB data register */
247 /* Gyro X MSB data register */
250 /* Gyro Y LSB data register */
253 /* Gyro Y MSB data register */
256 /* Gyro Z LSB data register */
259 /* Gyro Z MSB data register */
262 /* Gyro Interrupt status register */
265 /* Gyro Range register */
[all …]
/Zephyr-latest/samples/sensor/6dof_motion_drdy/
DREADME.rst49 [0:00:01.716]: temp 23.00 Cel accel 0.150839 -0.140065 9.994899 m/s/s gyro -0.001597 0.005859 …
50 [0:00:01.726]: temp 23.00 Cel accel 0.140065 -0.146050 9.988914 m/s/s gyro -0.002663 0.005859 …
51 [0:00:01.736]: temp 23.50 Cel accel 0.146050 -0.130487 9.988914 m/s/s gyro -0.001597 0.006391 …
52 [0:00:01.746]: temp 23.00 Cel accel 0.149642 -0.136473 9.990111 m/s/s gyro -0.002663 0.004261 …
53 [0:00:01.756]: temp 23.00 Cel accel 0.146050 -0.136473 9.979337 m/s/s gyro -0.002130 0.005326 …
54 [0:00:01.766]: temp 23.00 Cel accel 0.136473 -0.147247 9.986519 m/s/s gyro -0.001065 0.005859 …
/Zephyr-latest/samples/subsys/sensing/simple/boards/
Dnative_sim.overlay29 base_accel_gyro: base-accel-gyro {
33 friendly-name = "Base Accel Gyro Sensor";
38 lid_accel_gyro: lid-accel-gyro {
42 friendly-name = "Lid Accel Gyro Sensor";
/Zephyr-latest/tests/subsys/sensing/boards/
Dnative_sim.overlay29 base_accel_gyro: base-accel-gyro {
33 friendly-name = "Base Accel Gyro Sensor";
38 lid_accel_gyro: lid-accel-gyro {
42 friendly-name = "Lid Accel Gyro Sensor";
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/src/
Dmain.c55 /* set IIS2DLPC accel/gyro sampling frequency to 100 Hz */ in iis2dlpc_config()
69 printk("Cannot set sampling frequency for IIS2DLPC gyro\n"); in iis2dlpc_config()
104 /* set ISM330DHCX gyro sampling frequency to 208 Hz */ in ism330dhcx_config()
110 printk("Cannot set sampling frequency for ISM330DHCX gyro\n"); in ism330dhcx_config()
118 printk("Cannot set fs for ISM330DHCX gyro\n"); in ism330dhcx_config()
157 struct sensor_value gyro[3]; in main() local
194 sensor_channel_get(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
219 printf("ISM330DHCX: GYro (dps): x: %.3f, y: %.3f, z: %.3f\n", in main()
220 sensor_value_to_double(&gyro[0]), in main()
221 sensor_value_to_double(&gyro[1]), in main()
[all …]
/Zephyr-latest/samples/sensor/mpu6050/src/
Dmain.c37 struct sensor_value gyro[3]; in process_mpu6050() local
46 gyro); in process_mpu6050()
55 " gyro %f %f %f rad/s\n", in process_mpu6050()
61 sensor_value_to_double(&gyro[0]), in process_mpu6050()
62 sensor_value_to_double(&gyro[1]), in process_mpu6050()
63 sensor_value_to_double(&gyro[2])); in process_mpu6050()
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/src/
Dmain.c28 struct sensor_value gyro[3]; in main() local
60 /* set LSM6DSL accel/gyro sampling frequency to 104 Hz */ in main()
74 printk("Cannot set sampling frequency for gyro.\n"); in main()
122 sensor_channel_get(lsm6dsl, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
155 /* lsm6dsl gyro */ in main()
156 printf("LSM6DSL: Gyro (dps): x: %.3f, y: %.3f, z: %.3f\n", in main()
157 sensor_value_to_double(&gyro[0]), in main()
158 sensor_value_to_double(&gyro[1]), in main()
159 sensor_value_to_double(&gyro[2])); in main()
/Zephyr-latest/include/zephyr/dt-bindings/sensor/
Dlsm6dso.h14 /* Gyro power-modes */
24 /* Gyro range */
31 /* Accel and Gyro Data rates */
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/
Dmain.c58 /* set IIS2DLPC accel/gyro sampling frequency to 100 Hz */ in iis2dlpc_config()
72 printk("Cannot set sampling frequency for IIS2DLPC gyro\n"); in iis2dlpc_config()
130 /* set ISM330DHCX gyro sampling frequency to 208 Hz */ in ism330dhcx_config()
136 printk("Cannot set sampling frequency for ISM330DHCX gyro\n"); in ism330dhcx_config()
144 printk("Cannot set fs for ISM330DHCX gyro\n"); in ism330dhcx_config()
168 struct sensor_value gyro[3]; in main() local
220 sensor_channel_get(ism330dhcx, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
248 printf("ISM330DHCX: GYro (dps): x: %.3f, y: %.3f, z: %.3f\n", in main()
249 sensor_value_to_double(&gyro[0]), in main()
250 sensor_value_to_double(&gyro[1]), in main()
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/src/
Dmain.c39 /* set LIS2DW12 accel/gyro sampling frequency to 100 Hz */ in lis2dw12_config()
53 printk("Cannot set sampling frequency for LIS2DW12 gyro\n"); in lis2dw12_config()
88 /* set LSM6DSO gyro sampling frequency to 208 Hz */ in lsm6dso_config()
94 printk("Cannot set sampling frequency for LSM6DSO gyro\n"); in lsm6dso_config()
102 printk("Cannot set fs for LSM6DSO gyro\n"); in lsm6dso_config()
156 struct sensor_value gyro[3]; in main() local
193 sensor_channel_get(lsm6dso, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
225 printf("LSM6DSO: GYro (dps): x: %.3f, y: %.3f, z: %.3f\n", in main()
226 sensor_value_to_double(&gyro[0]), in main()
227 sensor_value_to_double(&gyro[1]), in main()
[all …]
/Zephyr-latest/samples/sensor/6dof_motion_drdy/src/
Dmain.c77 struct sensor_value gyro[3]; in main() local
99 sensor_channel_get(dev, SENSOR_CHAN_GYRO_XYZ, gyro); in main()
104 " gyro %f %f %f rad/s\n", in main()
107 sensor_value_to_double(&accel[2]), sensor_value_to_double(&gyro[0]), in main()
108 sensor_value_to_double(&gyro[1]), sensor_value_to_double(&gyro[2])); in main()
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
DKconfig5 bool "sensing subsystem physical 3d sensors(accel, gyro, mag)"
9 Enable sensing subsystem physical 3d sensors(accel, gyro, mag).

123456