unofficial myCobot Package
Now you can move a digital robot and an actual machine in real time! With 6 axes, you can use Rhino+Grasshopper to link any object with urdf and an actual machine.
rhino-mycobot.mp4
item | |
---|---|
OS | Windows10 |
Arm Robot | myCobot |
CAD | Rhinoceros7 |
python | Anaconda3.8 |
Open the command prompt
-
Install pymycobot. See how to install it. https://github.com/elephantrobotics/pymycobot (AtomMain2.5 + pymycobot v2.2.0, or AtomMain2.4 + pymycobot v2.1.2)
Check karaage's zenn book for a more detailed explanation.(in Japanese)
-
Install COMPAS packages.(This package is made by ETHZ)
The recommended way to install COMPAS is with conda. For example, create an environment named research and install COMPAS.
conda config --add channels conda-forge conda create -n research python=3.8 COMPAS
You could provide a Rhino version number (6.0, 7.0). The default is 6.0. To make COMPAS FAB available inside Rhino and type the following:
conda activate research python -m compas_rhino.install -v 7.0 conda deactivate
-
Install COMPAS FAB.(This package is made by ETHZ)
The recommended way to install COMPAS FAB is with conda. For example, install COMPAS FAB in environment named research.
conda install -n research python=3.8 compas_fab
To make COMPAS FAB available inside Rhino and type the following:
conda activate research python -m compas_rhino.install -p compas_fab -v 7.0
If you have a mycobot, connect myCobot and PC with USB-C cable. If you don't, please ignore this.
- Download mycobot_artist_grasshopper.ghx and mycobot to any folder.
- Start rhinoceros, grasshopper, and open mycobot_artist_grasshopper.ghx
- Click 'Load' button, so you can see the model of mycobot.
If you have a mycobot, make mycobot component enable. So, the mycobot will move!
Gramazio Kohler Research for grasshopper model
Tiryoh for urdf file