Go to Post I love how your suggestion for MCC is one of the most elite robots of the year, and one of the World Champions. I also love that I really can't argue with you. - JVN [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-04-2015, 11:22
Toa Circuit's Avatar
Toa Circuit Toa Circuit is offline
Thaddeus Maximus
AKA: Thad Hughes
FRC #4213 (MetalCow Robotics)
Team Role: Leadership
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Shirley, IL
Posts: 131
Toa Circuit is an unknown quantity at this point
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?
__________________

2012 Head of Programming and Electrical
2013-14 Overall Team Captain and Programming Head
2012-14 Mentor of FLL Team Power Surge
2014 Dean's List Finalist
2014 CIR Xerox Creativity Award
Webpage
  #2   Spotlight this post!  
Unread 14-04-2015, 17:14
JohnSmooth42 JohnSmooth42 is offline
Is writing code
FRC #0375 (The Robotic Plague)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2012
Location: New York
Posts: 27
JohnSmooth42 is an unknown quantity at this point
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.
  #3   Spotlight this post!  
Unread 14-04-2015, 17:20
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,107
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
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.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
  #4   Spotlight this post!  
Unread 16-04-2015, 09:07
Aero Aero is offline
consumes pizza, produces code
AKA: Ari Lotter
FRC #0865 (Warp7)
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2013
Location: Toronto
Posts: 30
Aero is on a distinguished road
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.
__________________
2014 Waterloo Regional Winner (254 & 2056)
2014 Curie Semifinalist (118, 359 & 4334)
2014 Fall Fiesta Finalist (2056, 4476)
6 X Gracious Professionalism Award Winner
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:23.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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