In this short PR (should be merge after #16), I managed to make a good use of pip and poetry.
Structure
You can now install a python dora node inside your python env by doing pip install ./node-hub/dora-node
You can link an easy path inside the graph path: dora-node instead of path: ../../../node-hub/dora-node/main.py
I changed the package dora_lerobot to a common package
Code
I also had time to:
change the configuration procedure, it will now create a json configuration file that will be linked inside your graph, no need to set multiple env variables (JOINTS, MODELS, INITIAL_GOAL_POSITION etc...)
In the next PR i will probably change the way we work with logicial and physical positions of the servos. Dynamixel and Feetech are very different, it's not easy to make things servo agnostic but I think I managed to find a solution for the next PR
In this short PR (should be merge after #16), I managed to make a good use of pip and poetry.
Structure
pip install ./node-hub/dora-node
path: dora-node
instead ofpath: ../../../node-hub/dora-node/main.py
dora_lerobot
to acommon
packageCode
I also had time to:
In the next PR i will probably change the way we work with logicial and physical positions of the servos. Dynamixel and Feetech are very different, it's not easy to make things servo agnostic but I think I managed to find a solution for the next PR