Is there a good solution to build more aggressively correcting turn and straight movement functions? #2072
Replies: 3 comments 5 replies
-
This is missing But I'm not sure how this will help with motor control. Can you give some more details on what kinds of problems you are having with the precision? |
Beta Was this translation helpful? Give feedback.
-
To make a drivebase more responsive, you'd want to change the speed and acceleration settings: You can even increase or tweak the PID values for driving if you want to take things a bit further. This can be helpful if your robot is a bit heavier than a typical small robot. I would start looking (printing) at the existing values and then increase them as needed. |
Beta Was this translation helpful? Give feedback.
-
I have also noticed that changing |
Beta Was this translation helpful? Give feedback.
-
Currently, our robot has not been moving with enough precision both when trying to move straight and when turning, even with the gyro movement activated. We want to build methods to make more rapid proportional adjustments of the robot's movement to efficiently achieve the precision we want. One solution we attempted was to use multitask to manually adjust the speeds of the left and right motors:
however, running this constantly in a while loop quickly overloads the robot's memory, and we are unsure how to just adjust the parameters of the movement to avoid this issue. Could someone please explain how to use this in a manner that doesn't waste memory, or suggest a better solution altogether?
Beta Was this translation helpful? Give feedback.
All reactions