Skip to content

Modifying speed curve for <DriveBase>.straight() #2083

Answered by roykrikke
techcatgato asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like you want to control acceleration? You can already do that with robot.settings(straight_acceleration=...).
https://docs.pybricks.com/en/stable/robotics.html#pybricks.robotics.DriveBase.settings

Won't that only help with a linear acceleration?

You can also set turn_rate and turn_acceleration. See the documentation.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@techcatgato
Comment options

@roykrikke
Comment options

Answer selected by techcatgato
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants