ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
Am trying to do the same thing but struggling to get data from kinect. Since it is question regarding same topic..I did not creating a new post. Here is what am doing, if you see something missing please let me know:
In terminal:
roslaunch openni_launch openi.launch
In Matlab:
node = rosmatlab.node('NODE',master_uri)
subscriber = rosmatlab.subscriber('/camera/rgb/image_rect','sensor_msgs/Image',10,node);
imgMsg = rosmatlab.message('sensor_msgs/Image',node);
It can be seen with rostopic info that NODE is subscribed to topic /camera/rb/image_rect but imgMsg.getData() is always zero.
Could you please tell if am missing any steps.
Thanks..:)
2 | No.2 Revision |
Hi,
Am trying to do the same thing but struggling to get data from kinect. Since it is question regarding same topic..I did not creating create a new post. Here is what am doing, if you see something missing please let me know:
In terminal:
roslaunch openni_launch openi.launch
In Matlab:
node = rosmatlab.node('NODE',master_uri)
subscriber = rosmatlab.subscriber('/camera/rgb/image_rect','sensor_msgs/Image',10,node);
imgMsg = rosmatlab.message('sensor_msgs/Image',node);
It can be seen with rostopic info that NODE is subscribed to topic /camera/rb/image_rect but imgMsg.getData() is always zero.
Could you please tell if am missing any steps.
Thanks..:)
3 | No.3 Revision |
Hi,
Am trying to do the same thing but struggling to get data from kinect. Since it is question regarding same topic..I did not create a new post. Here is what am doing, if you see something missing please let me know:
In terminal: terminal (using ros-groovy):
roslaunch openni_launch openi.launch
In Matlab:
node = rosmatlab.node('NODE',master_uri)
subscriber = rosmatlab.subscriber('/camera/rgb/image_rect','sensor_msgs/Image',10,node);
imgMsg = rosmatlab.message('sensor_msgs/Image',node);
It can be seen with rostopic info that NODE is subscribed to topic /camera/rb/image_rect but imgMsg.getData() is always zero.
Could you please tell if am missing any steps.
Thanks..:)