Closed amitfishy closed 6 years ago
Hi,
Which version of Ubuntu/ROS are you using?
I am using Ubuntu 16 with ROS Kinetic.
Thanks, Amit
I really don't know what's going on because I installed it in another computer and it works. The reason could be that ros is not loading the python library that corresponds to the python version.
Actually it is not working in the Python environment itself when I try a:
>>> import visual
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named visual
Could you please tell me how you installed the python visual library? I'm not able to find documentation on it for some reason.
Thanks, Amit
I installed Anaconda that comes with VPython
Apparently, it is not possible to use VPython with ROS because it only runs on the jupyter notebook... and I don't know how to fix the error that you are having. On the other hand, the IMU orientation can be easily visualized by broadcasting its transformation and displaying it on RViz.
Thanks for the help, I did try installing VPython and then trying the import but it didn't really recognize it, I guess RViz is just good enough then.
you can check this out , this is an updated version using visual python and ROS in anaconda.also the export file of the environment and guide to run is included. https://github.com/AhmedAbdlhamid/IMU_Razor9DOF
Hi
I try running
And the publishing works just fine, I can see the published topic /imu.
The problem is in the visualization. I get the following error:
The visualization portion doesn't work. On looking into it further, I get the error in the python shell when I try to import the visual module:
Any alternate suggestions on visualization? Something like rviz or anything.
Thanks