tinymovr 2.3.3__tar.gz → 2.3.4__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.3 → tinymovr-2.3.4}/PKG-INFO +1 -1
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_board.py +13 -7
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/PKG-INFO +1 -1
- {tinymovr-2.3.3 → tinymovr-2.3.4}/MANIFEST.in +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/README.md +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/pyproject.toml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/setup.cfg +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/setup.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_amt22.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_as5047.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_dfu.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_hall.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_homing.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_nvm.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_rates.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_simulation.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_traj_planner.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_watchdog.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/__init__.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/bus_manager.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/bus_router.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/channel.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/cli.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/codec/__init__.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/codec/codec.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/config/__init__.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/config/config.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/constants.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/device_discovery.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/dfu.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/__init__.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/gui.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/helpers.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/widgets.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/window.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/worker.py +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/app_icon.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call@2x.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call_dark.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call_dark@2x.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty@2x.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty_dark.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty_dark@2x.png +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/dfu_1_0_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/dfu_1_1_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_3_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_4_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_5_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_6_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_2_0_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_2_1_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_2_3_x.yaml +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/SOURCES.txt +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/dependency_links.txt +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/entry_points.txt +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/requires.txt +0 -0
- {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/top_level.txt +0 -0
|
@@ -182,21 +182,27 @@ class TestBoard(TMTestCase):
|
|
|
182
182
|
self.check_state(2)
|
|
183
183
|
|
|
184
184
|
if hw_rev > 20:
|
|
185
|
-
self.tm.controller.velocity.limit =
|
|
186
|
-
|
|
185
|
+
self.tm.controller.velocity.limit = 80000 * ticks / s
|
|
186
|
+
self.tm.controller.velocity.deadband = 500
|
|
187
|
+
tick_range = 8000
|
|
188
|
+
settle_time = 0.50
|
|
189
|
+
tolerance = 3000
|
|
187
190
|
else:
|
|
188
|
-
self.tm.controller.velocity.limit =
|
|
189
|
-
|
|
191
|
+
self.tm.controller.velocity.limit = 120000 * ticks / s
|
|
192
|
+
self.tm.controller.velocity.deadband = 1000
|
|
193
|
+
tick_range = 18000
|
|
194
|
+
settle_time = 0.50
|
|
195
|
+
tolerance = 3000
|
|
190
196
|
|
|
191
197
|
for _ in range(15):
|
|
192
198
|
new_pos = random.uniform(-tick_range, tick_range)
|
|
193
199
|
self.tm.controller.position.setpoint = new_pos * ticks
|
|
194
|
-
|
|
195
|
-
time.sleep(
|
|
200
|
+
|
|
201
|
+
time.sleep(settle_time)
|
|
196
202
|
self.assertAlmostEqual(
|
|
197
203
|
self.tm.sensors.user_frame.position_estimate,
|
|
198
204
|
self.tm.controller.position.setpoint,
|
|
199
|
-
delta=
|
|
205
|
+
delta=tolerance * ticks,
|
|
200
206
|
)
|
|
201
207
|
|
|
202
208
|
@pytest.mark.hitl_default
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|