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.
Files changed (59) hide show
  1. {tinymovr-2.3.3 → tinymovr-2.3.4}/PKG-INFO +1 -1
  2. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_board.py +13 -7
  3. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/PKG-INFO +1 -1
  4. {tinymovr-2.3.3 → tinymovr-2.3.4}/MANIFEST.in +0 -0
  5. {tinymovr-2.3.3 → tinymovr-2.3.4}/README.md +0 -0
  6. {tinymovr-2.3.3 → tinymovr-2.3.4}/pyproject.toml +0 -0
  7. {tinymovr-2.3.3 → tinymovr-2.3.4}/setup.cfg +0 -0
  8. {tinymovr-2.3.3 → tinymovr-2.3.4}/setup.py +0 -0
  9. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_amt22.py +0 -0
  10. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_as5047.py +0 -0
  11. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_dfu.py +0 -0
  12. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_hall.py +0 -0
  13. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_homing.py +0 -0
  14. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_nvm.py +0 -0
  15. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_rates.py +0 -0
  16. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_simulation.py +0 -0
  17. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_traj_planner.py +0 -0
  18. {tinymovr-2.3.3 → tinymovr-2.3.4}/tests/test_watchdog.py +0 -0
  19. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/__init__.py +0 -0
  20. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/bus_manager.py +0 -0
  21. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/bus_router.py +0 -0
  22. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/channel.py +0 -0
  23. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/cli.py +0 -0
  24. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/codec/__init__.py +0 -0
  25. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/codec/codec.py +0 -0
  26. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/config/__init__.py +0 -0
  27. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/config/config.py +0 -0
  28. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/constants.py +0 -0
  29. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/device_discovery.py +0 -0
  30. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/dfu.py +0 -0
  31. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/__init__.py +0 -0
  32. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/gui.py +0 -0
  33. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/helpers.py +0 -0
  34. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/widgets.py +0 -0
  35. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/window.py +0 -0
  36. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/gui/worker.py +0 -0
  37. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/app_icon.png +0 -0
  38. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call.png +0 -0
  39. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call@2x.png +0 -0
  40. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call_dark.png +0 -0
  41. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/call_dark@2x.png +0 -0
  42. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty.png +0 -0
  43. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty@2x.png +0 -0
  44. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty_dark.png +0 -0
  45. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/resources/icons/empty_dark@2x.png +0 -0
  46. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/dfu_1_0_x.yaml +0 -0
  47. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/dfu_1_1_x.yaml +0 -0
  48. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_3_x.yaml +0 -0
  49. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_4_x.yaml +0 -0
  50. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_5_x.yaml +0 -0
  51. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_1_6_x.yaml +0 -0
  52. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_2_0_x.yaml +0 -0
  53. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_2_1_x.yaml +0 -0
  54. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr/specs/tinymovr_2_3_x.yaml +0 -0
  55. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/SOURCES.txt +0 -0
  56. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/dependency_links.txt +0 -0
  57. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/entry_points.txt +0 -0
  58. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/requires.txt +0 -0
  59. {tinymovr-2.3.3 → tinymovr-2.3.4}/tinymovr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tinymovr
3
- Version: 2.3.3
3
+ Version: 2.3.4
4
4
  Summary: Tinymovr Studio
5
5
  Home-page: https://github.com/yconst/Tinymovr
6
6
  Author: Yannis Chatzikonstantinou
@@ -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 = 100000 * ticks / s
186
- tick_range = 10000
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 = 200000 * ticks / s
189
- tick_range = 24000
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(0.35)
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=2000 * ticks,
205
+ delta=tolerance * ticks,
200
206
  )
201
207
 
202
208
  @pytest.mark.hitl_default
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tinymovr
3
- Version: 2.3.3
3
+ Version: 2.3.4
4
4
  Summary: Tinymovr Studio
5
5
  Home-page: https://github.com/yconst/Tinymovr
6
6
  Author: Yannis Chatzikonstantinou
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