How to adopt PID factor for the DriveBase? #1418
JohnGottiGe
started this conversation in
General
Replies: 1 comment 3 replies
-
Can you share a video of it drifting to one side? Is it a lot? Make sure to leave the robot sitting still for a few seconds at least once after you turn the robot on. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everybody,
I'm new with pybricks and did some test wit the DriveBase Class, setting use_gyro(TRUE). Additional our brick is build in with an other direction (top_side=Axis.Z, front_side=Axis.Y).
When now using DriveBase.straight the robo is not driving straight, it is curving and drifting to one side. I searched the documentation to find something to adopt the PID Factor, the only thing I found was the adoption for the motor PID factor using control.pid.
Is there something possible for the DriveBase? Or is there anything to adopt gyro to the robo? How can I influence the drive so that the robo will drive straight without a drift?
Thanks for your support.
Beta Was this translation helpful? Give feedback.
All reactions