alejocb / dpptam

DPPTAM: Dense Piecewise Planar Tracking and Mapping from a Monocular Sequence
GNU General Public License v3.0
219 stars 82 forks source link

dpptam/map not being published #36

Closed rnunziata closed 7 years ago

rnunziata commented 7 years ago

dpptam/map is not being published when i use my webcam via usb_cam. The only difference is in the header from what I can see...since running the bag file works in the example. Here are the differences. There are no error messages. Node graph looks ok. Any idea on what is going on....the marker and other topics are ok...just the point clouds are not published.

Bag file image.

header: 
  seq: 447
  stamp: 
    secs: 1426957734
    nsecs: 606139044
  frame_id: /camera_rgb_optical_frame
height: 480
width: 640
encoding: bgr8
is_bigendian: 0
step: 1920

usb_cam image

header: 
  seq: 577
  stamp: 
    secs: 1504412453
    nsecs: 846092342
  frame_id: /camera_rgb_optical_frame
height: 480
width: 640
encoding: rgb8
is_bigendian: 0
step: 1920
rnunziata commented 7 years ago

I published using cv_camera with allows me to specify the mode...now the message heard are identical but I still do not get a pointclould when using the usb cam....but it works with the bag file......?

rnunziata commented 7 years ago

I am beginning to think there is something not right about the webcam...its a logitech. though it works with other ros pkgs such as ptam....

rnunziata commented 7 years ago

fixed....was a webcam issue: had to use //opt/ros/kinetic/lib/libuvc_camera/camera_node .