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):
19
19
20
20
if cls ._DEFAULT_DIFFERENTIAL_DRIVE_INSTANCE is None :
21
21
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 ),
24
24
IMU .get_default_imu ()
25
25
)
26
26
Original file line number Diff line number Diff line change 7
7
8
8
# using the EncodedMotor since the default drivetrain uses the IMU and takes 3 seconds to init
9
9
for 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 2
2
A 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.
3
3
"""
4
4
# 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