![]() |
Re: Mecanum Trouble
Swap them in Begin, making the inputs to the Open 4 Motor Drive match the actual motors on the robot.
|
Re: Mecanum Trouble
Sending the robot a clockwise signal makes all of the wheels turn inward towards each other. When we made the change for the motor commands all it did was changed the strafing to the all in/out command and changed what we wanted the rotation to be to strafing.
|
Re: Mecanum Trouble
Quote:
If not, undo what you did and make the correct change. Quote:
Quote:
Quote:
|
Re: Mecanum Trouble
Quote:
Looks like the change was not done properly. Please post LabVIEW png snippet of before & after code. |
Re: Mecanum Trouble
Quote:
-Jack |
Re: Mecanum Trouble
Quote:
Before: http://s278.photobucket.com/user/Daw...tml?sort=3&o=1 After: http://s278.photobucket.com/user/Daw...tml?sort=3&o=0 |
Re: Mecanum Trouble
1 Attachment(s)
Quote:
Swapping the FL&BR motor commands should have had no impact at all on the strafe command. And it should have corrected the rotate behavior. This is assuming that you have provided accurate test data about wheel direction in response to fwd/rev and strafe left/right as shown in the attached chart. Would you please post the before and after code as a LabVIEW PNG snippet as an attachment here on CD. |
Re: Mecanum Trouble
Sorry, had some problem with posting the picture of the code. It's updated now with a link to each instance of the code.
|
Re: Mecanum Trouble
Quote:
|
Re: Mecanum Trouble
Quote:
Quote:
Quote:
|
Re: Mecanum Trouble
2 Attachment(s)
Here are the attachments, in order before and after.
|
Re: Mecanum Trouble
Quote:
The miscommunication was that the "change" in question was not clearly defined, as we had already left yesterday with that change made and the rotation still wasn't working. Sorry about that. |
Re: Mecanum Trouble
1 Attachment(s)
Hold on a second, I think I know what's going on. On the "Open 4 Motor.vi", there are actually 4 terminals to invert motors. It looks like you have both of the bottom ones set to true and the top two unwired (which defaults to false). This would mean that Both your front left and front right motors are inverted, but not the other ones. Your inversions should match on sides, not front to back. I have attached a photo that should explain it a bit better.
Try going back to the default code (run the wires directly from the joystick axes to the holonomic vi) and see if inverting the correct motors fixes everything for you. If you push the joystick forward, and the robot moves backwards, switch the inversions to the right side instead. |
Re: Mecanum Trouble
We've sorted out the rotation problems by coding in a button that switches to arcade and using that to rotate, however we have noticed that strafing remains on the x-axis. but the y-axis causes rotation. we would like to resolve this and have the y-axis remain the same and the x-axis change
|
| All times are GMT -5. The time now is 01:35. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi