ivan95603 commented on PR #12347: URL: https://github.com/apache/nuttx/pull/12347#issuecomment-2113463550
> > Hi @fdcavalcanti and @acassis, Regarding [ #2111376548](https://github.com/apache/nuttx/pull/12287#issuecomment-2111376548) as I saw it [mpu60x0.c](https://github.com/apache/nuttx/blob/master/drivers/sensors/mpu60x0.c) uses filesystem for reading and setting up the sensor while the [mpu9250_uorb.c](https://github.com/apache/nuttx/blob/master/drivers/sensors/mpu9250_uorb.c) sets up the senor using files but there is no read method linked for VFS operations and can only be read using uorb. > > @ivan95603 yes, the new sensor driver use the uorb standard, it is a standardized way to read from sensors, normally the old char device sensor are specific for each sensor, it means if you replace your sensor with a new model, you need to rewrite your application. Using uorb we avoid this issue. I think we could change the sensor fusion example to use uorb. > > I'm new to uorb too, maybe @raiden00pl could help here with more details. Thanks. That is cool. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org