Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look into driving LEDs using RoboRio directly #138

Open
BrownGenius opened this issue Mar 15, 2023 · 4 comments
Open

Look into driving LEDs using RoboRio directly #138

BrownGenius opened this issue Mar 15, 2023 · 4 comments
Assignees
Labels
off season lower priority item that can wait for the off season

Comments

@BrownGenius
Copy link
Contributor

In the interest of simplifying the robot complexity/wiring, we need to understand if we really need a separate Arduino to control the addressable LEDs on our robot, or if we can use the RoboRio directly as demonstrated in this example: https://github.com/wpilibsuite/allwpilib/tree/main/wpilibjExamples/src/main/java/edu/wpi/first/wpilibj/examples/addressableled

@BrownGenius BrownGenius added the off season lower priority item that can wait for the off season label Mar 15, 2023
@ParkerMeyers
Copy link
Contributor

Same issue with running vision on the roborio, the roborio is not very strong and if we add more tasks for the CPU to run each cycle, it will slow down more essential code such as the driving or arm code

@ParkerMeyers
Copy link
Contributor

The LEDs need to be updated each cycle in order to use effects instead of setting the lights staticly, and the ardruino connection is quite simple and does not add much wiring complexity, using only 2 extra wires as compared to running off of the roborio

@BrownGenius
Copy link
Contributor Author

BrownGenius commented Mar 15, 2023

It's surprising that a dual-core ARM Cortex-A9 @ 667 Mhz can't handle a task that drives LEDs. Is our RoboRio older?

https://www.ni.com/docs/en-US/bundle/roborio-frc-specs/page/specs.html

@ParkerMeyers
Copy link
Contributor

It probably can, I just dont think that its worth the extra usage with a task that updates every cycle. The ardruino is quite simple anyways. Also our RIO may be older, we can check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
off season lower priority item that can wait for the off season
Projects
None yet
2 participants