andyzeng / visual-pushing-grasping

Train robotic agents to learn to plan pushing and grasping actions for manipulation with deep reinforcement learning.
http://vpg.cs.princeton.edu/
BSD 2-Clause "Simplified" License
881 stars 314 forks source link

error: no match for call to ‘(rs2::colorizer) (rs2::depth_frame&)’ #19

Open wakaka821 opened 5 years ago

wakaka821 commented 5 years ago

Hi, thanks for your great work. Your work is very attractive. I tried to set up camera system and installed librealsense SDK 2.0, but I met a problem. The terminal dispalys as following picture.

2019-05-08 16-01-09屏幕截图

Could you please tell me what am I missing, thanks!

andyzeng commented 5 years ago

That version of colorizing depth images might have deprecated. Try replacing that line with the following: rs2::frame depth_colorized = aligned_depth.apply_filter(color_map);

wakaka821 commented 4 years ago

Thanks very much ! The problem solved !