View Single Post
  #2   Spotlight this post!  
Unread 08-11-2013, 21:08
Aaron.Graeve Aaron.Graeve is offline
Registered User
FRC #1477 (Texas Torque)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: College Station, Texas
Posts: 103
Aaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to allAaron.Graeve is a name known to all
Re: Interfacing SoCs with the cRIO

The type of communication you choose depends on what you are doing with the data. If you are using the image as the sensor in a closed loop system to set shooter angle (a bad idea due to the long and inconsistent processing time), I would say i2C would be better. If you are using a single image and calculating the appropriate angle from that, you might be better off with Network Tables and the guarantee of the data arriving. If someone could confirm that NT does a handshake, I would appreciate it.

Overall, I would suggest using i2C, DIO, serial, or another lower level system. It would probably be best to steer clear of the network.

Regarding the safe shutdown of the processor, two methods come to mind. The first method is to have a button on the dashboard or controller that sends a command over Ethernet for the processor to shutdown itself. This does rely on consistent human actions, however.

The other option is to build a custom circuit that acts like an uninterruptable power supply (probably capacitor based), or buy a small COTS UPS. Whenever the UPS looses power from the robot being turned off, the UPS would send a signal to the processor via DIO or some other method for the processor to shutdown. The UPS would then power the processor until shutdown occurs, then safely discharge. I was unable to find a rule that this custom circuit would break, but Al Skierkiewicz would be the best authority on the legality of a hardware solution.

My apologies on the long post.
__________________

2016:
Alamo, Bayou, and Lone Star Regional FTAA
2015:
Dallas, Alamo, Bayou, and Lone Star Regional FTAA
2014:
Alamo, Dallas, and Lone Star Regional FTAA
Alamo Regional Robot Inspector
2013:
Einstein Champion and 2013 World Champion (Thanks 1241 & 610), Galileo Division Champion, Razorback Regional Winner, Alamo Regional Semifinalist, Bayou Regional Semifinalist, Lone Star Regional Quarterfinialist
2012:
Curie Division Semifinalist, Lone Star Regional Finalist, Bayou Regional Winner, Alamo Regional Winner
Reply With Quote