I am using mecanum wheels to steer my robot which I am programming using an arduino. The main problem that I am having is that whenever I attempt to make the robot move sideways like this:
Instead the robot is doing something along the lines of this:
Either way, I was firstly thinking that this problem might have came from weight distribution, so I put the battery pack in the centre of the robot rather than having it at the back. This did nothing.
My next consideration that I am having could be to do with the power sources, I am using 6 1.2V AA batteries (all in series I think, I am not the best when it comes to electrical power, I am on more of the programming side).
What I have are 4 motors, the 2 front motors are connected to the the front motor driver and the 2 back motors are connected to the back motor driver. One incline I have is that the power the 2 motor drivers are getting is not correct in some way. What I have are 2 wires each for the voltage for the motor driver, both of these wires are connected up to a piece of cabling which allows 2 pins to connect to 1 pin (like an adapter). These 2 pins for the voltage connect to the cable and the other 1 pin on the cable connects up to the 7.2V pin on the arduino pin.
The same type of cabling that I have mentioned above is used for the ground on the arduino as well.
One thing I have observed is that when the motors are moving the LED built into the motor drivers (this goes for both motor drivers) begins to get dimmer. The next idea I had after this was that perhaps one of the rollers present on one of the wheels is quite stiff. The final idea I had and I think might be causing the problem is that one or two wheels are having a large force acting down from the due to them not perhaps working properly.