View Single Post
  #12   Spotlight this post!  
Unread 02-02-2012, 13:22
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Strange Jaguar/CIM Motor Behavior

Quote:
Originally Posted by Alan Anderson View Post
Not necessarily. If the front and back PWM controls are swapped on one side, the robot will probably just bounce in place trying to squeeze or stretch itself sideways. If they're swapped on both sides, the robot will probably strafe in the wrong direction, and trying to turn while strafing will be very entertaining.

The first thing to do is make sure the wheels are installed in the proper orientation. The second thing is to make sure the PWM definitions in software match the wiring in hardware. Then you can determine whether or not any of the motor directions need to be inverted.
Very true Alan, I meant to put in a step for checking the correct strafing direction but I forgot apparently.

Jimbo - The "lag" you are seeing could be coming from several different sources. I would look through the Diagnostics tab Error messages and see what's appearing there, verify you are sending the appropriate values to the Mecanum drive VI using probes/indicators. If you have other code in your project create a new default project, add only the code you need to drive and see if you still have the lag.

If that's not an issue you may have some binding. For the wheel that is slower see what could be causing it. We had some issues with the 6" Mecanum wheels and the AM Wormbox's due to very little clearance with the chain sliding across the mecanum plate, along with the Wormbox itself rotating towards the wheel and making the chain bind and then fall off. Only with proper bracing, alignment and spacing are we able to drive effectively, definitely not a "slap together" system.

If you can't find the problem you can definitely post your code and pictures of your drive-train here so we can help more.
__________________