lsd_slam | LSD-SLAM | Robotics library
kandi X-RAY | lsd_slam Summary
kandi X-RAY | lsd_slam Summary
LSD-SLAM
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lsd_slam
lsd_slam Key Features
lsd_slam Examples and Code Snippets
Community Discussions
Trending Discussions on lsd_slam
QUESTION
I'm trying to get the LSD-SLAM by Kevin George.
But I got stuck because openCV doesn't want to be cooperative and when using catkin_make
it doesn't know the following two things.
ANSWER
Answered 2019-Jul-16 at 08:55Don't mix the obsolete C api with the C++ api.
Use cv::Point
instead of cvPoint
, and cv::FONT_HERSHEY_SIMPLEX
instead of CV_FONT_HERSHEY_SIMPLEX
, e.g.:
QUESTION
I have cloned lsd_slam from github this link
in section 2.2 of the README file the auther wrote that ros required, so I followed the instruction as it mentioned there :
We do not use catkin, however fortunately old-fashioned CMake-builds
are still possible with ROS indigo. For this you need to create a rosbuild workspace (if you don't have one yet), using:
sudo apt-get install python-rosinstall
mkdir ~/rosbuild_ws
cd ~/rosbuild_ws
rosws init . /opt/ros/indigo
mkdir package_dir
rosws set ~/rosbuild_ws/package_dir -t .
echo "source ~/rosbuild_ws/setup.bash" >> ~/.bashrc
bash
cd package_dir
but when I reach at the stage of initializing, this error is what I face:
kave@kave-ThinkPad-X201:~/dev/rosbuild_ws$ rosws init . /opt/ros/indigo
Using ROS_ROOT: /opt/ros/indigo ERROR in config: Is not a local file, nor a valid URL [/opt/ros/indigo] : unknown url type: /opt/ros/indigo
I dont know how to solve the problem.
...ANSWER
Answered 2018-Sep-05 at 09:16QUESTION
For an augmented reality application I am using some slam algorithm to predict the current orientation of my mobile phone.
The algorithm (LSD-Slam) supplies the current pose in form of a SE3 lie group (using Sophus::Sim3f). If I got this right, this type contains a matrix which can be interpreted as the Viewmatrix of a Camera. After initialisation, e.g. the matrix looks like this:
...ANSWER
Answered 2017-Feb-01 at 08:20If the pose you get from the library corresponds to the OpenGL view matrix, you should be able to pass it directly to the osg Camera as you mention.
However, keep in mind that OSG adopts a row-major matrix convention (see for example this post) hence you might need to switch row/columns in your matrix.
If that doesn't work, I suggest you to make sure about the pose conventions used by Sophus (which rotations with respect to which rest position in world coords) and recreate the same transformation is osg from scratch.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lsd_slam
We tested LSD-SLAM on two different system configurations, using Ubuntu 12.04 (Precise) and ROS fuerte, or Ubuntu 14.04 (trusty) and ROS indigo. Note that building without ROS is not supported, however ROS is only used for input and output, facilitating easy portability to other platforms.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page