Skip to content
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

Rviz Issues in Coda environment + Fix #17

Open
atxharoon opened this issue Oct 26, 2023 · 1 comment
Open

Rviz Issues in Coda environment + Fix #17

atxharoon opened this issue Oct 26, 2023 · 1 comment

Comments

@atxharoon
Copy link

In the coda environment, when I was trying to start RVIZ to visualize a sequence, I was getting the following error:

[ERROR] [1698336052.300418480]: InternalErrorException: Could not load dynamic library /home/haroon/anaconda3/envs/coda/lib/OGRE/RenderSystem_GL. System Error: /home/haroon/anaconda3/envs/coda/lib/OGRE/RenderSystem_GL.so.1.10.12: cannot open shared object file: No such file or directory in DynLib::load at /home/conda/feedstock_root/build_artifacts/ogre_1573024423694/work/OgreMain/src/OgreDynLib.cpp (line 111) terminate called after throwing an instance of 'Ogre::InternalErrorException' what(): InternalErrorException: Could not load dynamic library /home/haroon/anaconda3/envs/coda/lib/OGRE/RenderSystem_GL. System Error: /home/haroon/anaconda3/envs/coda/lib/OGRE/RenderSystem_GL.so.1.10.12: cannot open shared object file: No such file or directory in DynLib::load at /home/conda/feedstock_root/build_artifacts/ogre_1573024423694/work/OgreMain/src/OgreDynLib.cpp (line 111) Aborted (core dumped)

I am running Ubuntu 20.04.

The FIX for this issue was to create a new environment with the following command:

mamba create -n robostackenv ros-noetic-desktop python=3.9 -c robostack-staging -c conda-forge --no-channel-priority --override-channels

(I downloaded: https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh and ran bash Mambaforge-Linux-x86_64.sh to install mamba)

Next, I activated the robostackenv using mamba activate robostackenv

Once the robostackenv was active, I used pip install to install any missing packages needed to run python scripts/vis_annos_rviz.py -s 0 -f 0 -c classId

This sequence of steps was enough to make Rviz work for visualization.

@joydeep-b
Copy link
Member

Thanks @atxharoon can you please create a PR for the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants