Lines Matching +full:gyro +full:- +full:range

4  * SPDX-License-Identifier: Apache-2.0
29 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()
68 remaining_test_time -= SLEEPTIME; in test_polling_mode()
75 if (trigger->type != SENSOR_TRIG_DATA_READY && in trigger_handler()
76 trigger->type != SENSOR_TRIG_DELTA) { in trigger_handler()
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()
129 remaining_test_time -= SLEEPTIME; in test_trigger_mode()
133 printf("Gyro: cannot clear trigger.\n"); in test_trigger_mode()
137 printf("Gyro: Anymotion trigger test finished.\n"); in test_trigger_mode()
139 printf("Gyro: Testing data ready trigger.\n"); in test_trigger_mode()
146 printf("Gyro: cannot set sampling frequency.\n"); in test_trigger_mode()
154 printf("Gyro: cannot set trigger.\n"); in test_trigger_mode()
162 remaining_test_time -= SLEEPTIME; in test_trigger_mode()
166 printf("Gyro: cannot clear trigger.\n"); in test_trigger_mode()
170 printf("Gyro: Data ready trigger test finished.\n"); in test_trigger_mode()
181 printf("Device %s is not ready.\n", bmg160->name); in main()
187 * Set gyro range to +/- 250 degrees/s. Since the sensor API needs SI in main()
188 * units, convert the range to rad/s. in main()
194 printf("Cannot set gyro range.\n"); in main()