IntelRealSense / realsense_samples_ros

Sample code illustrating how to develop ROS applications using the Intel® RealSense™ ZR300 camera for Object Library (OR), Person Library (PT), and Simultaneous Localization And Mapping (SLAM).
Apache License 2.0
126 stars 93 forks source link

Getting hold of position data #22

Open mirirjakys opened 6 years ago

mirirjakys commented 6 years ago

Hi,

I am a new user of RealSense through the Robotic Development Kit.

I have come across your packages, and have started running the demo demo_person_tracking.launch

I would like to get hold of the position data (x,y,z) of a person and then send this to a different software using UDP. Is it possible to do this with this packages?

Cheers, Marcos

mirirjakys commented 6 years ago

Hi, I have been able to subscribe to realsense_ros_person/Frame using Python, however, I cannot access to the data inside Frame, as it prints it as a list? Any hint?

Also, I have not been able to acces realsense_ros_person/User. Is it because there is not an implemented subscriber in the library?

@mattcurfman It will be great if you could point me in the right direction here.

Thanks in advance, Marcos