-
|
Hi, we nearly finished our program for the Lego model dredger. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 41 replies
-
Beta Was this translation helpful? Give feedback.
-
|
More or less the same result on the technic hub. Probably not helpfulWhat I see on the Technic hub (beta firmware) that the motor on the B port is faster than the one on the C port. Swapped the B and C cable and then it seems almost the same result. Took another motor to swap the slowest motor and now the difference is not visible |
Beta Was this translation helpful? Give feedback.
-
|
You mentioned you were using an external powersupply? Maybe you have the opposite problem of very little load and the motors have more power than usual? Then reducing the proportional term should help.
…On 18 April 2025 17:35:40 CEST, Bert ***@***.***> wrote:
Flip,
And it is only the BB side as it was.
So strange.
@Debenben do you have a hint?
--
Reply to this email directly or view it on GitHub:
#2129 (reply in thread)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Yes, the number you marked with the circle is the proportional term. The pybricks default value depends on the motor and potentially on the hub you are using. The one that is best depends on your setup, you can only determine experimentally.
One approach would be to set the integral and derivative term to 0 (the next two values currently =none=default) and increase the proportional term until the motor is oscillating around the target position. Then use half of that value.
Did I understand correctly that the problem disappears if the motors are running independent of each other? In that case there might be some resonance effect between the two in which case it might be best to put and leave the integral term at 0.
…On 19 April 2025 12:18:01 CEST, Flip and Jeftha van der Poel ***@***.***> wrote:
Good morning, keep in mind this [video](https://youtu.be/5hCrr_U-Bqw), it's possible to run it as we want, so we hadn't much expectations the arm separately.
@Debenben can you suggest which value we need to put in the 'proportional term' as you suggested, and where we need to put that value.
Thanks again!
--
Reply to this email directly or view it on GitHub:
#2129 (reply in thread)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @Debenben @BertLindeman, |
Beta Was this translation helpful? Give feedback.












Hi @Debenben @BertLindeman,
Laurens helped us in a quite simple way, just setting up a drive base. Until now it seems to work well, we need to finish the whole program, but it looks good. Part of the problem was also the crab, because it should run to 45 degrees, it was not possible to get there, so now we use the same block as in the beginning 'run to end stop'
Thank you all for helping.