Joint-python-library 0.0.4__tar.gz → 0.0.6__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 (20) hide show
  1. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/Joint_python_library.egg-info/PKG-INFO +2 -2
  2. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/PKG-INFO +2 -2
  3. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/acrome_joint/joint.py +5 -2
  4. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/acrome_joint/serial_port.py +22 -0
  5. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/gui/joint_device.py +1 -1
  6. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/setup.py +2 -2
  7. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/Joint_python_library.egg-info/SOURCES.txt +0 -0
  8. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/Joint_python_library.egg-info/dependency_links.txt +0 -0
  9. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/Joint_python_library.egg-info/entry_points.txt +0 -0
  10. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/Joint_python_library.egg-info/requires.txt +0 -0
  11. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/Joint_python_library.egg-info/top_level.txt +0 -0
  12. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/LICENSE +0 -0
  13. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/README.md +0 -0
  14. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/acrome_joint/Slave_Device.py +0 -0
  15. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/acrome_joint/__init__.py +0 -0
  16. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/gui/__init__.py +0 -0
  17. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/gui/limits.py +0 -0
  18. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/gui/main.py +0 -0
  19. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/gui/ramp_trajectory.py +0 -0
  20. {joint_python_library-0.0.4 → joint_python_library-0.0.6}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Joint-python-library
3
- Version: 0.0.4
4
- Summary: Python library for interfacing with Acrome Robotic Arm Joint BLDC Motor Controllers
3
+ Version: 0.0.6
4
+ Summary: Python library for interfacing with Acrome Robotic Arm Joint BLDC Motor Controllers. This Python library provides an easy-to-use interface for communication and control of BLDC motor controllers used in Acrome robotic arm joints. It is designed to simplify the integration of Acrome’s robotic joint actuators into custom applications, allowing developers and researchers to focus on building advanced robotic systems without dealing with low-level communication details.
5
5
  Home-page: https://github.com/Acrome-Smart-Motion-Devices/python-library-new
6
6
  Author: BeratComputer
7
7
  Author-email: beratdogan@acrome.net
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Joint-python-library
3
- Version: 0.0.4
4
- Summary: Python library for interfacing with Acrome Robotic Arm Joint BLDC Motor Controllers
3
+ Version: 0.0.6
4
+ Summary: Python library for interfacing with Acrome Robotic Arm Joint BLDC Motor Controllers. This Python library provides an easy-to-use interface for communication and control of BLDC motor controllers used in Acrome robotic arm joints. It is designed to simplify the integration of Acrome’s robotic joint actuators into custom applications, allowing developers and researchers to focus on building advanced robotic systems without dealing with low-level communication details.
5
5
  Home-page: https://github.com/Acrome-Smart-Motion-Devices/python-library-new
6
6
  Author: BeratComputer
7
7
  Author-email: beratdogan@acrome.net
@@ -74,8 +74,8 @@ Index_Joint = enum.IntEnum('Index', [
74
74
 
75
75
 
76
76
 
77
- def scan_blue_devices(port:SerialPort):
78
- device = Blue(0, port)
77
+ def scan_joint_devices(port:SerialPort):
78
+ device = Joint(0, port)
79
79
  available_devices = []
80
80
 
81
81
  for id in range(0,255):
@@ -278,6 +278,9 @@ class Joint(Slave_Device):
278
278
  self.set_variables([Index_Joint.Config_Description, text])
279
279
  self._post_sleep()
280
280
 
281
+ def set_variables_sync(self, *idx_val_pairs, ack=False):
282
+ return super().set_variables(*idx_val_pairs, ack=ack)
283
+
281
284
 
282
285
 
283
286
  def get_FOC_parameters(self, package_number:int):
@@ -6,6 +6,28 @@ def whichOS():
6
6
  return platform.system()
7
7
 
8
8
 
9
+ def list_USB_serial_ports():
10
+ _list = []
11
+ if whichOS() == "Windows":
12
+ ports = list(serial.tools.list_ports.comports())
13
+ if ports:
14
+ for port, desc, hwid in sorted(ports):
15
+ _list.append(desc)
16
+ else:
17
+ return None
18
+
19
+ if whichOS() == "Linux":
20
+ ports = list(serial.tools.list_ports.comports())
21
+ if ports:
22
+ for port, desc, hwid in sorted(ports):
23
+ _list.append(desc)
24
+ else:
25
+ return None
26
+
27
+ return _list
28
+
29
+
30
+
9
31
  def USB_serial_port(keyword_for_WINDOWS:str='USB Serial Port', keyword_for_LINUX:str='/dev/ttyUSB'):
10
32
 
11
33
  if whichOS() == "Windows":
@@ -1,6 +1,6 @@
1
1
  from acrome_joint.joint import*
2
2
 
3
- keyword_for_usb = "STMicroelectronics"
3
+ keyword_for_usb = "USB-SERIAL"
4
4
  port = SerialPort(USB_serial_port(keyword_for_usb), baudrate=921600, timeout=0.01)
5
5
 
6
6
  Device = Joint(0, port)
@@ -5,10 +5,10 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="Joint-python-library",
8
- version="0.0.4",
8
+ version="0.0.6",
9
9
  author="BeratComputer",
10
10
  author_email="beratdogan@acrome.net",
11
- description="Python library for interfacing with Acrome Robotic Arm Joint BLDC Motor Controllers \n \n This Python library provides an easy-to-use interface for communication and control of BLDC motor controllers used in Acrome robotic arm joints. It is designed to simplify the integration of Acrome’s robotic joint actuators into custom applications, allowing developers and researchers to focus on building advanced robotic systems without dealing with low-level communication details.",
11
+ description="Python library for interfacing with Acrome Robotic Arm Joint BLDC Motor Controllers. This Python library provides an easy-to-use interface for communication and control of BLDC motor controllers used in Acrome robotic arm joints. It is designed to simplify the integration of Acrome’s robotic joint actuators into custom applications, allowing developers and researchers to focus on building advanced robotic systems without dealing with low-level communication details.",
12
12
  long_description=long_description,
13
13
  long_description_content_type="text/markdown",
14
14
  url="https://github.com/Acrome-Smart-Motion-Devices/python-library-new",