View Single Post
  #1   Spotlight this post!  
Unread 11-02-2012, 19:12
rsegrest's Avatar
rsegrest rsegrest is offline
@ least I'm OVER the rock THIS time
FRC #2582 (PantherBots)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Lufkin, TX
Posts: 415
rsegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant futurersegrest has a brilliant future
Question Programming or Electrical?

Ok, here is the setup:

8" mecanums -> Nano Box -> CIM Motor -> Jag -> PWM -> DSC

Programming in C++ using the FRC library (using polar plane)

Problem:
When the robot is up on blocks for testing purposes:

Slow reverse - one set of wheels spins forward [light on jag indicates forward code (light is green)] and one set spins backwards (light is red)
Full-speed reverse - both sets spin backwards

Things we have already tried:
Calibrated jags
Swapped PWMs between ports - same problem occured on other side
Put on new PWMs
Put on different jags
Same problem occurs on different DSC (so both sets of ports on both DSCs would have to be bad if this is the problem)
Changed code to Cartesian plane

Also, when we drive forward all works as expected (lights are green on jags and all wheels spin in the same expected direction)
Could this possibly be a coding issue or are we missing something else?
__________________
Impossible is just a big word for small men who find it easier to live in the world they've been given than to explore the power they have to change it. Impossible is not a fact. It's an opinion. Impossible is not a declaration. It's a dare Impossible is potential. Impossible is temporary. Impossible is nothing.
~ Unknown

Last edited by rsegrest : 11-02-2012 at 19:39. Reason: Added information about code plane