Hello there
We’ve assembled a mecanum wheel rover, but there is a strange issue with controls.
I’ve seen Sebastian’s post and thought I could build a similar rover as well.
We’ve build a simple frame. The setup includes brushed 12v DC motors with dual-channel ESCs, linked below. The autopilot in use is Cube Orange (sounds like an overkill, I know, this is a test bed for us).
12v DC geared motors
Brushed motors ESCs
We’ve set the FRAME_TYPE = to 2 (omniX, as Sebastian did in his post) and SERVO1_FUNCTION etc. as described in here (value =33 and so on).
One thing that is missing for me to understand (except the issue described below, but it might be related) - what stick movements on the remote control should translate for example to the rover moving sideways, or turning around one of the wheels. Maybe this would help us understand whats going on.
Now to the strange part. I’ll let you all know that we powered the rover using a power supply box, not a battery.
The control over is strange. The motor numbers is as describe in the links above (i.e rear-left is #3)
Throttle up: in servo output window in MP all motor values are equally high, but only wheels 2 and 4 move, in opposite directions (number 2 rolls backwards).
Pitch - does nothing - none of the motors move.
Roll (to the left) - servo outputs 1,2 are lower (1400), outputs 3,4 are higher (1600). BUT - only motors 1,3 move. They both roll forward. Moving the roll stick to the right make them both roll backwards. Motors 2,4 do not move.
Yaw (to the right) - servo outputs 1,3 are higher, outputs 2,4 are lower. Motors 1,3 move in opposite directions, motor 1 rolls backwards.
Yaw to the left makes these motors to move in the opposite directions.
The roll, pitch, yaw and throttle are properly mapped in mission planner, as we can see the throttle values move as needed (in radio calibration tab).
Please let me know if you cam tell what’s going on.
Thanks for reading all of this!
Dotan