Calibrating multiple motors (hardware stop) using the MC4-PLUS board #608
-
We are creating the configuration files for our robot Vizzy, which will use the ETH-based boards (the repository of the files is here). We are running into issues when calibrating two DC motors at the same time. When running the calibration at the same time (see config files), the pwm is commanded and the motors start to move to reach the hard stop, but the motors do not move to the home position, and the message we get in the console is that the calibration is finished and worked properly. To figure out if the problem is from the files, we run the calibration independently for each motor using these config files, and in this case the calibration works as expected. Since the parameters of the calibration for both tests were the same, we wonder how can we figure out the problem. Any help is very appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hi @plinioMoreno, To give more focused suggestions, however, we also need to know some more about the mechanical setup. We can start from one point: the step-by-step first movement of joints 0 and 1. Step by step movement of joints 0 and 1.To debug your setup you can begin to calibrate and move joint 0 and 1 considering them independent joints. That is what you have probably done using the other file you cited. After you are sure that the motors move the joints in the way you expect (in direction and angle and PID) you go forward. At this point if the joints are independent, the task is over, otherwise if the joints are coupled you must add the coupling rule specific of your mechanical setup. Let's see how to do that in steps:
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
The precision of the startup movement could depend on two factors:
|
Beta Was this translation helpful? Give feedback.
Hi @plinioMoreno,
we had a look at the xml files and we surely have some basic suggestions. For instance, the file head-eb05-j0_1-mec.xml seems wrong in the the
COUPLING
andJOINTSET_CFG
groups.To give more focused suggestions, however, we also need to know some more about the mechanical setup.
We can start from one point: the step-by-step first movement of joints 0 and 1.
Step by step movement of joints 0 and 1.
To debug your setup you can begin to calibrate and move joint 0 and 1 considering them independent joints. That is what you have probably done using the other file you cited. After you are sure that the motors move the joints in the way you expect (in direction and angle and PID…