|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Make Robot Glow with Alliance Colors Automatically
Is there something like Get Alliance in C++ as well?
|
|
#2
|
|||
|
|||
|
Re: Make Robot Glow with Alliance Colors Automatically
Yeah, there is, something like that:
Code:
DriverStation.GetInstance->GetAlliance() |
|
#3
|
||||||
|
||||||
|
Re: Make Robot Glow with Alliance Colors Automatically
We did this on team 308 in 1999 (the first year of alliances). We had a 6" x 12" grid of LEDs on each side of the robot that we could switch from red to blue. That was the only year we did it, but it looked great.
|
|
#4
|
||||
|
||||
|
Re: Make Robot Glow with Alliance Colors Automatically
One of our students developed something similar this year with SPI bus driven tri-color LED strips running under Arduino control.
|
|
#5
|
||||||
|
||||||
|
Re: Make Robot Glow with Alliance Colors Automatically
There is. In C++ see DriverStation::GetAlliance(). In Java it's DriverStation.getAlliance()
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|