View Single Post
  #3   Spotlight this post!  
Unread 20-03-2013, 19:55
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Quick Teleop Question

There's a little red dot on the value input to the Relay Set function. That means that what's wired to it is not what it expects. I can't tell from a static picture, but it's likely that you managed to copy the "Forward" and "Off" constants from a solenoid instead of a Relay function. I'd delete them along with the Select they're connected to, then recreate them (right-click the Relay Set input terminal and choose Create -> Constant), if only to get rid of the coercion dot.

But I think the actual values underlying the different constant types are compatible, so that probably shouldn't actually cause things not to work.

What does happen when you click Button 4 of the controller? Do you see its indicator light up on the Dashboard? Does the Digital Sidecar green LED associated with the relay light up? Does the Spike's LED change from yellow/orange to green? Have you tried running Robot Main and probing the values in Teleop to see whether they do what you expect?
Reply With Quote