View Single Post
  #13   Spotlight this post!  
Unread 11-02-2011, 22:23
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,113
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: Problem with Jaguar Inputs

If the big orange RSL is on with short winks off, that by itself is a pretty good indication that the Digital Sidecar is properly powered and the robot is enabled. The blinking yellow LED is the primary clue here. It's telling you that the Jaguar is not receiving a PWM signal. There are a couple of things I can think of immediately that would cause that. One is faulty software that isn't initializing the PWM channel.

Looking at the code you posted, I don't see anywhere that initMotors() is being called. That might be a problem.