Quote:
Originally Posted by lemiant
I'm using a RoboRIO to build a summer project and I want to have code that starts running (and controlling PWM outputs) immediately on startup. How can I achieve that?
Or barring that, where can I look to learn more about the code execution path on a RoboRIO?
|
It is possible to create a lightweight library that would start up quicker then the current WPILibs. However, the FPGA will always disable all outputs until it received enabled from the Driver Station. NI and WPI do not release the code to the FPGA, so the only way to bypass this would be to rewrite all of the FPGA code.
As for looking at the execution path,
here is a mirror of the WPI Libraries. For Java, the entrance point is located in
this class if you want to trace the execution path.
__________________
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.