PDA

View Full Version : Is this legal?


UriF
01-13-2012, 12:20 PM
Hey.

Is it possible (or legal) to use a windows application in addition to the Dashboard, that communicates with the cRIO?

My intention is writing a program in windows that will take the camera images from the cRIO, apply some image processing code, and send some data back to the cRIO.

Chexposito
01-13-2012, 12:51 PM
which programming language are you using?

Jared Russell
01-13-2012, 12:58 PM
Yes, this is possible and, assuming all other rules are followed, legal. If you look at the SmartDashboard project on FIRST Forge (http://firstforge.wpi.edu/sf/projects/smartdashboard), you will see that there is the ability to customize the SmartDashboard to perform image processing. The full documentation is still in process, but you should be able to skim through the code and see how it is working.

dez250
01-13-2012, 01:02 PM
It appears to be in a grey area. The only rule I could find that fits this situation is R80.


The Driver Station software provided on the Kit of Parts website is the only tool permitted to specify and communicate the operating mode (i.e. Autonomous/Teleop) and operating state (enable/disable) to the Robot. The Driver Station software must be revision 01.07.12.00 or newer.


I would suggest to post your question to the FRC Q&A Forum (https://frc-qa.usfirst.org/Questions.php).

UriF
01-13-2012, 01:26 PM
which programming language are you using?

C/C++ for writing the windows application.

Chexposito
01-13-2012, 01:28 PM
C/C++ for writing the windows application.

is this true for the robot as well?

UriF
01-13-2012, 01:41 PM
is this true for the robot as well?

Yes.

LinuxArchitect
01-13-2012, 01:50 PM
R80 just says that the software you write may NOT control the operating mode or state. If can do a whole heck of a lot of other stuff, like all of the dashboard functionality or image processing. R58 says "teams are expected to customize their Dashboard code."

Adding digital control over aiming your shooting mechanism after target has been acquired sounds like a good idea.