%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 - 0.0.25-1 - Package Spec generated