Open lscarton opened 6 months ago
I think the main thing is to get it working, and improvements can be made later
@sthoduka I am thinking of two setting config methods:
kv->config_rgb_camera();
kv->config_depth_camera();
and 3 getting methods:
kv->get_depth_image(depth_img);
kv->get_color_image(img);
please try the main in the working branch and let me know if it is similar to what you had in mind.
I do not see any use in the code of the information about the camera calibration beside width
,height
and camera_type
.
It also seems to me that they operate either color
or depth
but not both simultaneuosly. is it there a possible limitation in the hw/sw?
I am thinking of two setting config methods:
What would these methods do? I'll add some more comments in the PR
I do not see any use in the code of the information about the camera calibration beside width,height and camera_type.
Camera calibration will be useful later for pointcloud generation. And in general, people might need it for other tasks.
It also seems to me that they operate either color or depth but not both simultaneuosly. is it there a possible limitation in the hw/sw?
I don't think it's a hardware limitation; maybe separate ROS nodes were used for RGB and depth to simplify usage (e.g. launch only the RGB node, and use a separate gstreamer pipeline for each).
If we're getting both RGB and depth streams simultaneously, the gstreamer pipeline should have two sources and two sinks (from what I understand based on this)
@sthoduka
img
anddeepth_img
passed by reference or by pointer?kv
(by constructor of by set_parameter function?)Maybe the
json parser
should be outsideKinovaVision
so they are loosely cuppled, and play together in themain