Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Demo/AHSimulation/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ requires-python = ">=3.12"
dependencies = [
"dora-rs>=0.3.11",
"loop-rate-limiters>=1.1.2",
"numpy<2",
"mink>=0.0.11",
"mujoco>=3.3.2",
"onshape-to-robot>=1.7.5",
Expand Down
2 changes: 1 addition & 1 deletion Demo/HandTracking/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "HandTracking"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.9,<=3.12"
requires-python = ">=3.9,<3.13"
dependencies = [
"dora-rs>=0.3.11",
"loop-rate-limiters>=1.1.2",
Expand Down
18 changes: 10 additions & 8 deletions Demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
- Install dora-rs: https://dora-rs.ai/docs/guides/Installation/installing
- start the daemon: `dora up`

- Clone this repository and in a console from the directory run:
- `uv venv --python 3.12`
- Clone this repository in to a folder, that dora has access to and in a console run:
- `cd AmazingHand/Demo/`
- `python3.12 -m venv ./venv`
- `source venv/bin/activate`
- To run the webcam hand tracking demo in simulation only:
- `dora build dataflow_tracking_simu.yml --uv` (needs to be done only once)
- `dora run dataflow_tracking_simu.yml --uv`
- `dora build dataflow_tracking_simu.yml` (needs to be done only once)
- `dora run dataflow_tracking_simu.yml`
- To run the webcam hand tracking demo with real hardware:
- `dora build dataflow_tracking_real.yml --uv` (needs to be done only once)
- `dora run dataflow_tracking_real.yml --uv`
- `dora build dataflow_tracking_real.yml` (needs to be done only once)
- `dora run dataflow_tracking_real.yml`
- To run a simple example to control the finger angles in simulation:
- `dora build dataflow_angle_simu.yml --uv` (needs to be done only once)
- `dora run dataflow_angle_simu.yml --uv`
- `dora build dataflow_angle_simu.yml` (needs to be done only once)
- `dora run dataflow_angle_simu.yml`


## Hand Setup
Expand Down
3 changes: 2 additions & 1 deletion Demo/dataflow_tracking_simu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ nodes:

- id: hand_simulation
build: pip install -e AHSimulation
path: AHSimulation/AHSimulation/mj_mink_right.py
path: venv/bin/mjpython
args: AHSimulation/AHSimulation/mj_mink_right.py
inputs:
hand_pos: hand_tracker/hand_pos
tick: dora/timer/millis/2
Expand Down