I am trying to make a program that requires my 51515 to turn a specified number of degrees. I found a way to do that on the LEGO app's "Knowledge Base", but the given example was:
import math from mindstorms import MotorPair motor_pair = MotorPair('B', 'A') # Turn a Driving Base 180 degrees in place (if wheels are 8.1 cm apart). motor_pair.move(8.1 * math.pi / 2, 'cm', steering=100)
My issue is that I do not know exactly how to measure the distance between the wheels. Am I supposed to measure from the middles of the wheels? The outsides? the insides?