|
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
|