zouboan commented on PR #6704: URL: https://github.com/apache/nuttx/pull/6704#issuecomment-1461991273
Thanks so much for your explanation! I think i misread the role of `usensor`, I thought the `usensor `is used for sensors(e.g. mpu60x0) that didn't registered under the `sensor.c` in the nuttx, and when we use uorb on these sensors(e.g. mpu60x0), we register it under `sensor.c` by `usensor`. BTW, it seems that only the sensor registered by `int sensor_register(FAR struct sensor_lowerhalf_s *lower, int devno)` can be used in uORB, but there's only ds18b20,bmp280,hyt271,l3gd20,lsm303agr,lsm6dsl,ltr308,ms5611,msa301,wtgahrs2 is registered by `sensor_register`, does it means most of other sensor driver registered in traditional way(e.g. mpu60x0) cannot be used in uORB method at present? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
