DevilBotz2876 / ChargedUp2023

Code for the FRC 2023 Robotics Competition
Other
3 stars 0 forks source link

Look into using RoboRio directly for simple vision applications instead of a RPi #139

Open BrownGenius opened 1 year ago

BrownGenius commented 1 year ago

We need to understand if the following RoboRio vision code is sufficient for our needs. If so, we don't need the complexity of needing to run a separate RPi co-processor: https://github.com/wpilibsuite/allwpilib/blob/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/apriltagsvision/Robot.java

ParkerMeyers commented 1 year ago

Already looked into this last year and tested it, The PI does not add much complexity and is much better. It is advised to not run vision on the same processor as it can hang the driving code. It is much more complex than using photonvision, and is overall a worse idea then adding a simple second co-processor. @BrownGenius Last year we went through the pros and cons of each, including different types of co-processors and we found that the pi was the best option and it diddnt hurt the drive code.