Items with no label
3335 Discussions

Missing rs namespace in librealsense

Yaniv_S_Intel
Employee
2,381 Views

Hi all,

I'm working on a simple app of person tracking using R200 camera on Ubuntu 16.04 OS,

I downloaded the SDK for linux and librealsense from github.

I'm trying to create new instance of rs::device* cam;

It seems that the rs namespace is missing.

From reading the documentation I saw that there are 2 main namespaces:

1) Intel::Real_Sense

2) rs::person_tracking

I have the first namespace of Intel , but the second (rs) is missing.

Note: I have rs.h file in my include directory.

Please advice how can I create new device instance and use the rs:: namespace properly.

Thanks in advance,

Yaniv

5 Replies
idata
Employee
597 Views

Hi Yaniv,

 

 

Thank you for contacting us. We'd like to try and help you with this case. First, which SDK release are you using? We're asking because if you look at the release notes of the latest SDK (2016 R3) here: http://registrationcenter-download.intel.com/akdlm/irc_nas/9558/release_notes_RealSense_SDK_2016_R3.pdf you'll see that the person tracking feature on the R200 is only available in the previous SDK (2016 R2).

 

 

We'll be waiting for your response.

 

 

-Sergio A

 

0 Kudos
idata
Employee
597 Views

Hi Yaniv,

 

 

We've been further researching on your case and would like to propose another suggestion. Please take a look at the SDK for Linux samples in the directory: ~/realsense_samples. See more here https://github.com/IntelRealSense/realsense_samples .

 

 

-Sergio A

 

0 Kudos
idata
Employee
597 Views

Hi Yaniv,

 

 

Do you still need assistance with this case? We'll be waiting for your response.

 

 

-Sergio A

 

0 Kudos
Yaniv_S_Intel
Employee
597 Views

Hi,

After hard word and research on the environment setup I managed to get it working (Crossing my fingers...) and was able to compile the libraries from librealsense and SDK.

It seems that I needed to edit the compile & build configurations based on the given CMake files from the SDK samples.

After defining the paths to the libraries in the compile link section, the .h files were included properly.

See /message/465364?et=watches.email.outcome# 465364 https://communities.intel.com/message/465364?et=watches.email.outcome# 465364 for more info.

0 Kudos
MartyG
Honored Contributor III
597 Views

Glad you found a solution. Thanks for letting us know!

0 Kudos
Reply