Closed stevenjj closed 3 years ago
Hello, I agree that we are installing redundant dependencies from Dart.
Currently, all the dependencies listed on the README.md
are required and not optional for the sake of the hardware experiment.
I wonder how you ran the atlas example without other dependencies l(ZMQ or Protobuf) installed.
Were you able to compile the code without other dependencies installed?
Ah I see. I think ZMQ and Protobuf was previously installed in my machine for other projects. That's probably why it still worked.
Hmm. I suppose in some sense I'm trying to get the simplicity of the PyPnC to also work with the C++ PnC. For example, it was very nice to run the WBLC code with minimum dependencies: https://github.com/dhkim0821/IJRR_WBLC
But from a fresh install, it seems that the install instructions are pretty good.
I'm closing this for now.
One possible solution is to differentiate core dependencies (e.g., dart, anaconda for pybind and pybullet) from the optional dependencies (e.g., zmq, protobuf, plotjuggler << these are for online plotting, data streaming and so on..).
Based on the flag set in CMakeLists.txt
, I can make it compile the minimal (or core) parts in the library.
This will let people run example more easier.
Thanks for the suggestion and I will try to make it in near future!
@junhyeokahn I was wondering if we can provide a more lean (easier) approach to compiling the code and make everything else optional? The documentation implies that everything needs to be installed for PnC to work. Which is not the case.
Essentially, the C++ example only needs dart to run the code.
But when installing dart using the install script install_dart.sh , it's strange to install
liboctomap-dev
which we don't even use.From the official dart install instructions, we can instead reduce the dependencies to the core requirements:
After dart, it seems that the CMakeLists makes pybind11 a hard requirement along with other python dependencies.
I do like the anaconda approach since the repo with python dependencies will be self contained
For the atlas walking, this was the simplest set of install instructions
Now we can run the atlas example:
Press spacebar to start the sim. Press WASDEQX keys to get the robot walking around.
But, this is not enough to get the example python simulator working.
since it complains about the draco_interface not being available. It's not clear to me how to debug this one.