moons-motor 0.0.5__py3-none-any.whl → 0.0.7__py3-none-any.whl
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.
- moons_motor/__init__.py +0 -2
- moons_motor/motor.py +1 -1
- moons_motor/simulate.py +3 -3
- {moons_motor-0.0.5.dist-info → moons_motor-0.0.7.dist-info}/METADATA +1 -1
- moons_motor-0.0.7.dist-info/RECORD +11 -0
- moons_motor/example.py +0 -17
- moons_motor-0.0.5.dist-info/RECORD +0 -12
- {moons_motor-0.0.5.dist-info → moons_motor-0.0.7.dist-info}/LICENSE +0 -0
- {moons_motor-0.0.5.dist-info → moons_motor-0.0.7.dist-info}/WHEEL +0 -0
- {moons_motor-0.0.5.dist-info → moons_motor-0.0.7.dist-info}/top_level.txt +0 -0
moons_motor/__init__.py
CHANGED
moons_motor/motor.py
CHANGED
moons_motor/simulate.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import socketio
|
2
|
-
import
|
3
|
-
from observer import Observer
|
2
|
+
from moons_motor.motor import MoonsStepper
|
3
|
+
from moons_motor.observer import Observer
|
4
4
|
import time
|
5
5
|
|
6
6
|
|
7
7
|
class MoonsStepperSimulate(Observer):
|
8
8
|
def __init__(
|
9
9
|
self,
|
10
|
-
moons_motor:
|
10
|
+
moons_motor: MoonsStepper,
|
11
11
|
universe: int = 0,
|
12
12
|
server_address: str = "http://localhost:3001",
|
13
13
|
):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: moons_motor
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.7
|
4
4
|
Summary: This is a python library for controlling the Moons' motor through the serial port.
|
5
5
|
Author-email: miroc <mike8503111@gmail.com>
|
6
6
|
Project-URL: Repository, https://github.com/miroc99/moons_motor.git
|
@@ -0,0 +1,11 @@
|
|
1
|
+
moons_motor/__init__.py,sha256=qOpsRwizV-DpKSvNzyvj8ju3cs6vwgIICur1Oe6sxOA,27
|
2
|
+
moons_motor/motor.py,sha256=uUEl_IUPG-9OjAjW8bRWtuYt-06XU77wIYRsw3nG5MM,12845
|
3
|
+
moons_motor/observer.py,sha256=PXzuPYKRb2HpjArJcD8HakYIPfFGAs1uBDIL8PSizgA,124
|
4
|
+
moons_motor/simulate.py,sha256=9CwL7fHpLdr1z6nDPJMvB8XgBRFFeSyy60CoTIsUETo,2470
|
5
|
+
moons_motor/status.py,sha256=jXQZFZTt9ugHktkWKLII8MpEQQaeO-UjlwTrrP4LJNE,2872
|
6
|
+
moons_motor/subject.py,sha256=L_GS6fvJTeX7X23o3T92oiZ4rtLVKA2OEd9GpHn_Dz4,445
|
7
|
+
moons_motor-0.0.7.dist-info/LICENSE,sha256=nsYjO800SjIjI85y2kVHR5mC3tca2vs4kK_BhNe89bM,1074
|
8
|
+
moons_motor-0.0.7.dist-info/METADATA,sha256=S7rAvlY3eVETaNyCSuivnLKEEA_Hk0RvTaidZEREOKI,1267
|
9
|
+
moons_motor-0.0.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
10
|
+
moons_motor-0.0.7.dist-info/top_level.txt,sha256=0dE-CR5_NYBw34jHIDGQNWpMllzO6mtUIuKyRv_rJLg,12
|
11
|
+
moons_motor-0.0.7.dist-info/RECORD,,
|
moons_motor/example.py
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
from motor import MoonsStepper, StepperModules
|
2
|
-
import simulate
|
3
|
-
from time import sleep
|
4
|
-
|
5
|
-
motor = MoonsStepper(StepperModules.STM17S_3RN, "0403", "6001", "TESTA", False)
|
6
|
-
|
7
|
-
simulate = simulate.moons_stepper_simulate(motor, 0, "http://localhost:3002")
|
8
|
-
|
9
|
-
MoonsStepper.list_all_ports()
|
10
|
-
motor.connect()
|
11
|
-
simulate.connect()
|
12
|
-
|
13
|
-
motor.start_jog("", 10)
|
14
|
-
|
15
|
-
sleep(5)
|
16
|
-
|
17
|
-
motor.stop_jog()
|
@@ -1,12 +0,0 @@
|
|
1
|
-
moons_motor/__init__.py,sha256=GzgfQO0msNwQvE5XOOgJCDC7MILJOJ-qdwrluLQX314,73
|
2
|
-
moons_motor/example.py,sha256=hPk3r9WyNfRrdH7B3LW_KB_tLQ3wE6bIDht3WGMSBSA,382
|
3
|
-
moons_motor/motor.py,sha256=5tK9ynaIkG2HAiNxPnPdNawuALftsP4SK1UgdZZR3Vk,12833
|
4
|
-
moons_motor/observer.py,sha256=PXzuPYKRb2HpjArJcD8HakYIPfFGAs1uBDIL8PSizgA,124
|
5
|
-
moons_motor/simulate.py,sha256=zYxCmtbLh0FjmOJUjbmgBd0zuXSCupj3DMuNncYl9KA,2434
|
6
|
-
moons_motor/status.py,sha256=jXQZFZTt9ugHktkWKLII8MpEQQaeO-UjlwTrrP4LJNE,2872
|
7
|
-
moons_motor/subject.py,sha256=L_GS6fvJTeX7X23o3T92oiZ4rtLVKA2OEd9GpHn_Dz4,445
|
8
|
-
moons_motor-0.0.5.dist-info/LICENSE,sha256=nsYjO800SjIjI85y2kVHR5mC3tca2vs4kK_BhNe89bM,1074
|
9
|
-
moons_motor-0.0.5.dist-info/METADATA,sha256=HD_T0F7WJbNZv0jZbJSuRA9wcZGOjV5XXDB4d2MdmhA,1267
|
10
|
-
moons_motor-0.0.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
11
|
-
moons_motor-0.0.5.dist-info/top_level.txt,sha256=0dE-CR5_NYBw34jHIDGQNWpMllzO6mtUIuKyRv_rJLg,12
|
12
|
-
moons_motor-0.0.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|