modified from MaskFusion
get the 3d-information (bounding cube[xyz, lwh]) try to get once:
rostopic echo -n 1 /maskfusion/lwh_xyz
According to your needs, reading the readme file to download and compile the dependencies, and finally compiling your maskfusion.
I modified the maincontroller.cpp and Cmakelist.txt in the gui folder to make it support ros topic. (embedded catkin_make into cmake)
but it still have some problems (segmentation fault, image of kinect and fetch has none value in real world, but virtual world)