ADIS16448 Gyro C++ Library

Has the library found at this page not been updated for 2018?

I put the .cpp and .h in a new cpp program and i get errors dealing with the priority_mutex. Works fine in a java prgram though.

I get ~260 errors like “priority_mutex” was not declared in this scope" and similar issues

I just submitted a patch to fix this, which builds in a test project: Updated C++ class for 2018 WPILib by calcmogul · Pull Request #17 · juchong/ADIS16448-RoboRIO-Driver · GitHub. It should probably be tested with the real sensor though, and I don’t have one.

Updating both C++ and Java are next on the list. Thanks calcmogul! I’ll take a look at the updates with a sensor tonight and make any updates if needed.

I’m also going to work on implementing the new “DMA SPI” transfer method instead of the standard WPI Lib method to hopefully increase performance and decrease CPU overhead.

That was quick! Take a look at the C++ implementation on GitHub and let me know if you run into any issues! This version should be much more accurate and require less resources than the previous implementation.