|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: FRC Neural Network Project
In essence, call Motor_Control()
but there's going to have to be some modifications before it'll work with a given teams robot. To be specific, where it says set motor value here in the function Motor_Call, that is replaced by code sending Motor_Left and Motor_Right to their corresponding jaguars(whichever ones those are). Also, you have to add the camera tracking code into the function camera_track, but you must add a little bit of code to determine the angle(Y, vertical, or phi, whichever one you prefer) and send it back (That angle is the one that the tilt servo is set to). Once those modifications are done, just call Motor_Control() when you want to run the Neural Net. It could be used as a self-optimizing autonomous drive routine or really anything that involves driving. Direct link to the file: http://frcnn.svn.sourceforge.net/vie...n/NN_robot.cpp Last edited by bobwrit : 23-04-2010 at 22:01. Reason: added direct link to source file |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Neural Network Concept | bobwrit | Extra Discussion | 5 | 04-08-2009 10:55 |
| Will we see Artificial Neural Networks in FRC in 2010? | manderson5192 | Java | 11 | 22-07-2009 15:30 |
| Issue Mass Compiling FRC Robot Project | Larry Lewis | FRC Control System | 2 | 19-02-2009 23:06 |
| LebView Error -- Error 1055 occured at Property Node in FRC Create Project.vi->FRC Wi | RMS11 | Programming | 8 | 08-12-2008 18:20 |
| Neural Control of Robot Arm | Leo M | Math and Science | 2 | 29-03-2004 13:46 |