View Single Post
  #3   Spotlight this post!  
Unread 08-02-2017, 12:18
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,797
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: programming mecanum

OK, first the obvious mechanical thing:
When you look at the robot from above, do the rollers form an "X" pattern? If looking from below, you should have a diamond pattern. If not, move wheels around.

Quote:
Originally Posted by MuskieProgramme View Post
Put your robot on blocks, then test it. If it works as expected on blocks (ei wheels rotate correctly), then you can safely blame the building team.
That's next - put it on blocks. If it isn't correct, note which direction each wheel rotates when driving forward, rotating right, and strafing right.
  • The left front wheel should go the same direction in all three cases.
  • The left rear wheel should go a different direction when strafing right than the other two cases.
  • The right rear wheel should go a different direction when rotating right than the other two cases.
  • The right front wheel should go a different direction when driving forward than the other two cases.

Move signal, code, or power wires to make the situation look like that list. Then, if any of the wheels are then rotating in reverse when driving forward, invert that motor controller.

If wheels change direction with the joystick in a constant location while on blocks, you have bigger issues. Send details and we'll help as best we can.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote