-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
lsd_slam_core and lsd_slam_viewer in Ubuntu 16.04 #222
Comments
Did u make any progress with this |
Not yet.. |
The issue is caused by a conflict between versions 4 and 5 of Qt. I fixed it by following this instructions. I did not uninstall Qt 5 nor did I manually compiled libQGLViewer. I just removed the symlinks to libQGLviewer.so.2.6.3 and created new ones that point to libQGLViewer-qt4.so.2.6.3. |
I also followed this as @martinarroyo except that i didn't setup the soft symlinks:
|
@blindnote your solution works for compilation, but when launching the viewer it is not working, nothing is shown on the window. |
@mbennehar is your issue the same with this? |
@blindnote yes it is the same error. I fixed it by removing some wait returns in one cpp file (sorry but I don't remember which one or which lines). This only fixed the pointcloud viewer. The window showing depth pixels never showed up. It should be noted that I'm using a catkin version of this package on Ubuntu 16.04 on ROS kinetic. On a virtual machine running Ubuntu 14.04 and ROS indigo, everything worked just fine. |
Same issue here... Any solutions? Cheers |
@jiapei100 |
I experienced the same issue (on a 16.04 LTS with kinetic) and solved it by following something similar to @martinarroyo . sudo apt remove libqglviewer-dev cd catkin_ws rosrun lsd_slam_viewer viewer |
someone solved this mistake: |
@jeremyfix @mbennehar Hi, friends. so desperate! rosmake LSD-slam, I had to change couple of lines in 326:from float x,y,z to double x,y,z 135:from float x,y,z to double x,y,z |
Maybe the Eigen3 version leads to this question, I have replaced my Eigen3.3 with Eigen3.2.9, after compile, its fixed. |
thanks for ur advice. However, when I input the first demand, bash says Package 'qt5-default' is not installed, so not removed. but I do find qt5 in PC. |
Hey,
I was able to compile lsd_slam on ubuntu 16.04 with ros-kinetic. However, while running lsd_slam_viewer I get following error:
The same issue can be seen here.
As, suggested in issue#33 -- my libqglviewer2 is already the newest version (2.6.3+dfsg1-1).
However, I think the
rosrun lsd_slam_core live_slam image:=/image_raw camera_info:=/camera_info
is running with following output:
There is nothing echoed from /lsd_slam/pose ..
There are no tfs published so that I can use them to view in rviz.
I am relatively new to using ROS -- is it possible to get the package running on 16.04 kinetic system?
I had to change couple of lines in
/lsd_slam_viewer/src/PointCloudViewer.cpp and /lsd_slam_viewer/src/PointCloudViewer.h
from float x,y,z to qreal x,y,z beforeqreal x,y,z;
camera()->frame()->getPosition(x,y,z);
function is called
to make the package compile sucessfully.
The text was updated successfully, but these errors were encountered: