Kauai Labs

Results 26 comments of Kauai Labs

> I don't see how the code bypasses the SimDevice in real cases. In the real case (compiling for a RoboRIO, running on a RoboRIO), the if(simDevice) clause returns false....

Since it’s the middle of FRC season, I assume you are trying to write a robot program that runs on a RoboRIO to communicate over uSB with a navX-MXP. And...

If you want to communicate over USB to navX-sensor from Rpi, you can use the Linux version of the AHRS class mentioned here: https://pdocs.kauailabs.com/navx-mxp/software/linux-library/

> What about via USB on a Windows PC? There is no AHRS class supported on a Windows PC (except for the FRC library in simulate mode, which doesn't actually...

NavX UI uses custom protocol code. The protocol is documented here: https://pdocs.kauailabs.com/navx-mxp/advanced/serial-protocol/ Simplest thing is most like to port Linux AHRS class to Windows.

- WPI Library for roborio uses a ROboRIO hardware abstraction layer. It can talk to an OS serial port, but only on Linux, not on Windows. - If you would...

> in any case, having a Windows analogue to the Linux library is probably more useful than a Windows patch for the RoboRIO version. I believe it depends what the...

> And since we develop with Windows, I would like code that uses the AHRS class to directly access the navX-Sensor on Windows when it is connected via USB. Let...

Thanks for the heads up, sounds great. I’ll set aside some time to review it.

Thanks; until it's updated in the docs, it's in milliseconds.