FRC-Utilities / QDriverStation

Cross-platform clone of the FRC Driver Station
https://frc-utilities.github.io
MIT License
189 stars 26 forks source link

Introducing LibDS-C #32

Closed alex-spataru closed 7 years ago

alex-spataru commented 8 years ago

TLDR; check this out (feedback is welcome!).

Hello,

For those who don't know, LibDS is the core of all QDriverStation projects, it handles the communications between the robot, the FMS and the client application and implements all the code required for dynamic protocol loading.

During the last weeks, I have been working on an new implementation of LibDS in plain C. I have decided to do that for the following reasons:

Of course, there are also some drawbacks (e.g. more chances of blowing things up), but in a more general perspective, the new implementation of LibDS brings many benefits.

Now, we all know and love Murphy's Law, which states the following:

Anything that can go wrong will go wrong

I am sure we all praise the Universe for conspiring against our seemingly perfect projects. Jokes aside, I need help with testing this new implementation. While my code may work flawlessly for me, it may not work for the person next to me. Before replacing the "old" LibDS with the C implementation, I would love to get some feedback and possibly (certainly) squashing some bugs hidden in the code.

You can find the repository of LibDS-C here: https://github.com/frc-utilities/libds-c

Thanks for all your help, --Alex Spataru