Thread: Mecanum Trouble
View Single Post
  #7   Spotlight this post!  
Unread 28-01-2015, 17:26
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum Trouble

Quote:
Originally Posted by Dawg2T4 View Post
Just for some clarification, when you say swap the Front Right and Back Left motors...
Just to be clear, I said swap the motor commands, not the motors. This can be accomplished in software, or in hardware by swapping the motor wires (while leaving the motors themselves unmoved). Swapping the physical motors themselves would serve no purpose here.

Quote:
do you mean within the HolonomicDrive.vi, or is there a place within the teleop.vi to do that? Our Build session starts in about half an hour, so we can tell how well it worked then.
I don't do LabVIEW. Do whatever you have to do so that the motor commands are swapped. What that means is this:
  • the command that presently is going to the FrontRight motor should be sent instead to the BackLeft motor, and

  • the command that presently is going to the BackLeft motor should be sent instead to the FrontRight motor

I think that can be accomplished in the Begin vi, wherever you assign the CAN addresses for the 4 motor locations. If there are any LabVIEW gurus reading, please chime in here.


PS: you never did answer this post. It's important; it determines which motor commands should be swapped.



Reply With Quote