summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 05:00:37 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 05:00:37 +0000
commitdefe0c8541899b874a1d3b1dcd8ebaea78809b0b (patch)
tree20fdf3ae439d2d1f9395937b13ef5cb1c4077caa
parent5b9cb16ed05731d98ef84cae203a3c32f945598e (diff)
automatic import of python-TurnonModbusTCPopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-turnonmodbustcp.spec396
-rw-r--r--sources1
3 files changed, 398 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7c595f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/TurnonModbusTCP-0.0.25.tar.gz
diff --git a/python-turnonmodbustcp.spec b/python-turnonmodbustcp.spec
new file mode 100644
index 0000000..bee5451
--- /dev/null
+++ b/python-turnonmodbustcp.spec
@@ -0,0 +1,396 @@
+%global _empty_manifest_terminate_build 0
+Name: python-TurnonModbusTCP
+Version: 0.0.25
+Release: 1
+Summary: Turnon-Tech for Franka Modbus
+License: MIT
+URL: http://pypi.org/user/n159951357753/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ff/50/7253e6de39e7e1a922b92e46174ab824c0ef6a5bba0ddd50e923c9b26e3e/TurnonModbusTCP-0.0.25.tar.gz
+BuildArch: noarch
+
+
+%description
+TurnonModbusTCP
+
+
+
+Python3.X : import TurnonModbusTCP
+
+
+
+clear_print()
+
+ type: < Operation >
+ request type: {}
+ result type: {}
+
+ Explanation: Clear the command line.
+
+
+get_my_IP()
+
+ type: < Event >
+ request type: {}
+ result type: { [string] }
+
+ Explanation: Get your IP.
+
+
+set_client()
+
+ type: < Operation >
+ request type: { ServerIP= [string] , ServerPORT= [int] }
+ result type: {}
+
+ Explanation: Set up for connect to Modbus server.
+
+
+client_start()
+
+ type: < Operation >
+ request type: {}
+ result type: {}
+
+ Explanation: Connect to Modbus server.
+
+
+state()
+
+ type: < Event >
+ request type: { address= [int] }
+ result type: { [int] }
+
+ Explanation: Get Modbus's value.
+
+
+state()
+
+ type: < Event >
+ request type: { address= [int] , ID= [int] }
+ result type: { [bool] }
+
+ Explanation: Get Modbus's value.
+
+
+robot_control()
+
+ type: < Operation >
+ request type: { control_mode= [int] , data_X= [float] , data_Y= [float] , data_Z= [float] , data_Xrot= [float] , data_Yrot= [float] , data_Zrot= [float] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka robot by Modbus.
+ control_mode=0 : Just write the data into Modbus whith out moving.
+ control_mode=1 : Write the data into Modbus then move.
+
+ data_X, data_Y, data_Z : -1.5mm ~ 1.5mm
+ data_Xrot, data_Yrot, data_Zrot : -359.9deg ~ 359.9deg
+
+
+robot_control_rotation()
+
+ type: < Operation >
+ request type: { control_mode= [int] , data_Xrot= [float] , data_Yrot= [float] , data_Zrot= [float] , wait_for_robot_done = [bool(true)] }
+ result type: {}
+
+ Explanation: Control Franka robot by Modbus.
+ control_mode=0 : Just write the data into Modbus whith out moving.
+ control_mode=1 : Write the data into Modbus then move.
+ data_Xrot, data_Yrot, data_Zrot : -359.9deg ~ 359.9deg
+
+
+gripper_move()
+
+ type: < Operation >
+ request type: { width= [int] , speed= [int] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka gripper move by Modbus.
+ width: 1% ~ 100%
+ speed: 1mm/s ~ 100mm/s
+
+
+gripper_grasp()
+
+ type: < Operation >
+ request type: { width= [int] , speed= [int] , force= [int] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka gripper grasp by Modbus.
+ width: 1% ~ 100% (setting where the width to move and then grasp)
+ speed: 1mm/s ~ 100mm/s
+ force: 1N ~120N (setting the force when the gripper grasp )
+
+%package -n python3-TurnonModbusTCP
+Summary: Turnon-Tech for Franka Modbus
+Provides: python-TurnonModbusTCP
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-TurnonModbusTCP
+TurnonModbusTCP
+
+
+
+Python3.X : import TurnonModbusTCP
+
+
+
+clear_print()
+
+ type: < Operation >
+ request type: {}
+ result type: {}
+
+ Explanation: Clear the command line.
+
+
+get_my_IP()
+
+ type: < Event >
+ request type: {}
+ result type: { [string] }
+
+ Explanation: Get your IP.
+
+
+set_client()
+
+ type: < Operation >
+ request type: { ServerIP= [string] , ServerPORT= [int] }
+ result type: {}
+
+ Explanation: Set up for connect to Modbus server.
+
+
+client_start()
+
+ type: < Operation >
+ request type: {}
+ result type: {}
+
+ Explanation: Connect to Modbus server.
+
+
+state()
+
+ type: < Event >
+ request type: { address= [int] }
+ result type: { [int] }
+
+ Explanation: Get Modbus's value.
+
+
+state()
+
+ type: < Event >
+ request type: { address= [int] , ID= [int] }
+ result type: { [bool] }
+
+ Explanation: Get Modbus's value.
+
+
+robot_control()
+
+ type: < Operation >
+ request type: { control_mode= [int] , data_X= [float] , data_Y= [float] , data_Z= [float] , data_Xrot= [float] , data_Yrot= [float] , data_Zrot= [float] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka robot by Modbus.
+ control_mode=0 : Just write the data into Modbus whith out moving.
+ control_mode=1 : Write the data into Modbus then move.
+
+ data_X, data_Y, data_Z : -1.5mm ~ 1.5mm
+ data_Xrot, data_Yrot, data_Zrot : -359.9deg ~ 359.9deg
+
+
+robot_control_rotation()
+
+ type: < Operation >
+ request type: { control_mode= [int] , data_Xrot= [float] , data_Yrot= [float] , data_Zrot= [float] , wait_for_robot_done = [bool(true)] }
+ result type: {}
+
+ Explanation: Control Franka robot by Modbus.
+ control_mode=0 : Just write the data into Modbus whith out moving.
+ control_mode=1 : Write the data into Modbus then move.
+ data_Xrot, data_Yrot, data_Zrot : -359.9deg ~ 359.9deg
+
+
+gripper_move()
+
+ type: < Operation >
+ request type: { width= [int] , speed= [int] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka gripper move by Modbus.
+ width: 1% ~ 100%
+ speed: 1mm/s ~ 100mm/s
+
+
+gripper_grasp()
+
+ type: < Operation >
+ request type: { width= [int] , speed= [int] , force= [int] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka gripper grasp by Modbus.
+ width: 1% ~ 100% (setting where the width to move and then grasp)
+ speed: 1mm/s ~ 100mm/s
+ force: 1N ~120N (setting the force when the gripper grasp )
+
+%package help
+Summary: Development documents and examples for TurnonModbusTCP
+Provides: python3-TurnonModbusTCP-doc
+%description help
+TurnonModbusTCP
+
+
+
+Python3.X : import TurnonModbusTCP
+
+
+
+clear_print()
+
+ type: < Operation >
+ request type: {}
+ result type: {}
+
+ Explanation: Clear the command line.
+
+
+get_my_IP()
+
+ type: < Event >
+ request type: {}
+ result type: { [string] }
+
+ Explanation: Get your IP.
+
+
+set_client()
+
+ type: < Operation >
+ request type: { ServerIP= [string] , ServerPORT= [int] }
+ result type: {}
+
+ Explanation: Set up for connect to Modbus server.
+
+
+client_start()
+
+ type: < Operation >
+ request type: {}
+ result type: {}
+
+ Explanation: Connect to Modbus server.
+
+
+state()
+
+ type: < Event >
+ request type: { address= [int] }
+ result type: { [int] }
+
+ Explanation: Get Modbus's value.
+
+
+state()
+
+ type: < Event >
+ request type: { address= [int] , ID= [int] }
+ result type: { [bool] }
+
+ Explanation: Get Modbus's value.
+
+
+robot_control()
+
+ type: < Operation >
+ request type: { control_mode= [int] , data_X= [float] , data_Y= [float] , data_Z= [float] , data_Xrot= [float] , data_Yrot= [float] , data_Zrot= [float] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka robot by Modbus.
+ control_mode=0 : Just write the data into Modbus whith out moving.
+ control_mode=1 : Write the data into Modbus then move.
+
+ data_X, data_Y, data_Z : -1.5mm ~ 1.5mm
+ data_Xrot, data_Yrot, data_Zrot : -359.9deg ~ 359.9deg
+
+
+robot_control_rotation()
+
+ type: < Operation >
+ request type: { control_mode= [int] , data_Xrot= [float] , data_Yrot= [float] , data_Zrot= [float] , wait_for_robot_done = [bool(true)] }
+ result type: {}
+
+ Explanation: Control Franka robot by Modbus.
+ control_mode=0 : Just write the data into Modbus whith out moving.
+ control_mode=1 : Write the data into Modbus then move.
+ data_Xrot, data_Yrot, data_Zrot : -359.9deg ~ 359.9deg
+
+
+gripper_move()
+
+ type: < Operation >
+ request type: { width= [int] , speed= [int] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka gripper move by Modbus.
+ width: 1% ~ 100%
+ speed: 1mm/s ~ 100mm/s
+
+
+gripper_grasp()
+
+ type: < Operation >
+ request type: { width= [int] , speed= [int] , force= [int] , wait_for_robot_done = [bool(true)]}
+ result type: {}
+
+ Explanation: Control Franka gripper grasp by Modbus.
+ width: 1% ~ 100% (setting where the width to move and then grasp)
+ speed: 1mm/s ~ 100mm/s
+ force: 1N ~120N (setting the force when the gripper grasp )
+
+%prep
+%autosetup -n TurnonModbusTCP-0.0.25
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-TurnonModbusTCP -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.25-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..444971e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+42050ede654b7eaf233af0cc1eb5bd7e TurnonModbusTCP-0.0.25.tar.gz