Skip to content

DriverBase detecting motors in a twisted way (SPIKE PRIME, ADB) #318

Answered by dlech
afarago asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Attila! You will need to change the direction of one of the motors so that the positive direction of each motor matches how the motors are mounted on your drive base.

# for example
left_motor = Motor(Port.A, positive_direction=Direction.COUNTERCLOCKWISE) 

See docs for the default positive motor rotations.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@afarago
Comment options

@laurensvalk
Comment options

@afarago
Comment options

@laurensvalk
Comment options

Answer selected by afarago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
topic: motors Issues involving motors
3 participants