-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing modules #1
Comments
first one is smp_msgs.msg.reservoir quick fix is to git clone smp_msgs repository into your ros-workspace/src and run catkin cd ws-kinetic-py3/src
git clone [email protected]:x75/smp_msgs.git
cd ..
catkin_make_isolated install better but more effort is to replace the reservoir message with just FloatArray from std_msgs, didn't know back then. |
second one is you'll need Reservoir class from reservoirs.py, which has moved to smp_base and become smp_base.models_reservoirs. smp_base is available as well but you'd need to edit the imports. |
queued and WIP, will be back with fixes but may take a bit |
Thank you for your reply. I will work on this right now |
I have updated the import statements. But a new error comes up: ImportError for rlspy I assumed perhaps that I didn't have the jpype installed but I ran : sudo apt-get install python-jpype |
sorry for the mess and thx for patience, let me try and fix the packages deps today, be back when done sometime tonight. |
Appreciate the speedy reply. Many Thanks. |
are you on py2 or 3? |
I'm using py2 |
replaced offending imports, if you have smp_base in your PATH it might just work. lmk. |
I'm going to try it now. Thank you |
I would like to report that this error persists. I had updated the local repository I had originally pulled. The issue is in model_learners: line 794, in learnerReward The system recommendations were to install jpype but I already have that installed. |
Please explain what the @dec_compute_infth_soft() function does. |
ah seems i forgot about the second issue. you'll need jpype, infodynamics.jar from JIDT, and then create a config.py in from config.py.dist in smp_base/smp_base. the config has the path to the jar file. |
i'll fix along and push |
the smp_base/README should have some install info. if not, it needs to be fixed as well :) |
OK. Please let me know! |
it's actually a different issue, so i split that to #2 git pull in smp_base and see the README, it was missing a section for installing rlspy, jpype and jidt. it's a hassle but is necessary to have installed for utilizing actual smp_sphero model code. |
When I try to run your text files(sphero_raw.py or shpero_res_learner_1d.py, e.t.c...) I get the error message: No module named reservoirs
The text was updated successfully, but these errors were encountered: