Scott Murchison replied to the topic How to make mecanum robot spin in the forum Electrical & Controls 4 years, 8 months ago
Got it working. I wrote one routine for CW and another for CCW. Thanks.
Scott Murchison replied to the topic How to make mecanum robot spin in the forum Electrical & Controls 4 years, 8 months ago
I’ll try it and report back. Thanks.
Scott Murchison started the topic How to make mecanum robot spin in the forum Electrical & Controls 4 years, 8 months ago
My robot has two Sabertooth controllers for the four Mecanum wheels. Wheels LF (left front) and RR (right rear) are wired to one Sabertooth and wheels RF (right front) and LR (left rear) are wired to the other. This works for vectoring in any direction, but how can I make the robot spin on its axis? Correct me if I’m wrong, but to spin, don’t I…[Read more]
Scott Murchison replied to the topic Variance in motor speeds between different Sabertooth controllers in the forum Electrical & Controls 5 years, 2 months ago
The Packetized Serial Mode, although more complex, looks enticing to use. Correct me if I am wrong, but it is already scaled to -127 (full speed reverse) to 127 (full speed forward) and each wheel can be controlled individually. Let me see if I have this right.
#include <Sabertooth.h>
#define RF 1
#define LF 2
#define RR 1
#define LR…[Read more]Scott Murchison replied to the topic Variance in motor speeds between different Sabertooth controllers in the forum Electrical & Controls 5 years, 2 months ago
Thank you for the explanation. It does make sense and it does help. In my case, I plan to use an OpenMV camera to locate a target position on the floor beneath the robot. Their software finds the target, say an Apriltag, and tells me where the center of it is in the FOV, along with its rotation angle. By simple math, I can determine what angle I…[Read more]
Scott Murchison replied to the topic Variance in motor speeds between different Sabertooth controllers in the forum Electrical & Controls 5 years, 2 months ago
Thanks. I’ve done many Arduino projects, many with stepper motors, but this is the first with mecanum wheels. I have to get my head wrapped around the concept. Given that the wheel speeds aren’t all the same, I still have to tweak the numbers for some of them.
Also, since I’m not using RC, I’m finding it hard to understand how or if I need to…[Read more]
Scott Murchison replied to the topic Variance in motor speeds between different Sabertooth controllers in the forum Electrical & Controls 5 years, 2 months ago
I’m wishing now that I had purchased the encoder version of the motors. Had I known about this problem, I would have. In any event, your explanation makes sense and I will work on a formula to compensate for the differences between the wheel pairs. The original reason that I did not go with encoders is because I plan to use a camera on the robot…[Read more]
Scott Murchison started the topic Variance in motor speeds between different Sabertooth controllers in the forum Electrical & Controls 5 years, 2 months ago
I am building a mecanum robot with two Sabertooth controllers and the simplified serial with slave select mode. First, confirm for me that in a mecanum robot, I should power LF and RR motors together and RF and LR motors together. For mecanum omnidirectional operation, the motors need to be driven in pairs.
That being said, I have the two rear…[Read more]
Scott Murchison became a registered member 5 years, 2 months ago