tinymovr 2.3.1__tar.gz → 2.3.2__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.
- {tinymovr-2.3.1/tinymovr.egg-info → tinymovr-2.3.2}/PKG-INFO +1 -1
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tests/test_board.py +5 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/bus_router.py +2 -1
- {tinymovr-2.3.1 → tinymovr-2.3.2/tinymovr.egg-info}/PKG-INFO +1 -1
- {tinymovr-2.3.1 → tinymovr-2.3.2}/MANIFEST.in +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/README.md +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/pyproject.toml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/setup.cfg +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/setup.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tests/test_dfu.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tests/test_homing.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tests/test_rates.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tests/test_simulation.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tests/test_traj_planner.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tests/test_watchdog.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/__init__.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/bus_manager.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/channel.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/cli.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/codec/__init__.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/codec/codec.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/config/__init__.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/config/config.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/constants.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/device_discovery.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/dfu.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/gui/__init__.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/gui/gui.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/gui/helpers.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/gui/widgets.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/gui/window.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/gui/worker.py +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/app_icon.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/call.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/call@2x.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/call_dark.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/call_dark@2x.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/empty.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/empty@2x.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/empty_dark.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/resources/icons/empty_dark@2x.png +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/dfu_1_0_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/dfu_1_1_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/tinymovr_1_3_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/tinymovr_1_4_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/tinymovr_1_5_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/tinymovr_1_6_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/tinymovr_2_0_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/tinymovr_2_1_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr/specs/tinymovr_2_3_x.yaml +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr.egg-info/SOURCES.txt +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr.egg-info/dependency_links.txt +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr.egg-info/entry_points.txt +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr.egg-info/requires.txt +0 -0
- {tinymovr-2.3.1 → tinymovr-2.3.2}/tinymovr.egg-info/top_level.txt +0 -0
|
@@ -98,6 +98,11 @@ class TestBoard(TMTestCase):
|
|
|
98
98
|
self.check_state(0)
|
|
99
99
|
self.tm.controller.current.Iq_limit = 5
|
|
100
100
|
self.try_calibrate()
|
|
101
|
+
if hw_rev > 20:
|
|
102
|
+
self.tm.controller.position.p_gain = 5
|
|
103
|
+
self.tm.controller.velocity.p_gain = 2e-5
|
|
104
|
+
self.tm.controller.velocity.i_gain = 0
|
|
105
|
+
|
|
101
106
|
self.tm.controller.position_mode()
|
|
102
107
|
self.check_state(2)
|
|
103
108
|
|
|
@@ -20,6 +20,7 @@ import warnings
|
|
|
20
20
|
from enum import Enum
|
|
21
21
|
from threading import Thread, Lock
|
|
22
22
|
from tinymovr.bus_manager import BusManager
|
|
23
|
+
from logging import Logger
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
bus_router = None
|
|
@@ -86,7 +87,7 @@ class BusRouter:
|
|
|
86
87
|
self.bus_manager.send(frame)
|
|
87
88
|
|
|
88
89
|
|
|
89
|
-
def init_router(bus_class, bus_params, logger, timeout=0.1):
|
|
90
|
+
def init_router(bus_class, bus_params, logger=Logger("tinymovr"), timeout=0.1):
|
|
90
91
|
"""
|
|
91
92
|
Initializes a bus router using a python-can bus instance
|
|
92
93
|
"""
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|