View Single Post
  #4   Spotlight this post!  
Unread 23-06-2011, 11:01
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: Jaguar communication issue

Quote:
Originally Posted by kenavt View Post
Frankly, I've never seen anyone place drive code in the Begin.vi - it was my understanding that was for initializing PWM channels, not putting drive code in Robot Main.vi at that point. You may be talking about the Open 4 Motor.vi, which frankly shouldn't be neccessary - I can open individual motors just as easily.
If you're going to be using the provided tank, arcade, or omni drive functions, you need to define the drivebase motors using an Open 4 Motor (or Open 2 Motor) function. Opening the motors individually is a little more work, and if they are opened individually then controlling them appropriately is even more work.

Quote:
I may seem confused because I believe that I am initializing PWM channels correctly for each individual motor, but nothing seems to be allocated.
You haven't shown us the rest of your code, so we can't do much to help you debug it. You also haven't indicated whether or not you've done any troubleshooting, either by "probing" the value going to the Motor Set or by swapping wires around to see if the problem stays with the Digital Sidecar's PWM output or with the Jaguar.