moteus 0.3.80__py3-none-any.whl → 0.3.82__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- moteus/moteus_tool.py +1 -5
- moteus/pythoncan.py +10 -0
- moteus/version.py +1 -1
- {moteus-0.3.80.dist-info → moteus-0.3.82.dist-info}/METADATA +1 -1
- {moteus-0.3.80.dist-info → moteus-0.3.82.dist-info}/RECORD +8 -8
- {moteus-0.3.80.dist-info → moteus-0.3.82.dist-info}/WHEEL +0 -0
- {moteus-0.3.80.dist-info → moteus-0.3.82.dist-info}/entry_points.txt +0 -0
- {moteus-0.3.80.dist-info → moteus-0.3.82.dist-info}/top_level.txt +0 -0
moteus/moteus_tool.py
CHANGED
@@ -1082,12 +1082,8 @@ class Stream:
|
|
1082
1082
|
raise
|
1083
1083
|
pass
|
1084
1084
|
|
1085
|
-
|
1085
|
+
if await self.is_config_supported("motor_position.sources.0.sign"):
|
1086
1086
|
await self.command("conf set motor_position.sources.0.sign 1")
|
1087
|
-
except moteus.CommandError as e:
|
1088
|
-
if not 'error setting' in e.message:
|
1089
|
-
raise
|
1090
|
-
pass
|
1091
1087
|
|
1092
1088
|
# We have 3 things to calibrate.
|
1093
1089
|
# 1) The encoder to phase mapping
|
moteus/pythoncan.py
CHANGED
@@ -50,6 +50,16 @@ class PythonCan:
|
|
50
50
|
self._disable_brs = kwargs['disable_brs']
|
51
51
|
del kwargs['disable_brs']
|
52
52
|
|
53
|
+
if ('timing' not in kwargs and
|
54
|
+
kwargs.get('interface', can.rc['interface']) == 'pcan'):
|
55
|
+
# We default to the timing that works with moteus and assume
|
56
|
+
# an 80MHz base clock, which seems pretty typical for PCAN
|
57
|
+
# interfaces.
|
58
|
+
kwargs['timing'] = can.BitTimingFd.from_sample_point(
|
59
|
+
nom_bitrate=1000000, data_bitrate=5000000,
|
60
|
+
nom_sample_point=66, data_sample_point=66,
|
61
|
+
f_clock=80000000)
|
62
|
+
|
53
63
|
self._can = can.Bus(*args, **kwargs)
|
54
64
|
self._setup = False
|
55
65
|
|
moteus/version.py
CHANGED
@@ -6,18 +6,18 @@ moteus/command.py,sha256=UkOsbtkso6Oyex8CfbpAKpBNriik519ymxL86EZGkRs,1169
|
|
6
6
|
moteus/export.py,sha256=XitBUuf4MDRIneXQSUptizIhZi2BdHyFO2Vo_2d2CFI,1742
|
7
7
|
moteus/fdcanusb.py,sha256=7PrQiCTROY96gdT2zSZYU1bOCriw-I7H6NspaZpiEx4,7431
|
8
8
|
moteus/moteus.py,sha256=vImSRBn6VEmoijD6hvrSRVxuv1_xVaEJU3F_3Wi6GiE,52498
|
9
|
-
moteus/moteus_tool.py,sha256=
|
9
|
+
moteus/moteus_tool.py,sha256=toUr5Rv0XoNZ1soZc3IusAMAoQYsZBVOwkc3DtcSniY,93662
|
10
10
|
moteus/multiplex.py,sha256=2tdNX5JSh21TOjN6N9LKribLQtVYyyYbXjzwXB64sfA,12119
|
11
11
|
moteus/posix_aioserial.py,sha256=2oDrw8TBEwuEQjY41g9rHeuFeffcPHqMwNS3nf5NVq8,3137
|
12
|
-
moteus/pythoncan.py,sha256=
|
12
|
+
moteus/pythoncan.py,sha256=M5Qba3aCzO_GyXcIsLJxjw3NrPgUk4CUnHOQIhQeIb0,4786
|
13
13
|
moteus/reader.py,sha256=9i1-h4aGd4syfqtWJcpg70Bl-bmunkGU4FmXmOLyRt8,12121
|
14
14
|
moteus/regression.py,sha256=M5gjDBYJQ64iBXIrvBhMkD8TYhtlnQ85x8U4py0niGA,1196
|
15
15
|
moteus/router.py,sha256=501W5GZ12rFoc1lmcH3S7IYsoc-Q_-FJ4B3i37RzE3Q,2061
|
16
16
|
moteus/transport.py,sha256=WhkW2G9i25lkOlO55eI5_oXmU0PhDmxTeJ75Sg_7nTI,1021
|
17
|
-
moteus/version.py,sha256=
|
17
|
+
moteus/version.py,sha256=yUotycLixsbSHt_TAvTu3KUAH5Gwscdtw-jVRomcksk,627
|
18
18
|
moteus/win32_aioserial.py,sha256=culdl-vYxBKD5n2s5LkIMGyUaHyCcEc8BL5-DWEaxX8,2025
|
19
|
-
moteus-0.3.
|
20
|
-
moteus-0.3.
|
21
|
-
moteus-0.3.
|
22
|
-
moteus-0.3.
|
23
|
-
moteus-0.3.
|
19
|
+
moteus-0.3.82.dist-info/METADATA,sha256=cWJhVsMf0_eWavJcomnA46-CYEK8QXnXpLz6zo_l0R0,3441
|
20
|
+
moteus-0.3.82.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
21
|
+
moteus-0.3.82.dist-info/entry_points.txt,sha256=accRcwir_K8wCf7i3qHb5R6CPh5SiSgd5a1A92ibb9E,56
|
22
|
+
moteus-0.3.82.dist-info/top_level.txt,sha256=aZzmI_yecTaDrdSp29pTJuowaSQ9dlIZheQpshGg4YQ,7
|
23
|
+
moteus-0.3.82.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|