|
Re: navX Library v2 - From Team 900 - The Zebracorns
What do you think about these upgrades?
I added a state machine to the code.
I simplified the communication.
I changed it so you only make one call to get the registry values vs calling for every vi.
I added action engines (functional globals) so that the data is easy to get into the robot code. If you drop the example two code into the periodic tasks all you have to do is open the vi and get the action engines that you what data from. Drop them in your code and it works that easy.
I wanted to get your opinion of what I did before I went any further. I would be happy to help contribute to the development of this library. I have used the NavX board for the last two years. I took the code that you developed the first year and simplified it to do only want I wanted it to do. This time I made it do everything still.
Thanks,
Tim
|