FRCTeam1073-TheForceTeam / robot14

The codebase for C++ Robot code for th 2014 competition bot.
3 stars 0 forks source link

Bling doesn't work properly #7

Closed scherian03033 closed 10 years ago

scherian03033 commented 10 years ago

Doesn't show autonomous state progressions except for shoot. Once it has shot, it stays in rainbow explosion mode.

scherian03033 commented 10 years ago

I think one bug is that we never set RobotStatus::AutonomousStatus to TELEOP so at the end of autonomous, it still only responds to autonomous status because and ignores shooter & launcher status. The reason there's no rainbow explosion before autonomous starts is that no task is enabled to call UpdateBling. The fix for this is to set bling's initial pattern to RainbowExplosion or have RobotStatus::RobotStatusInit() call UpdateBling - I prefer the latter. We should probably also change the AUTONOMOUS_DRIVING color to purple solid and AUTONOMOUS_WAIT to blinking as it's easier to notice a short blink than to notice a longer than usual on time. Alternately, change AUTONOMOUS_WAIT to a different color than purple so it's obvious.

scherian03033 commented 10 years ago

I have made the necessary code changes and will test them ASAP tomorrow. If they work, I'll push them at that time.

evinugur commented 10 years ago

I made most of them tonight and tested actually

On Feb 16, 2014, at 8:11 PM, Sanjay Cherian notifications@github.com wrote:

I have made the necessary code changes and will test them ASAP tomorrow. If they work, I'll push them at that time.

— Reply to this email directly or view it on GitHub.