rpc icon indicating copy to clipboard operation
rpc copied to clipboard

Issue on DracoDataManager.py for meshcat visualization

Open shbang91 opened this issue 1 year ago • 1 comments

To use the meshcat visualization tool for a real-time visualization/experiment replay, pinocchio library needs to be installed in a conda environment through conda-forge. This could prevent rebuilding the controller using CMake, due to the libboost_python${VERSION}.so discrepancy between the c++ and python versions of pinocchio library.

A hacky solution is first building a c++ library and then installing the python version of pinocchio in a conda environment.

If you need to rebuild the c++ library, then erase the current conda environment and recreate the environment.

shbang91 avatar Jan 24 '23 03:01 shbang91

One possible solution is to create another virtual environment for the python version of pinocchio. Then, if you want to visualize a robot using meshcat, just executing the DracoDataManager.py script would be enough.

shbang91 avatar Jan 27 '23 00:01 shbang91