Closed Ab-Tx closed 3 months ago
I suspect that this is some issue with the particular scipy or numpy version that you use (searching the error message shows that other people also had similar issues with some versions). Because I can't reproduce this in a fresh virtual environment with numpy==1.24.4
and scipy==1.10.1
.
Which versions does pip freeze | grep -e scipy -e numpy
show for you?
It shows:
$ pip freeze | grep -e scipy -e numpy
numpy==1.24.4
scipy==1.3.3
Edit: I'll attempt to update spicy and report back later.
After updating spicy
pip3 install scipy==1.10.0
I no longer have the error. Seems pip won't install the latest version of spicy when using "pip install spicy --upgrade".
Right now, evo_traj outputs an error claiming the message type is not supported. Is this expected? Console out:
$ evo_traj bag 2024-03-19-16-02-52.bag /path
[ERROR] unsupported message type: nav_msgs/msg/Path
pip won't install the latest version of spicy when using
pip install spicy --upgrade
"spicy" means something different :hot_pepper: ... what happens if you use scipy?
(looks like spicy is some sort of joke package that just lists scipy as dependency, but this won't upgrade scipy)
[ERROR] unsupported message type: nav_msgs/msg/Path
As the message said, Path messages are not supported. And this probably won't change in the API/CLI, because Path topics have characteristics that would be a bit ugly to handle here (in a generalized way):
The command "spicy" by itself does nothing:
$ Python3 spicy
Command 'Python3' not found, did you mean:
command 'cython3' from deb cython3 (0.29.14-0.1ubuntu3)
command 'python3' from deb python3 (3.8.2-0ubuntu2)
Try: sudo apt install <deb name>
$ python3 spicy
python3: can't open file 'spicy': [Errno 2] No such file or directory
if the path topic contains more than one Path message, this means that there will be multiple trajectories to choose from
I'll attempt to republish the information I need in a geometry_msgs/PoseStamped message using a ros node and use that with evo. Thank you for the help.
Hi,
Description: Evo crashes when attempting to use evo_traj from a ROS bag file. I am using evo from the terminal, no virtual environment.
Command:
Console output:
Config:
(Archived ROS bag file) 2024-03-19-16-02-52.bag.zip