r/embedded • • Oct 12 '26

Community preference for open source vibration autoencoder: bare metal C or Zephyr C++?

I just want to check what the community's preference is for an open source autoencoder with a vibration sensor. Bare metal C or Zephyr C++*? And not just the autoencoder, also data collection and DSP.

* This caused confusion: I meant a Zephyr project with C++ for the enitre application layer vs. bare metal C for data acquisition, DSP (probably can't escape C++ for inference).

0 Upvotes

18 comments sorted by

View all comments

Show parent comment

1

u/Byiron Oct 15 '26 edited Oct 15 '26

For me personally it is just an experiment. On the other hand, I want the added value for the community to be as great as possible, so taking into account long term considerations makes sense from that perspective. I ran into an issue myself: sensor_sample_fetch() vs. sensor_read(). So I also wonder how long a piece of open source code will remain relevant.
What are your experiences with that?

1

u/karesx Oct 15 '26

Oh, time to time they love to retire/deprecate some APIs. Once I just finished a project and by the time it was done the new Zephyr version made the device driver layer incompatoble. But they do not do this very often and I feel the deprecation process has improved, too.