Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   WPILib without FRC-style comms on cRIO (http://www.chiefdelphi.com/forums/showthread.php?t=136569)

Toa Circuit 13-04-2015 11:22

WPILib without FRC-style comms on cRIO
 
I know with ThunderRIO we can still develop for the cRIO.
My question is this: Is it possible to communicate using WPILib or something like WPILib to PWM motor controllers, solenoids, CANJaguars, etc., without having to use the IterativeRobot/SimpleRobot/FRC Communication Protocol? I.E.; a robot fully autonomous and not connected to a PC, or a robot using a roll-your-own communication protocol?

JohnSmooth42 14-04-2015 17:14

Re: WPILib without FRC-style comms on cRIO
 
I believe the virtual RobotMain() function in WPILib can actually help you with that. I'm not entirely sure though.

Thad House 14-04-2015 17:20

Re: WPILib without FRC-style comms on cRIO
 
The issue with doing this is that the FPGA is what actually controls the motors, and the way it is programmed from FIRST requires a connection to a driver station to do this. So the only way to do it without having a connected computer would be to rewrite the FPGA code. Another option is to put a computer running the driver station physically on the robot, but make sure if you do this you still have a way to kill everything if something goes wrong.

Aero 16-04-2015 09:07

Re: WPILib without FRC-style comms on cRIO
 
There's nothing stopping you from writing a driver station client on the robot and connecting it to localhost ;)

There's a few open-source driverstations out there, just pick your favorite & run it on the RIO. Disabling is the only part that worries me.


All times are GMT -5. The time now is 11:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi