|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Mecanum Trouble
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. |
|
#2
|
||||
|
||||
|
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
|
|
#3
|
||||
|
||||
|
Re: Mecanum Trouble
Hey guys, sorry its been a while, but we still dont have a solution. We did find out our Talons were not ID'd correctly and we have fixed that. So here's the situation.
We changed the Holonomic.vi so that the values were correct. After a few more tests, we swapped the X and Y-axis wires that lead into the Holonomic.vi in teleop. We ended up having something similar to arcade drive, but with the Z-axis of the controller being used for strafing, and the strafing malfunctioning so that the wheels in front both ran forward, and the back ones ran back, rather than strafing right, and the front ran backwards, and the back forwards, rather than strafing left. |
|
#4
|
||||
|
||||
|
Re: Mecanum Trouble
Very strange happenings!
So, needless to say, your guys' fixes worked. The reason it didn't help us at first is because we had a Talon IDing issue on our Mobile Test Bed. Then, when we decided to code the drive on our smaller test bed, something very strange happened. Every time we issued a forward signal to the roboRIO, the motors on our test bed ran backwards. After losing a lot of sleep and a lot of troubleshooting, we found out that the smaller motors on our test bed (the bag motors) run reverse of the Mini Cims, which made testing very confusing. Very strange! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|