View Full Version : Deploying code without cRIO
Robby Unruh
10-04-2011, 19:08
Is this possible? I'd like to debug some code in the off season, but won't have access to a cRIO for a good while.
* I don't mean compiling! :rolleyes:
Thanks in advance.
WizenedEE
10-04-2011, 20:51
What do you want to be able to do after you've deployed the code?
DonRotolo
10-04-2011, 21:02
Um, deploy to what?
Do you mean "something that walks and talks and quacks like a cRio but isn't one" - a cRio emulator for Windows for example?
Robby Unruh
11-04-2011, 06:42
I mean just run my program as normally- minus a cRIO. Not from the dashboard because afaik, you'd need to be tethered to something... but from the output window in Netbeans. Would a main + startCompetition method do this?
But if there is a cRIO emulator, that would be nice, too. I saw an early version of one awhile ago, but I don't think that's what I need.
@WizenedEE: I want to be able to read joystick values and test a control board live time from the output window, if possible.
WizenedEE
12-04-2011, 00:42
So you want something that will do the same printf commands as the C-RIO does and with the same joystick functions? What we were trying to get at is if you wanted to run some wheels, flash some lights, display to a computer screen, or something else.
To get joysticks, you'd have to connect to the driver station software, and I doubt that's easy without the programmed C RIO. If you wanted to learn about how to read a joystick connected to your computer, though, USB joysticks get recognized by windows and you could skip the DS -- just plug it into your own computer. Reading that Cypress IO board could get harder though.
It's been done. (http://www.chiefdelphi.com/forums/showthread.php?t=82045)
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.