File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ def get_default_differential_drive(cls):
1919
2020 if cls ._DEFAULT_DIFFERENTIAL_DRIVE_INSTANCE is None :
2121 cls ._DEFAULT_DIFFERENTIAL_DRIVE_INSTANCE = cls (
22- EncodedMotor .get_default_encoded_motor (1 ),
23- EncodedMotor .get_default_encoded_motor (2 ),
22+ EncodedMotor .get_default_encoded_motor (index = 1 ),
23+ EncodedMotor .get_default_encoded_motor (index = 2 ),
2424 IMU .get_default_imu ()
2525 )
2626
Original file line number Diff line number Diff line change 77
88# using the EncodedMotor since the default drivetrain uses the IMU and takes 3 seconds to init
99for i in range (4 ):
10- EncodedMotor .get_default_encoded_motor (i ).reset_encoder_position ()
10+ motor = EncodedMotor .get_default_encoded_motor (i )
11+ motor .set_effort (0 )
12+ motor .reset_encoder_position ()
Original file line number Diff line number Diff line change 22A python file holding the version number of the XRPLib package. This is used by the IDE to determine if the package needs to be updated.
33"""
44# Last updated 29-June-2023
5- __version__ = '0.9.1 '
5+ __version__ = '0.9.3 '
You can’t perform that action at this time.
0 commit comments