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.
Files changed (28) hide show
  1. {moteus-0.3.80 → moteus-0.3.81}/PKG-INFO +1 -1
  2. {moteus-0.3.80 → moteus-0.3.81}/moteus/pythoncan.py +10 -0
  3. {moteus-0.3.80 → moteus-0.3.81}/moteus/version.py +1 -1
  4. {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/PKG-INFO +1 -1
  5. {moteus-0.3.80 → moteus-0.3.81}/setup.py +1 -1
  6. {moteus-0.3.80 → moteus-0.3.81}/README.md +0 -0
  7. {moteus-0.3.80 → moteus-0.3.81}/moteus/__init__.py +0 -0
  8. {moteus-0.3.80 → moteus-0.3.81}/moteus/aioserial.py +0 -0
  9. {moteus-0.3.80 → moteus-0.3.81}/moteus/aiostream.py +0 -0
  10. {moteus-0.3.80 → moteus-0.3.81}/moteus/calibrate_encoder.py +0 -0
  11. {moteus-0.3.80 → moteus-0.3.81}/moteus/command.py +0 -0
  12. {moteus-0.3.80 → moteus-0.3.81}/moteus/export.py +0 -0
  13. {moteus-0.3.80 → moteus-0.3.81}/moteus/fdcanusb.py +0 -0
  14. {moteus-0.3.80 → moteus-0.3.81}/moteus/moteus.py +0 -0
  15. {moteus-0.3.80 → moteus-0.3.81}/moteus/moteus_tool.py +0 -0
  16. {moteus-0.3.80 → moteus-0.3.81}/moteus/multiplex.py +0 -0
  17. {moteus-0.3.80 → moteus-0.3.81}/moteus/posix_aioserial.py +0 -0
  18. {moteus-0.3.80 → moteus-0.3.81}/moteus/reader.py +0 -0
  19. {moteus-0.3.80 → moteus-0.3.81}/moteus/regression.py +0 -0
  20. {moteus-0.3.80 → moteus-0.3.81}/moteus/router.py +0 -0
  21. {moteus-0.3.80 → moteus-0.3.81}/moteus/transport.py +0 -0
  22. {moteus-0.3.80 → moteus-0.3.81}/moteus/win32_aioserial.py +0 -0
  23. {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/SOURCES.txt +0 -0
  24. {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/dependency_links.txt +0 -0
  25. {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/entry_points.txt +0 -0
  26. {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/requires.txt +0 -0
  27. {moteus-0.3.80 → moteus-0.3.81}/moteus.egg-info/top_level.txt +0 -0
  28. {moteus-0.3.80 → moteus-0.3.81}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: moteus
3
- Version: 0.3.80
3
+ Version: 0.3.81
4
4
  Summary: moteus brushless controller library and tools
5
5
  Home-page: https://github.com/mjbots/moteus
6
6
  Author: mjbots Robotic Systems
@@ -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
 
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- VERSION="0.3.80"
15
+ VERSION="0.3.81"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: moteus
3
- Version: 0.3.80
3
+ Version: 0.3.81
4
4
  Summary: moteus brushless controller library and tools
5
5
  Home-page: https://github.com/mjbots/moteus
6
6
  Author: mjbots Robotic Systems
@@ -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.80",
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