1757WestwoodRobotics / 2022-RapidReact

Competition Bot for FRC 2022 Season
MIT License
5 stars 1 forks source link

RobotPy Profiling #109

Open agelsomini opened 2 years ago

agelsomini commented 2 years ago

Is your feature request related to a problem? Please describe. We saw instances of loop overruns. In general other RobotPy teams are also seeing loop overruns

Describe the solution you'd like Investigation of various python profiling tools resulting in a tool chosen, profiling data gathered on target in the 2022 competition bot and directions written up so we can do it again in the future.

Describe alternatives you've considered More generic binary profiling tools could be used but might be harder to run and would require more work to separate C++ wpilib from Python code. General optimizations could be done to the robot code but without building a technique we run the risk to have the same problem in the future.