ArtusAPI 1.3.8__tar.gz → 1.3.10__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.
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/artus_api.py +13 -12
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/commands/commands.py +3 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/communication/UART/uart.py +3 -3
- ArtusAPI-1.3.10/ArtusAPI.egg-info/PKG-INFO +206 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI.egg-info/SOURCES.txt +0 -1
- ArtusAPI-1.3.10/ArtusAPI.egg-info/requires.txt +5 -0
- ArtusAPI-1.3.10/PKG-INFO +206 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/README.md +16 -1
- ArtusAPI-1.3.10/setup.py +24 -0
- ArtusAPI-1.3.8/ArtusAPI.egg-info/PKG-INFO +0 -12
- ArtusAPI-1.3.8/ArtusAPI.egg-info/entry_points.txt +0 -4
- ArtusAPI-1.3.8/ArtusAPI.egg-info/requires.txt +0 -6
- ArtusAPI-1.3.8/PKG-INFO +0 -12
- ArtusAPI-1.3.8/setup.py +0 -29
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/commands/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/communication/UART/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/communication/WiFi/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/communication/WiFi/wifi_server.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/communication/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/communication/communication.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/firmware_update/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/firmware_update/firmware_updater.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/firmware_update/run_full_firmware_update.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/artus_lite/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/artus_lite/artus_lite.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/artus_lite/artus_lite_left.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/artus_lite/artus_lite_plus.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/artus_lite/artus_lite_plus_left.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/artus_lite/artus_lite_plus_right.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/artus_lite/artus_lite_right.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/robot/robot.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/sensors/ForceSensor.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI/sensors/__init__.py +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI.egg-info/dependency_links.txt +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/ArtusAPI.egg-info/top_level.txt +0 -0
- {ArtusAPI-1.3.8 → ArtusAPI-1.3.10}/setup.cfg +0 -0
|
@@ -433,8 +433,8 @@ class ArtusAPI:
|
|
|
433
433
|
:return: None
|
|
434
434
|
"""
|
|
435
435
|
com = None
|
|
436
|
-
while com not in ['UART','CAN','RS485']:
|
|
437
|
-
com = input('Enter Communication Protocol you would like to change to (default: UART, CAN, RS485): ')
|
|
436
|
+
while com not in ['UART','CAN','RS485','WIFI']:
|
|
437
|
+
com = input('Enter Communication Protocol you would like to change to (default: UART, CAN, RS485, WIFI): ')
|
|
438
438
|
if com == 'CAN':
|
|
439
439
|
feed = None
|
|
440
440
|
while feed not in ['P','C','ALL']:
|
|
@@ -585,7 +585,7 @@ def main_flash():
|
|
|
585
585
|
"peripheral_64": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/peripheral_64.txt",
|
|
586
586
|
"peripheral_plus_64": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/peripheral_plus_64.txt",
|
|
587
587
|
|
|
588
|
-
"master_64_right": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/
|
|
588
|
+
"master_64_right": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/master_right_64.txt",
|
|
589
589
|
"master_plus_64_right": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/master_plus_64.txt",
|
|
590
590
|
|
|
591
591
|
"master_64_left": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/master_left_64.txt",
|
|
@@ -595,7 +595,7 @@ def main_flash():
|
|
|
595
595
|
"master_partitions_64": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/master_partitions_64.txt",
|
|
596
596
|
"master_plus_partitions_64": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/master_plus_partitions_64.txt",
|
|
597
597
|
|
|
598
|
-
"master_bootapp0_64": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/
|
|
598
|
+
"master_bootapp0_64": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/master_plus_bootapp_64.txt",
|
|
599
599
|
"master_bootloader_64": "https://gist.githubusercontent.com/SDRyanLee/ad8bbe17164c74e6417d1e2d4d0843d2/raw/master_bootloader_64.txt"
|
|
600
600
|
}
|
|
601
601
|
|
|
@@ -605,7 +605,7 @@ def main_flash():
|
|
|
605
605
|
|
|
606
606
|
# add required arguments
|
|
607
607
|
parser.add_argument('-p','--port',required=True,help="required com port (COMx) or (/dev/ttyUSBx)")
|
|
608
|
-
parser.add_argument('-r','--robot',default='
|
|
608
|
+
parser.add_argument('-r','--robot',default='artus_lite',help="Robot type",choices=['artus_lite','artus_lite_plus'])
|
|
609
609
|
parser.add_argument('-s','--side',default='right',choices=['left','right'],help='specify hand side, left or right')
|
|
610
610
|
# parser.add_argument('-b','--baudrate',default=921600,help='specify baudrate',choices=[921600,115200])
|
|
611
611
|
args = parser.parse_args()
|
|
@@ -626,30 +626,30 @@ def main_flash():
|
|
|
626
626
|
driver_to_flash = 0
|
|
627
627
|
print('Flashing actuator')
|
|
628
628
|
elif type_flash == 'peripheral':
|
|
629
|
-
if args.robot == '
|
|
629
|
+
if args.robot == 'artus_lite':
|
|
630
630
|
file_location = bin_paths['peripheral_64']
|
|
631
|
-
elif args.robot == '
|
|
631
|
+
elif args.robot == 'artus_lite_plus':
|
|
632
632
|
file_location = bin_paths['peripheral_plus_64']
|
|
633
633
|
driver_to_flash = 9
|
|
634
634
|
print('Flashing peripheral')
|
|
635
635
|
|
|
636
636
|
elif type_flash == 'master':
|
|
637
|
-
|
|
638
|
-
if args.robot == '
|
|
637
|
+
print(f'flashing master with parameters: {args.robot} {args.side}')
|
|
638
|
+
if args.robot == 'artus_lite':
|
|
639
639
|
if args.side == 'right':
|
|
640
640
|
file_location = bin_paths['master_64_right']
|
|
641
641
|
elif args.side == 'left':
|
|
642
642
|
file_location = bin_paths['master_64_left']
|
|
643
643
|
partitions_path = bin_paths['master_partitions_64']
|
|
644
644
|
|
|
645
|
-
elif args.robot == '
|
|
645
|
+
elif args.robot == 'artus_lite_plus':
|
|
646
646
|
if args.side == 'right':
|
|
647
647
|
file_location = bin_paths['master_plus_64_right']
|
|
648
648
|
elif args.side == 'left':
|
|
649
649
|
file_location = bin_paths['master_plus_64_left']
|
|
650
650
|
partitions_path = bin_paths['master_plus_partitions_64']
|
|
651
|
-
bootapp_path = bin_paths['master_bootapp0_64']
|
|
652
651
|
|
|
652
|
+
bootapp_path = bin_paths['master_bootapp0_64']
|
|
653
653
|
bootloader_path = bin_paths['master_bootloader_64']
|
|
654
654
|
print('Flashing master')
|
|
655
655
|
# write files
|
|
@@ -728,7 +728,8 @@ def main_flash():
|
|
|
728
728
|
'0x10000', 'flash.bin'
|
|
729
729
|
]
|
|
730
730
|
|
|
731
|
-
# Run esptool flash command
|
|
731
|
+
# Run esptool flash command with verbose output
|
|
732
|
+
# cmd_args.append('--verbose')
|
|
732
733
|
esptool.main(cmd_args)
|
|
733
734
|
|
|
734
735
|
# Clean up temporary bootloader files
|
|
@@ -159,6 +159,7 @@ class Commands:
|
|
|
159
159
|
def update_param_command(self,communication='UART', feedback=None):
|
|
160
160
|
"""
|
|
161
161
|
Communication Options:
|
|
162
|
+
'WIFI' - WIFI
|
|
162
163
|
'UART' - USBC
|
|
163
164
|
'RS485' - RS485
|
|
164
165
|
'CAN' - CAN
|
|
@@ -178,6 +179,8 @@ class Commands:
|
|
|
178
179
|
command_list[17] = 2
|
|
179
180
|
elif communication == 'RS485':
|
|
180
181
|
command_list[17] = 3
|
|
182
|
+
elif communication == 'WIFI':
|
|
183
|
+
command_list[17] = 0
|
|
181
184
|
|
|
182
185
|
if feedback:
|
|
183
186
|
command_list[2] = 1
|
|
@@ -78,9 +78,9 @@ class UART:
|
|
|
78
78
|
try:
|
|
79
79
|
x = time.perf_counter()
|
|
80
80
|
# # print(f'time start: {x}')
|
|
81
|
-
while self.esp32.in_waiting < size:
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
# while self.esp32.in_waiting < size:
|
|
82
|
+
# if time.perf_counter() - x > 0.001:
|
|
83
|
+
# break
|
|
84
84
|
# print(f'elapsed time: {time.perf_counter() - x}')
|
|
85
85
|
# time.sleep(0.03)
|
|
86
86
|
# check data
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: ArtusAPI
|
|
3
|
+
Version: 1.3.10
|
|
4
|
+
Summary: API to control Artus Family of Robots by Sarcomere Dynamics Inc
|
|
5
|
+
Home-page: https://sarcomeredynamics.com/home
|
|
6
|
+
Author: Sarcomere Dynamics Inc.
|
|
7
|
+
License: UNKNOWN
|
|
8
|
+
Project-URL: Source, https://github.com/Sarcomere-Dynamics/Sarcomere_Dynamics_Resources
|
|
9
|
+
Keywords: robotics,artus,sarcomere dynamics,control
|
|
10
|
+
Platform: UNKNOWN
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
<img src='data/images/SarcomereLogoHorizontal.svg'>
|
|
15
|
+
|
|
16
|
+
# Python ARTUS Robotic Hand API
|
|
17
|
+
|
|
18
|
+
This repository contains a Python API for controlling the ARTUS robotic hands by Sarcomere Dynamics Inc.
|
|
19
|
+
|
|
20
|
+
Please contact the team if there are any issues that arise through the use of the API. See [Software License](/Software%20License_24March%202025.pdf).
|
|
21
|
+
|
|
22
|
+
## Introduction
|
|
23
|
+
>[!IMPORTANT]
|
|
24
|
+
__Please read through the entire README and the _User Manual_ before using the ARTUS hand__
|
|
25
|
+
|
|
26
|
+
The user manual contains in-depth operational and troubleshooting guidelines for the device.
|
|
27
|
+
|
|
28
|
+
This repository contains the following:
|
|
29
|
+
* [ARTUS API](/ArtusAPI/)
|
|
30
|
+
* [ROS2 Node](/ros2/)
|
|
31
|
+
* [Examples](/examples/)
|
|
32
|
+
|
|
33
|
+
Below is a list of the ARTUS hand-specific READMEs that are compatible with the API. This includes _electrical wiring specifics_, _joint maps_ and more:
|
|
34
|
+
* [ARTUS Lite Information](/ArtusAPI/robot/artus_lite/README.md)
|
|
35
|
+
|
|
36
|
+
### VERY IMPORTANT
|
|
37
|
+
* [Requirements](#requirements)
|
|
38
|
+
* [Normal Startup Procedure](#normal-startup-procedure)
|
|
39
|
+
* [Normal Shutdown Procedure](#normal-shutdown-procedure)
|
|
40
|
+
|
|
41
|
+
## Table of Contents
|
|
42
|
+
* [Getting Started](#1-getting-started)
|
|
43
|
+
* [1.1 Requirements](#11-requirements)
|
|
44
|
+
* [1.2 Python Requirements](#12-python-requirements)
|
|
45
|
+
* [1.2.1 Use-as-Released](#121-use-as-released)
|
|
46
|
+
* [1.2.2 Use Cloned Repository](#122-use-cloned-repository)
|
|
47
|
+
* [1.3 Hardware Requirements](#13-hardware-requirements)
|
|
48
|
+
* [Basic Usage](#2-basic-usage)
|
|
49
|
+
* [2.1 Normal Startup Procedure](#21-normal-startup-procedure)
|
|
50
|
+
* [2.2 Normal Shutdown Procedure](#22-normal-shutdown-procedure)
|
|
51
|
+
* [2.3 Running _general_example.py_](#23-running-general_examplepy)
|
|
52
|
+
* [2.3.1 Video Introduction](#231-video-introduction)
|
|
53
|
+
* [Control Examples](#artus-lite-control-examples-setup)
|
|
54
|
+
* [GUIv2](#1-gui-setup)
|
|
55
|
+
* [ROS2](#2-ros2-node-control-setup)
|
|
56
|
+
* [Manus Glove Teleoperation](#3-manus-glove-setup)
|
|
57
|
+
|
|
58
|
+
See the [Appendix](#appendix) for additional links and information.
|
|
59
|
+
|
|
60
|
+
## Wiring Diagram
|
|
61
|
+
See below the wiring diagram with the circuit connection names and cable colours. You can use either the 8P nano M8 or the 4P nano M8. We recommend a 200W rated 24V power supply, please review the power requirements here: [ARTUS Lite Information](/ArtusAPI/robot/artus_lite/ARTUS_LITE.md)
|
|
62
|
+
|
|
63
|
+
## 1. Getting Started
|
|
64
|
+
__Sections__
|
|
65
|
+
* [1.1 Requirements](#11-requirements)
|
|
66
|
+
* [1.2 Python Requirements](#12-python-requirements)
|
|
67
|
+
* [1.2.1 Use-as-Released](#121-use-as-released)
|
|
68
|
+
* [1.2.2 Use Cloned Repository](#122-use-cloned-repository)
|
|
69
|
+
* [1.3 Hardware Requirements](#13-hardware-requirements)
|
|
70
|
+
|
|
71
|
+
The first step to working with the Artus Lite is to connect to the hand, and achieve joint control and joint feedback. It is highly recommended that this should be done for the first time via the [example program provided](#23-running-general_examplepy). In preparation for this example, please follow the subsequent sections step by step, outlining all requirements for working with both the initial example program, as well as the API as a whole.
|
|
72
|
+
|
|
73
|
+
### 1.1 Requirements
|
|
74
|
+
Below is a list of Requirements for the Artus to be compatible
|
|
75
|
+
1. Python v3.10+ - Requires Python version >= 3.10 installed on the host system. Please visit the [Python website](https://www.python.org/downloads/) to install Python. Within the setup instructions, there will be a prompt that allows you to "disable PATH length limit". Please continue with this option selected.
|
|
76
|
+
2. FTDI USB Driver (Windows Only) - Necessary for the Artus Lite to be recognized as a USB device once it is connected over USBC, go to [FTDI Driver Download](https://ftdichip.com/drivers/vcp-drivers/) to install the virtual COM port driver.
|
|
77
|
+
|
|
78
|
+
### 1.2 Python Requirements
|
|
79
|
+
There are two ways to install the Python API. The first is through Python's package manager, where the API can be imported as a library like any other. The second is through this cloned Github repository, using and importing the local files.
|
|
80
|
+
|
|
81
|
+
>[!Note]
|
|
82
|
+
>If you have multiple Python installations (different versions) on your PC, ensure that your *pip* commands apply to the installation/version you intend to use to run the Artus API, and is the same one used later in any IDE used to create your own programs. You can ensure this by adding the path to the to-be-used python executable as a prefix to this command. An example of this is below.
|
|
83
|
+
>```
|
|
84
|
+
>C:\Users\zanem\AppData\Local\Programs\Python\Python311\python.exe -m pip install psutil
|
|
85
|
+
>```
|
|
86
|
+
>Take a look at [these steps on creating and using a virtual environment](https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/) to ensure that you are using the correct python at all times
|
|
87
|
+
|
|
88
|
+
#### 1.2.1 Use-as-Released
|
|
89
|
+
The ArtusAPI is available via pip [here](https://pypi.org/project/ArtusAPI/) using the following command:
|
|
90
|
+
```python
|
|
91
|
+
pip install ArtusAPI
|
|
92
|
+
```
|
|
93
|
+
Once this is complete, the software dependecies are all met!
|
|
94
|
+
|
|
95
|
+
#### 1.2.2 Use Cloned Repository
|
|
96
|
+
If you plan to eventually make changes to the source code, you will need to clone the GitHub *SARCOMERE_DYNAMICS_RESOURCES* repository. Once cloned, you can utilize the *requirements.txt* included in the package to install the dependencies. With a terminal open, execute the following command:
|
|
97
|
+
```
|
|
98
|
+
pip install -r path\to\requirements.txt
|
|
99
|
+
```
|
|
100
|
+
Alternatively, if your terminal is open in the cloned repo's folder, you can run the following simpler version of the above command.
|
|
101
|
+
```
|
|
102
|
+
pip install -r requirements.txt
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### 1.3 Hardware Requirements
|
|
106
|
+
1. Power and Data Harness connection (options below)
|
|
107
|
+
1. __4P Nano M8 (Power) + USB-C (COM)__. These are the harnesses that should be connected when running the *general_example.py* script below. Out-of-the-box, the hand is set up to use USBC as the communication method.
|
|
108
|
+
2. 8P Nano M8 (Power + COM). This harness setup is reserved for more advanced use, once you are familiar with the hand. This harness allows for CAN or RS485 communication and power all-in-one.
|
|
109
|
+
|
|
110
|
+
<div align=center>
|
|
111
|
+
<img src='data/images/wiring_diagram.png'>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
## 2. Basic Usage
|
|
115
|
+
This section covers very basic usage of the Artus Lite using the Artus API.
|
|
116
|
+
|
|
117
|
+
__Sections__
|
|
118
|
+
* [2.1 Normal Startup Procedure](#21-normal-startup-procedure)
|
|
119
|
+
* [2.2 Normal Shutdown Procedure](#22-normal-shutdown-procedure)
|
|
120
|
+
* [2.3 Running _general_example.py_](#23-running-general_examplepy)
|
|
121
|
+
* [2.3.1 Video Introduction](#231-video-introduction)
|
|
122
|
+
|
|
123
|
+
### 2.1 Normal Startup Procedure
|
|
124
|
+
There is a standard series of commands that need to be followed before sending target commands or receiving feedback data is possible.
|
|
125
|
+
|
|
126
|
+
Before any software, ensure that the power connector is secured and connected to the Artus hand and if using a wired connection (Serial or CANbus), ensure the connection/cable is good.
|
|
127
|
+
|
|
128
|
+
First, to create a communication connection between the API and the Artus hand, `ArtusAPI.connect()` must be run to confirm communication is open on the selected communication type.
|
|
129
|
+
|
|
130
|
+
Second, the `ArtusAPI.wake_up()` function must be run to allow the hand to load it's necessary configurations.
|
|
131
|
+
|
|
132
|
+
Once these two steps are complete, optionally, you can run `ArtusAPI.calibrate()` to calibrate the finger joints. Otherwise, the system is now ready to start sending and receiving data!
|
|
133
|
+
|
|
134
|
+
>[!NOTE]
|
|
135
|
+
>If running version v1.0.1+, `wake_up` is called inside the `connect()` function_
|
|
136
|
+
|
|
137
|
+
### 2.2 Normal Shutdown Procedure
|
|
138
|
+
When getting ready to power off the device please do the following:
|
|
139
|
+
* Send a zero position command to all the joints so that the hand is opened
|
|
140
|
+
* Once the hand is in an open position, send the `artus.sleep()` command to save parameters to the SD Card.
|
|
141
|
+
* Once the LED turns yellow, then the device can be powered off.
|
|
142
|
+
|
|
143
|
+
>[!NOTE]
|
|
144
|
+
>This is different than the mk8 where the SD Card would save periodically. Now, saving to SD Card is more intentional.
|
|
145
|
+
|
|
146
|
+
### 2.3 Running _general_example.py_
|
|
147
|
+
See the [General Example README to complete this task](/examples/general_example/README.md)
|
|
148
|
+
|
|
149
|
+
#### 2.3.1 Video Introduction
|
|
150
|
+
[](https://www.youtube.com/watch?v=30BkuA0EkP4)
|
|
151
|
+
|
|
152
|
+
## Artus Lite Control Examples Setup
|
|
153
|
+
|
|
154
|
+
### 1. GUI Setup
|
|
155
|
+
Please check the [Artus GUIV2 README](examples/Control/ArtusLiteControl/GUIControlV2/README.md) for a GUI setup to control the Artus Lite hand.
|
|
156
|
+
|
|
157
|
+
Also, check the video below for a demonstration of the GUI setup.
|
|
158
|
+
>[!NOTE]
|
|
159
|
+
>Video is for GUIv1, but GUIv1 is depracated. Please use GUIv2
|
|
160
|
+
|
|
161
|
+
<div align="center">
|
|
162
|
+
<a href="https://www.youtube.com/watch?v=l_Sl6bAeGuc">
|
|
163
|
+
<img src="./data/images/gui.png" alt="Watch the video" width="200" />
|
|
164
|
+
</a>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
### 2. ROS2 Node Control Setup
|
|
168
|
+
Please check the [Artus ROS2 Node README](ros2/artuslite_ws/README.md) for a ROS2 node setup to control the Artus Lite hand.
|
|
169
|
+
|
|
170
|
+
Also, check the video below for a demonstration of the ROS2 node setup.
|
|
171
|
+
|
|
172
|
+
<div align="center">
|
|
173
|
+
<a href="https://www.youtube.com/watch?v=GHyG1NuuRv4">
|
|
174
|
+
Watch the video
|
|
175
|
+
</a>
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
### 3. Manus Glove Setup
|
|
179
|
+
Please check the [Manus Glove README](examples/Control/ArtusLiteControl/ManusGloveControl/README.md) for a Manus Glove setup to control the Artus Lite hand.
|
|
180
|
+
|
|
181
|
+
Also, check the video below for a demonstration of the Manus Glove setup.
|
|
182
|
+
|
|
183
|
+
<div align="center">
|
|
184
|
+
<a href="https://www.youtube.com/watch?v=SPXJlxMaDVQ&list=PLNUrV_GAAyA8HNBAvwBlsmIqoWiJJLRwW&index=2">
|
|
185
|
+
Watch the video
|
|
186
|
+
</a>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## Revision Control
|
|
192
|
+
| Date | Revision | Description | Pip Release |
|
|
193
|
+
| :---: | :------: | :---------: | :----------: |
|
|
194
|
+
| Nov. 14, 2023 | v1.0b | Initial release - Artus Lite Mk 5 | NA |
|
|
195
|
+
| Apr. 23, 2024 | v1.1b | Beta release - Artus Lite Mk 6 | NA |
|
|
196
|
+
| Oct. 9, 2024 | v1.0 | Artus Lite Release | v1.0 |
|
|
197
|
+
| Oct. 23, 2024 | v1.0.2 | awake parameter added, wake up function in connect | v1.0.1 |
|
|
198
|
+
| Nov. 14, 2024 | v1.1 | firmware v1.1 release | v1.1 |
|
|
199
|
+
| Apr. 22, 2025 | v1.1.1 | readmes/documentation updated | - |
|
|
200
|
+
| Jun. 2, 2025 | v1.3.10 | changes publish, see [changelog](/changelog/) | v1.3.10 |
|
|
201
|
+
|
|
202
|
+
## Appendix
|
|
203
|
+
* [Artus API](ArtusAPI/artus_api.py) - The file containing all functions that interact with the Artus Lite.
|
|
204
|
+
* [API Docs](docs/API%20Functionality.md) - Contains a little more information on application and reasoning behind the API functions.
|
|
205
|
+
|
|
206
|
+
|
ArtusAPI-1.3.10/PKG-INFO
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: ArtusAPI
|
|
3
|
+
Version: 1.3.10
|
|
4
|
+
Summary: API to control Artus Family of Robots by Sarcomere Dynamics Inc
|
|
5
|
+
Home-page: https://sarcomeredynamics.com/home
|
|
6
|
+
Author: Sarcomere Dynamics Inc.
|
|
7
|
+
License: UNKNOWN
|
|
8
|
+
Project-URL: Source, https://github.com/Sarcomere-Dynamics/Sarcomere_Dynamics_Resources
|
|
9
|
+
Keywords: robotics,artus,sarcomere dynamics,control
|
|
10
|
+
Platform: UNKNOWN
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
<img src='data/images/SarcomereLogoHorizontal.svg'>
|
|
15
|
+
|
|
16
|
+
# Python ARTUS Robotic Hand API
|
|
17
|
+
|
|
18
|
+
This repository contains a Python API for controlling the ARTUS robotic hands by Sarcomere Dynamics Inc.
|
|
19
|
+
|
|
20
|
+
Please contact the team if there are any issues that arise through the use of the API. See [Software License](/Software%20License_24March%202025.pdf).
|
|
21
|
+
|
|
22
|
+
## Introduction
|
|
23
|
+
>[!IMPORTANT]
|
|
24
|
+
__Please read through the entire README and the _User Manual_ before using the ARTUS hand__
|
|
25
|
+
|
|
26
|
+
The user manual contains in-depth operational and troubleshooting guidelines for the device.
|
|
27
|
+
|
|
28
|
+
This repository contains the following:
|
|
29
|
+
* [ARTUS API](/ArtusAPI/)
|
|
30
|
+
* [ROS2 Node](/ros2/)
|
|
31
|
+
* [Examples](/examples/)
|
|
32
|
+
|
|
33
|
+
Below is a list of the ARTUS hand-specific READMEs that are compatible with the API. This includes _electrical wiring specifics_, _joint maps_ and more:
|
|
34
|
+
* [ARTUS Lite Information](/ArtusAPI/robot/artus_lite/README.md)
|
|
35
|
+
|
|
36
|
+
### VERY IMPORTANT
|
|
37
|
+
* [Requirements](#requirements)
|
|
38
|
+
* [Normal Startup Procedure](#normal-startup-procedure)
|
|
39
|
+
* [Normal Shutdown Procedure](#normal-shutdown-procedure)
|
|
40
|
+
|
|
41
|
+
## Table of Contents
|
|
42
|
+
* [Getting Started](#1-getting-started)
|
|
43
|
+
* [1.1 Requirements](#11-requirements)
|
|
44
|
+
* [1.2 Python Requirements](#12-python-requirements)
|
|
45
|
+
* [1.2.1 Use-as-Released](#121-use-as-released)
|
|
46
|
+
* [1.2.2 Use Cloned Repository](#122-use-cloned-repository)
|
|
47
|
+
* [1.3 Hardware Requirements](#13-hardware-requirements)
|
|
48
|
+
* [Basic Usage](#2-basic-usage)
|
|
49
|
+
* [2.1 Normal Startup Procedure](#21-normal-startup-procedure)
|
|
50
|
+
* [2.2 Normal Shutdown Procedure](#22-normal-shutdown-procedure)
|
|
51
|
+
* [2.3 Running _general_example.py_](#23-running-general_examplepy)
|
|
52
|
+
* [2.3.1 Video Introduction](#231-video-introduction)
|
|
53
|
+
* [Control Examples](#artus-lite-control-examples-setup)
|
|
54
|
+
* [GUIv2](#1-gui-setup)
|
|
55
|
+
* [ROS2](#2-ros2-node-control-setup)
|
|
56
|
+
* [Manus Glove Teleoperation](#3-manus-glove-setup)
|
|
57
|
+
|
|
58
|
+
See the [Appendix](#appendix) for additional links and information.
|
|
59
|
+
|
|
60
|
+
## Wiring Diagram
|
|
61
|
+
See below the wiring diagram with the circuit connection names and cable colours. You can use either the 8P nano M8 or the 4P nano M8. We recommend a 200W rated 24V power supply, please review the power requirements here: [ARTUS Lite Information](/ArtusAPI/robot/artus_lite/ARTUS_LITE.md)
|
|
62
|
+
|
|
63
|
+
## 1. Getting Started
|
|
64
|
+
__Sections__
|
|
65
|
+
* [1.1 Requirements](#11-requirements)
|
|
66
|
+
* [1.2 Python Requirements](#12-python-requirements)
|
|
67
|
+
* [1.2.1 Use-as-Released](#121-use-as-released)
|
|
68
|
+
* [1.2.2 Use Cloned Repository](#122-use-cloned-repository)
|
|
69
|
+
* [1.3 Hardware Requirements](#13-hardware-requirements)
|
|
70
|
+
|
|
71
|
+
The first step to working with the Artus Lite is to connect to the hand, and achieve joint control and joint feedback. It is highly recommended that this should be done for the first time via the [example program provided](#23-running-general_examplepy). In preparation for this example, please follow the subsequent sections step by step, outlining all requirements for working with both the initial example program, as well as the API as a whole.
|
|
72
|
+
|
|
73
|
+
### 1.1 Requirements
|
|
74
|
+
Below is a list of Requirements for the Artus to be compatible
|
|
75
|
+
1. Python v3.10+ - Requires Python version >= 3.10 installed on the host system. Please visit the [Python website](https://www.python.org/downloads/) to install Python. Within the setup instructions, there will be a prompt that allows you to "disable PATH length limit". Please continue with this option selected.
|
|
76
|
+
2. FTDI USB Driver (Windows Only) - Necessary for the Artus Lite to be recognized as a USB device once it is connected over USBC, go to [FTDI Driver Download](https://ftdichip.com/drivers/vcp-drivers/) to install the virtual COM port driver.
|
|
77
|
+
|
|
78
|
+
### 1.2 Python Requirements
|
|
79
|
+
There are two ways to install the Python API. The first is through Python's package manager, where the API can be imported as a library like any other. The second is through this cloned Github repository, using and importing the local files.
|
|
80
|
+
|
|
81
|
+
>[!Note]
|
|
82
|
+
>If you have multiple Python installations (different versions) on your PC, ensure that your *pip* commands apply to the installation/version you intend to use to run the Artus API, and is the same one used later in any IDE used to create your own programs. You can ensure this by adding the path to the to-be-used python executable as a prefix to this command. An example of this is below.
|
|
83
|
+
>```
|
|
84
|
+
>C:\Users\zanem\AppData\Local\Programs\Python\Python311\python.exe -m pip install psutil
|
|
85
|
+
>```
|
|
86
|
+
>Take a look at [these steps on creating and using a virtual environment](https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/) to ensure that you are using the correct python at all times
|
|
87
|
+
|
|
88
|
+
#### 1.2.1 Use-as-Released
|
|
89
|
+
The ArtusAPI is available via pip [here](https://pypi.org/project/ArtusAPI/) using the following command:
|
|
90
|
+
```python
|
|
91
|
+
pip install ArtusAPI
|
|
92
|
+
```
|
|
93
|
+
Once this is complete, the software dependecies are all met!
|
|
94
|
+
|
|
95
|
+
#### 1.2.2 Use Cloned Repository
|
|
96
|
+
If you plan to eventually make changes to the source code, you will need to clone the GitHub *SARCOMERE_DYNAMICS_RESOURCES* repository. Once cloned, you can utilize the *requirements.txt* included in the package to install the dependencies. With a terminal open, execute the following command:
|
|
97
|
+
```
|
|
98
|
+
pip install -r path\to\requirements.txt
|
|
99
|
+
```
|
|
100
|
+
Alternatively, if your terminal is open in the cloned repo's folder, you can run the following simpler version of the above command.
|
|
101
|
+
```
|
|
102
|
+
pip install -r requirements.txt
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### 1.3 Hardware Requirements
|
|
106
|
+
1. Power and Data Harness connection (options below)
|
|
107
|
+
1. __4P Nano M8 (Power) + USB-C (COM)__. These are the harnesses that should be connected when running the *general_example.py* script below. Out-of-the-box, the hand is set up to use USBC as the communication method.
|
|
108
|
+
2. 8P Nano M8 (Power + COM). This harness setup is reserved for more advanced use, once you are familiar with the hand. This harness allows for CAN or RS485 communication and power all-in-one.
|
|
109
|
+
|
|
110
|
+
<div align=center>
|
|
111
|
+
<img src='data/images/wiring_diagram.png'>
|
|
112
|
+
</div>
|
|
113
|
+
|
|
114
|
+
## 2. Basic Usage
|
|
115
|
+
This section covers very basic usage of the Artus Lite using the Artus API.
|
|
116
|
+
|
|
117
|
+
__Sections__
|
|
118
|
+
* [2.1 Normal Startup Procedure](#21-normal-startup-procedure)
|
|
119
|
+
* [2.2 Normal Shutdown Procedure](#22-normal-shutdown-procedure)
|
|
120
|
+
* [2.3 Running _general_example.py_](#23-running-general_examplepy)
|
|
121
|
+
* [2.3.1 Video Introduction](#231-video-introduction)
|
|
122
|
+
|
|
123
|
+
### 2.1 Normal Startup Procedure
|
|
124
|
+
There is a standard series of commands that need to be followed before sending target commands or receiving feedback data is possible.
|
|
125
|
+
|
|
126
|
+
Before any software, ensure that the power connector is secured and connected to the Artus hand and if using a wired connection (Serial or CANbus), ensure the connection/cable is good.
|
|
127
|
+
|
|
128
|
+
First, to create a communication connection between the API and the Artus hand, `ArtusAPI.connect()` must be run to confirm communication is open on the selected communication type.
|
|
129
|
+
|
|
130
|
+
Second, the `ArtusAPI.wake_up()` function must be run to allow the hand to load it's necessary configurations.
|
|
131
|
+
|
|
132
|
+
Once these two steps are complete, optionally, you can run `ArtusAPI.calibrate()` to calibrate the finger joints. Otherwise, the system is now ready to start sending and receiving data!
|
|
133
|
+
|
|
134
|
+
>[!NOTE]
|
|
135
|
+
>If running version v1.0.1+, `wake_up` is called inside the `connect()` function_
|
|
136
|
+
|
|
137
|
+
### 2.2 Normal Shutdown Procedure
|
|
138
|
+
When getting ready to power off the device please do the following:
|
|
139
|
+
* Send a zero position command to all the joints so that the hand is opened
|
|
140
|
+
* Once the hand is in an open position, send the `artus.sleep()` command to save parameters to the SD Card.
|
|
141
|
+
* Once the LED turns yellow, then the device can be powered off.
|
|
142
|
+
|
|
143
|
+
>[!NOTE]
|
|
144
|
+
>This is different than the mk8 where the SD Card would save periodically. Now, saving to SD Card is more intentional.
|
|
145
|
+
|
|
146
|
+
### 2.3 Running _general_example.py_
|
|
147
|
+
See the [General Example README to complete this task](/examples/general_example/README.md)
|
|
148
|
+
|
|
149
|
+
#### 2.3.1 Video Introduction
|
|
150
|
+
[](https://www.youtube.com/watch?v=30BkuA0EkP4)
|
|
151
|
+
|
|
152
|
+
## Artus Lite Control Examples Setup
|
|
153
|
+
|
|
154
|
+
### 1. GUI Setup
|
|
155
|
+
Please check the [Artus GUIV2 README](examples/Control/ArtusLiteControl/GUIControlV2/README.md) for a GUI setup to control the Artus Lite hand.
|
|
156
|
+
|
|
157
|
+
Also, check the video below for a demonstration of the GUI setup.
|
|
158
|
+
>[!NOTE]
|
|
159
|
+
>Video is for GUIv1, but GUIv1 is depracated. Please use GUIv2
|
|
160
|
+
|
|
161
|
+
<div align="center">
|
|
162
|
+
<a href="https://www.youtube.com/watch?v=l_Sl6bAeGuc">
|
|
163
|
+
<img src="./data/images/gui.png" alt="Watch the video" width="200" />
|
|
164
|
+
</a>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
### 2. ROS2 Node Control Setup
|
|
168
|
+
Please check the [Artus ROS2 Node README](ros2/artuslite_ws/README.md) for a ROS2 node setup to control the Artus Lite hand.
|
|
169
|
+
|
|
170
|
+
Also, check the video below for a demonstration of the ROS2 node setup.
|
|
171
|
+
|
|
172
|
+
<div align="center">
|
|
173
|
+
<a href="https://www.youtube.com/watch?v=GHyG1NuuRv4">
|
|
174
|
+
Watch the video
|
|
175
|
+
</a>
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
### 3. Manus Glove Setup
|
|
179
|
+
Please check the [Manus Glove README](examples/Control/ArtusLiteControl/ManusGloveControl/README.md) for a Manus Glove setup to control the Artus Lite hand.
|
|
180
|
+
|
|
181
|
+
Also, check the video below for a demonstration of the Manus Glove setup.
|
|
182
|
+
|
|
183
|
+
<div align="center">
|
|
184
|
+
<a href="https://www.youtube.com/watch?v=SPXJlxMaDVQ&list=PLNUrV_GAAyA8HNBAvwBlsmIqoWiJJLRwW&index=2">
|
|
185
|
+
Watch the video
|
|
186
|
+
</a>
|
|
187
|
+
</div>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## Revision Control
|
|
192
|
+
| Date | Revision | Description | Pip Release |
|
|
193
|
+
| :---: | :------: | :---------: | :----------: |
|
|
194
|
+
| Nov. 14, 2023 | v1.0b | Initial release - Artus Lite Mk 5 | NA |
|
|
195
|
+
| Apr. 23, 2024 | v1.1b | Beta release - Artus Lite Mk 6 | NA |
|
|
196
|
+
| Oct. 9, 2024 | v1.0 | Artus Lite Release | v1.0 |
|
|
197
|
+
| Oct. 23, 2024 | v1.0.2 | awake parameter added, wake up function in connect | v1.0.1 |
|
|
198
|
+
| Nov. 14, 2024 | v1.1 | firmware v1.1 release | v1.1 |
|
|
199
|
+
| Apr. 22, 2025 | v1.1.1 | readmes/documentation updated | - |
|
|
200
|
+
| Jun. 2, 2025 | v1.3.10 | changes publish, see [changelog](/changelog/) | v1.3.10 |
|
|
201
|
+
|
|
202
|
+
## Appendix
|
|
203
|
+
* [Artus API](ArtusAPI/artus_api.py) - The file containing all functions that interact with the Artus Lite.
|
|
204
|
+
* [API Docs](docs/API%20Functionality.md) - Contains a little more information on application and reasoning behind the API functions.
|
|
205
|
+
|
|
206
|
+
|
|
@@ -44,6 +44,9 @@ Below is a list of the ARTUS hand-specific READMEs that are compatible with the
|
|
|
44
44
|
|
|
45
45
|
See the [Appendix](#appendix) for additional links and information.
|
|
46
46
|
|
|
47
|
+
## Wiring Diagram
|
|
48
|
+
See below the wiring diagram with the circuit connection names and cable colours. You can use either the 8P nano M8 or the 4P nano M8. We recommend a 200W rated 24V power supply, please review the power requirements here: [ARTUS Lite Information](/ArtusAPI/robot/artus_lite/ARTUS_LITE.md)
|
|
49
|
+
|
|
47
50
|
## 1. Getting Started
|
|
48
51
|
__Sections__
|
|
49
52
|
* [1.1 Requirements](#11-requirements)
|
|
@@ -171,6 +174,18 @@ Also, check the video below for a demonstration of the Manus Glove setup.
|
|
|
171
174
|
</div>
|
|
172
175
|
|
|
173
176
|
|
|
177
|
+
|
|
178
|
+
## Revision Control
|
|
179
|
+
| Date | Revision | Description | Pip Release |
|
|
180
|
+
| :---: | :------: | :---------: | :----------: |
|
|
181
|
+
| Nov. 14, 2023 | v1.0b | Initial release - Artus Lite Mk 5 | NA |
|
|
182
|
+
| Apr. 23, 2024 | v1.1b | Beta release - Artus Lite Mk 6 | NA |
|
|
183
|
+
| Oct. 9, 2024 | v1.0 | Artus Lite Release | v1.0 |
|
|
184
|
+
| Oct. 23, 2024 | v1.0.2 | awake parameter added, wake up function in connect | v1.0.1 |
|
|
185
|
+
| Nov. 14, 2024 | v1.1 | firmware v1.1 release | v1.1 |
|
|
186
|
+
| Apr. 22, 2025 | v1.1.1 | readmes/documentation updated | - |
|
|
187
|
+
| Jun. 2, 2025 | v1.3.10 | changes publish, see [changelog](/changelog/) | v1.3.10 |
|
|
188
|
+
|
|
174
189
|
## Appendix
|
|
175
190
|
* [Artus API](ArtusAPI/artus_api.py) - The file containing all functions that interact with the Artus Lite.
|
|
176
|
-
* [API Docs](docs/API%20Functionality.md) - Contains a little more information on application and reasoning behind the API functions.
|
|
191
|
+
* [API Docs](docs/API%20Functionality.md) - Contains a little more information on application and reasoning behind the API functions.
|
ArtusAPI-1.3.10/setup.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name='ArtusAPI',
|
|
5
|
+
version='1.3.10',
|
|
6
|
+
description='API to control Artus Family of Robots by Sarcomere Dynamics Inc',
|
|
7
|
+
long_description=open('README.md').read(),
|
|
8
|
+
long_description_content_type='text/markdown',
|
|
9
|
+
packages=find_packages(exclude=['data*', 'examples*', 'tests*','venv*', 'urdf*', 'ros2*']),
|
|
10
|
+
author='Sarcomere Dynamics Inc.',
|
|
11
|
+
install_requires=[
|
|
12
|
+
'psutil==5.9.8',
|
|
13
|
+
'pyserial==3.5',
|
|
14
|
+
'esptool',
|
|
15
|
+
'pyyaml',
|
|
16
|
+
'tqdm',
|
|
17
|
+
],
|
|
18
|
+
python_requires='>=3.10',
|
|
19
|
+
url='https://sarcomeredynamics.com/home',
|
|
20
|
+
project_urls={
|
|
21
|
+
'Source': 'https://github.com/Sarcomere-Dynamics/Sarcomere_Dynamics_Resources',
|
|
22
|
+
},
|
|
23
|
+
keywords='robotics, artus, sarcomere dynamics, control'
|
|
24
|
+
)
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: ArtusAPI
|
|
3
|
-
Version: 1.3.8
|
|
4
|
-
Summary: API to control Artus Family of Robots by Sarcomere Dynamics Inc
|
|
5
|
-
Home-page: https://sarcomeredynamics.com/home
|
|
6
|
-
Author: Sarcomere Dynamics Inc.
|
|
7
|
-
License: UNKNOWN
|
|
8
|
-
Platform: UNKNOWN
|
|
9
|
-
Requires-Python: >=3.10
|
|
10
|
-
|
|
11
|
-
UNKNOWN
|
|
12
|
-
|
ArtusAPI-1.3.8/PKG-INFO
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: ArtusAPI
|
|
3
|
-
Version: 1.3.8
|
|
4
|
-
Summary: API to control Artus Family of Robots by Sarcomere Dynamics Inc
|
|
5
|
-
Home-page: https://sarcomeredynamics.com/home
|
|
6
|
-
Author: Sarcomere Dynamics Inc.
|
|
7
|
-
License: UNKNOWN
|
|
8
|
-
Platform: UNKNOWN
|
|
9
|
-
Requires-Python: >=3.10
|
|
10
|
-
|
|
11
|
-
UNKNOWN
|
|
12
|
-
|
ArtusAPI-1.3.8/setup.py
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
from setuptools import setup, find_packages
|
|
2
|
-
|
|
3
|
-
setup(
|
|
4
|
-
name='ArtusAPI',
|
|
5
|
-
version='1.3.8',
|
|
6
|
-
description='API to control Artus Family of Robots by Sarcomere Dynamics Inc',
|
|
7
|
-
project_description='Python API to control Artus Family of Robots by Sarcomere Dynamics Inc',
|
|
8
|
-
# package_dir={'': '/'}, # tells setuptools that your packages are under src
|
|
9
|
-
packages=find_packages(exclude=['data*', 'examples*', 'tests*','venv*', 'urdf*', 'ros2*']),
|
|
10
|
-
author='Sarcomere Dynamics Inc.',
|
|
11
|
-
url='https://sarcomeredynamics.com/home',
|
|
12
|
-
install_requires=[
|
|
13
|
-
'psutil',
|
|
14
|
-
'pyserial',
|
|
15
|
-
'esptool',
|
|
16
|
-
'pyyaml',
|
|
17
|
-
'tqdm',
|
|
18
|
-
'requests'
|
|
19
|
-
],
|
|
20
|
-
python_requires='>=3.10',
|
|
21
|
-
entry_points={
|
|
22
|
-
'console_scripts': [
|
|
23
|
-
'artusapiflash = ArtusAPI.artus_api:main_flash',
|
|
24
|
-
'artusapimain = ArtusAPI.artus_api:main'
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
# packages=find_packages(where='/'),
|
|
28
|
-
# other setup configurations
|
|
29
|
-
)
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|