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

elastic fusion issues with lcmlog #48

Open
sunit1409 opened this issue Feb 14, 2019 · 10 comments
Open

elastic fusion issues with lcmlog #48

sunit1409 opened this issue Feb 14, 2019 · 10 comments

Comments

@sunit1409
Copy link

I am trying to install the software from scratch but when I pass the lcmlog to the elastic fusion as required in run_prep it throws a seg fault. elastic fusion by defaults looks for .klg files. Is it because of that, is there any modification in the elastic fusion that you are using.

@manuelli
Copy link
Collaborator

Hi Sunit,

Are you using the software via docker? If so we use a custom branch of ElasticFusion that has an LCM reader. It is built as part of the docker image, see here. The branch is this. It should read .lcm files. You might just want to check inside your docker image and make sure that ElasticFusion is pointing the correct branch.

@sunit1409
Copy link
Author

No not the docker inage. On using the docker image I get the following error.
root@3c0556edc37a:~/ElasticFusion/GUI/build# ./ElasticFusion -l /root/labelfusion/data/trimmed_log.lcmlog -f
rewind is: 0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X11 Error: BadMatch (invalid parameter attributes)
X11 Error: BadValue (integer parameter out of range for operation)
terminate called after throwing an instance of 'std::runtime_error'
what(): Pangolin X11: Failed to create an OpenGL context
Aborted (core dumped)

on doing docker build I get the following error.

CMake Error at cmake/externals.cmake:334 (message):
Director requires VTK version 6.2 or greater. System has VTK version
5.10.1
Call Stack (most recent call first):
CMakeLists.txt:27 (include)

-- Configuring incomplete, errors occurred!
See also "/root/director-build/CMakeFiles/CMakeOutput.log".
See also "/root/director-build/CMakeFiles/CMakeError.log".
The command '/bin/sh -c /tmp/compile_all.sh' returned a non-zero code: 1

@manuelli
Copy link
Collaborator

Ok so our software is really only designed to work inside the docker image. That being said if you want to get it working without docker looking at the dockerfile is a good place to start.

I will look into the docker_build issues you are having. Those should be fixed by updating VTK inside the container. With regards tot eh OpenGL context are you running with nvidia-docker? You will need an Nvidia GPU.

@sunit1409
Copy link
Author

Actually I had installed nvidia-docker 2 in my system and I am using nvidia 1080Ti.

@khmariem
Copy link

@sunit1409 I think it will work if you downgrade to nvidia-docker 1.

@ianchen-tw
Copy link
Contributor

@sunit1409

This version of labelfusion have been upgraded to nvidia-docker2
#40

The docker image is provided here, you might want to check it out:
https://hub.docker.com/repository/docker/ianre657/labelfusion

@zx19950617
Copy link

@ianre657 Hi, ian! Thanks a lot for your contributions to the upgraded labelfusion. I used your version of labelfusion, but encountered one problem when running the command "run_prep", shown as follows:

roor@3ca7af96544d:~/labelfusion/data/logs/sampleTest# run_prep
Running pre-processing stage...
rewind is: 0
error: XDG_RUNTIME_DIR not set in the environment.

Then, no any GUI. Could you give me some advice about how to solve above problem, please?
Once again, thanks a lot for your any help.

@ianchen-tw
Copy link
Contributor

@MrLuer
Copy link

MrLuer commented Jan 9, 2020

@sunit1409

This version of labelfusion have been upgraded to nvidia-docker2
autowarefoundation/autoware#40

The docker image is provided here, you might want to check it out:
https://hub.docker.com/repository/docker/ianre657/labelfusion

@ianre657
hi, thank for your branch of realsense https://github.com/ianre657/LabelFusion
I followed the README instruction,but failed to record data from realsense D435,No window is displayed when recording data,is this normal??I thought images captured by camera should be displayed,but it not happened;the lcmlog* file sometimes always 0 KB sometimes not. so I have no idea what to do

@xerifg
Copy link

xerifg commented May 8, 2021

@ianre657 Hi, ian! Thanks a lot for your contributions to the upgraded labelfusion. I used your version of labelfusion, but encountered one problem when running the command "run_prep", shown as follows:

roor@3ca7af96544d:~/labelfusion/data/logs/sampleTest# run_prep
Running pre-processing stage...
rewind is: 0
error: XDG_RUNTIME_DIR not set in the environment.

Then, no any GUI. Could you give me some advice about how to solve above problem, please?
Once again, thanks a lot for your any help.

l also had the same problem.could you tell me how you solved it?thank you so much

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

7 participants