-
Notifications
You must be signed in to change notification settings - Fork 7
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
Issues runing TFD with plansys2 #7
Comments
Hi @RicardoM17
Let me know if this works for you. I have just checked it on my computer. Best |
Thanks @fmrico ! That It seems that I have everything setup correctly but I believe I have some issue with the Python version, as when I
I already tried changing all the print statements in that file but it keeps getting other errors. I'll try to debug it in the meantime but if you have the right command or a more specific idea of what this might be let me know :) Edit: Changing the system default Python version to 2.7 worked, but if you have a better way I'm all ears :) |
Hi @RicardoM17 I have the same line, and it is working with Python 3.8.10 😕 |
which line are you reffering to? |
This: |
got the same issue with 3.8.10, translate does not run |
One possible workaround is to install python27 and be sure TFD uses that version of python. |
I don' like this fix 🤔 , but maybe is the more realistic. Maybe we should fix TFD in its repo |
I don't like it either. I've tried to convert TFD to Python3 but so far I've failed. I might retry now that I've more time. |
@fmrico @edhage @RicardoM17 |
Excellent!! I hope to have time to test this soon! |
Hi @fmrico
I'm having some issues getting TFD to work with plansys2, for example with the BT example explained here.
I cloned this repository alonside the popf folder, i.e. inside ROS2 Planning System repo, contrary to what is indicated in the Build and Install instructions on the webpage as it seems that is what is supposed to be done and it gives an error otherwise but I'm not 100% sure. I also need to checkout this branch in order to compile it (which it does so sucessfully) #6
I then edited the
PlannerNode.cpp
file to load the TFD instead of POPF but without any luck, as when I call theget plan
via theplansys2 terminal
I get quite a few errors regarding missing files. It compiles and the solver is loaded sucessfully at start but not when I use theget plan
.I believe I installed TFD correctly but steps 1 and 2 of the README don't work in a first try so I installed it on a different folder. There are also some error messages but it finishes the process.
@fmrico Can you please provide me with the instructions on how to integrate TFD with plansys2 and if I am doing something incorrectly? I can then try to find the time to update the docs and/or code on that regard and it would be helpful for my end as well.
For the record I'm using Ubuntu 20.04 LTS with ROS2 Galactic.
The text was updated successfully, but these errors were encountered: