| OS: Ubuntu 20.04 | Py: 3.8.10, downloaded via apt | Drake: 1.2.0, downloaded via apt | using venv | Running in PyCharm: |
Took the Deepnote Tutorial .ipynb "Chapter 2: Let's get you a robot" and tried running it in Jupyter Notebook (which doesn't work for me.) I then converting that file to .py (through Jupyter's File->Download As... screen) and tried running the file locally in pycharm in my env:
both times, it fails to find: "manipulation.meshcat_cpp_utils" and produces the "ModuleNotFoundError:"
I went into the pydrake file directory directly and I do not see anything by the name "meshcat_cpp_utils" in pydrake/manipulator and I'm wondering if this release no longer supports the tutorials, or if it's trying to import from the wrong folder.
Here's the code:
# Imports
import numpy as np
import pydot
from IPython.display import display, HTML, SVG
from pydrake.all import (
AddMultibodyPlantSceneGraph, DiagramBuilder,
FindResourceOrThrow, GenerateHtml, InverseDynamicsController,
MultibodyPlant, Parser, Simulator, MeshcatVisualizerCpp)
from manipulation import running_as_notebook
from manipulation.meshcat_cpp_utils import (
StartMeshcat, MeshcatJointSlidersThatPublish) ```
The
manipulation
module here is different from thepydrake/manipulation
module as far as I understand it. I believe the deepnote tutorial could use an update asStartMeshcat
andMeshcatJointSlidersThatPublish
should both already have their pydrake counterparts (under different names).