Git Product home page Git Product logo

Comments (10)

Irenedvs avatar Irenedvs commented on August 14, 2024 5

I made the following code changes for the lsd_viewer to display the point cloud .It also solved the Qt issue I was facing. The issue was found to be in the ImageDisplay_OpenCV.cpp file , including the details of the code change I made.
File : lsd_slam/lsd_slam_core/src/IOWrapper/OpenCV/ImageDisplay_OpenCV.cpp
Made changes on line 119 and 125
Changed : return cv::waitKey(milliseconds); to return 1;
A catkin_make later your good to go

image

from lsd_slam.

kevin-george avatar kevin-george commented on August 14, 2024

Hello, I haven't played around with the Viewer yet. I have been using it primarily to track the pose.
The viewer grays out for me as well :(

from lsd_slam.

jsYangCode avatar jsYangCode commented on August 14, 2024

@kevin-george hello, i installed lsd-slam follow your instruction. but i can not use it as expect. i can not run the WIKI/Usage as follow. may you explain it? thank u. i also can not run the LSD_room.bag. may you give me some advice? thank u again!!!!
2018-01-21 11-31-57

Uploading 2018-01-21 11-31 2018-01-21 11-31-37 -37屏幕截图.png…

from lsd_slam.

jsYangCode avatar jsYangCode commented on August 14, 2024

@kevin-george I have use (roslaunch usb_cam usb_cam-test.launch) to run a node that publishs images on the topic usb_cam.(use the camera on my PC)

PARAMETERS

  • /image_view/autosize: True
  • /rosdistro: kinetic
  • /rosversion: 1.12.12
  • /usb_cam/camera_frame_id: usb_cam
  • /usb_cam/image_height: 480
  • /usb_cam/image_width: 640
  • /usb_cam/io_method: mmap
  • /usb_cam/pixel_format: yuyv
  • /usb_cam/video_device: /dev/video0

NODES
/
image_view (image_view/image_view)
usb_cam (usb_cam/usb_cam_node)

from lsd_slam.

kevin-george avatar kevin-george commented on August 14, 2024

@Young532042725 Have you tried viewing the topic /lsd_slam/pose ?

from lsd_slam.

jsYangCode avatar jsYangCode commented on August 14, 2024

@kevin-george hello,How to viewing the topic /lsd_slam/pose ? (rostopic list?) What does this mean(Run a cv_camera node. You will need to clone and build the cv_camera ROS package to use this/rosrun cv_camera cv_camera_node /cv_camera/image_raw:=/camera/image_raw)? Does it can use camera on my PC? Dear, Friend, please give me a hand! what is your E-mail?

from lsd_slam.

kevin-george avatar kevin-george commented on August 14, 2024

You would use the command rostopic echo /lsd_slam/pose
Please go through a ROS tutorial before you proceed. It will be difficult for you to navigate the SLAM landscape if you want to use ROS packages without any familiarity :)

from lsd_slam.

kevin-george avatar kevin-george commented on August 14, 2024

Hey @Irenedvs , Can you create a PR with this change? That way I can credit you for fixing this :)

from lsd_slam.

Irenedvs avatar Irenedvs commented on August 14, 2024

made the PR @kevin-george :)

from lsd_slam.

EnriqueSolarte avatar EnriqueSolarte commented on August 14, 2024

I made the following code changes for the lsd_viewer to display the point cloud .It also solved the Qt issue I was facing. The issue was found to be in the ImageDisplay_OpenCV.cpp file , including the details of the code change I made.
File : lsd_slam/lsd_slam_core/src/IOWrapper/OpenCV/ImageDisplay_OpenCV.cpp
Made changes on line 119 and 125
Changed : return cv::waitKey(milliseconds); to return 1;
A catkin_make later your good to go

image

The changing in the witting function has solved my problem. Thank you so much

from lsd_slam.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.