View Single Post
  #4   Spotlight this post!  
Unread 09-12-2015, 17:14
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Convert project from cRio to RoboRio?

The code links to WPILib code. Changing the target type from cRIO to roboRIO or simulated will link to different libraries and will allow for conditional compilation where needed.

This will not update channel constants, and in particular, cRIO I/O was 1-based and roboRIO is 0-based. So depending on how you make PWM and other electrical connections to the roboRIO, you may need to change those. But generally, yeah. It will either run or will tell you a few things that broke.

Greg McKaskle
Reply With Quote