RussTedrake / manipulation

Course notes for MIT manipulation class
BSD 3-Clause "New" or "Revised" License
407 stars 119 forks source link

fix renderlabel import #250

Closed siilats closed 11 months ago

siilats commented 11 months ago

This change is Reviewable

RussTedrake commented 11 months ago

I think you must have an out-of-date version of Drake. This changed in the opposite direction about 5 months ago. https://github.com/RussTedrake/manipulation/commit/70c192fb5c25bd96ebd57ba7ddd768fb930e558d#diff-1dbaa0fa7b14a7d895b9b88345fd8ba47353c5af759edf4fcebd25c53d82ea2d

siilats commented 11 months ago

Hi thanks and sorry, I did "pip install drake" on mac arm m1 with python 10.

MacBook-Pro-3:manipulation keithsiilats$ pip show drake
Name: drake
Version: 1.12.0

What worked on a clean Python 11 was:

pip install     --extra-index-url https://drake-packages.csail.mit.edu/whl/nightly/     'drake==0.0.20230922'
pip install --upgrade pip
pip install scipy
pip install jupyter

Sorry for the junk pull request!

I have a Z1 robot arm from Unitree https://github.com/unitreerobotics/z1_ros

I created a package in Peter Corkes Robotic Toolbox https://github.com/petercorke/robotics-toolbox-python/pull/342

Now trying to do the same here. It's a nice cheap and light arm that can lift 5kg. Their sample code doesn't have any compliance soft touching, but it does output Tau at 500hz so I am using drake to make it simulate a spring.

RussTedrake commented 11 months ago

I see. The reason is that drake shifted to supporting only python 11 on mac. We're up to drake 1.21 now.