moteus 0.3.80__tar.gz → 0.3.81__tar.gz
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-0.3.80 → moteus-0.3.81}/PKG-INFO +1 -1
- {moteus-0.3.80 → moteus-0.3.81}/moteus/pythoncan.py +10 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/version.py +1 -1
- {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/PKG-INFO +1 -1
- {moteus-0.3.80 → moteus-0.3.81}/setup.py +1 -1
- {moteus-0.3.80 → moteus-0.3.81}/README.md +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/__init__.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/aioserial.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/aiostream.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/calibrate_encoder.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/command.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/export.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/fdcanusb.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/moteus.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/moteus_tool.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/multiplex.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/posix_aioserial.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/reader.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/regression.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/router.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/transport.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus/win32_aioserial.py +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/SOURCES.txt +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/dependency_links.txt +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/entry_points.txt +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/requires.txt +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/top_level.txt +0 -0
- {moteus-0.3.80 → moteus-0.3.81}/setup.cfg +0 -0
@@ -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
|
|
@@ -25,7 +25,7 @@ long_description = (here / 'README.md').read_text(encoding='utf-8')
|
|
25
25
|
|
26
26
|
setuptools.setup(
|
27
27
|
name = 'moteus',
|
28
|
-
version = "0.3.
|
28
|
+
version = "0.3.81",
|
29
29
|
description = 'moteus brushless controller library and tools',
|
30
30
|
long_description = long_description,
|
31
31
|
long_description_content_type = 'text/markdown',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|