|
Re: Tired of tuning pesty PID loops for hours? Try Neural Networks!
I added a case for real time training called realtime. It is not integrated with anything, but it is laid out to be embedded easily. There are plenty of comments which should allow for fast integration of any system, so long as you can give this code the sensor data and send the motor values to wherever they are needed. I feel it'd be easier to add this into whatever that you want to train instead of sending values over serial or something, but that's just me.
The code is a little messy, I apologize. The messy part is the training from a file, I'll work on it when I have more time.
If you need help integrating it into FRC code, don't hesitate to ask me.
Edit* also worked on the readme a bit. Still unsure of how specific I want it, but it's a start.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
Last edited by faust1706 : 04-13-2015 at 01:58 AM.
|