Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
878 Views

About the DepthCamera.hh file...

Hi guys,

I am trying to do the collision avoidance example.

Can i ask you where i can get this file from (i.e. from what build or module) ?? is this file essentially for the Intel RealSense DepthCamera ??

Thanks,

Have a nice day,

 

TH
0 Kudos
7 Replies
Highlighted
Novice
22 Views

Hi,

I forgot to mention that I am working with the Intel Aero RTF.

Thanks,

 

Have a nice day,

 

TH
0 Kudos
Highlighted
Community Manager
22 Views

Hello th_Intel_Community,

 

 

Thank you for your interest in the Intel® Aero Ready to Fly Drone.

 

 

I personally have not used the Collision/Obstacle Avoidance library, I'm aware that it was included after BSP release version v1.4 and the information related to deploying it on the Intel Aero is found here https://github.com/01org/collision-avoidance-library# deploying-on-intel-aero.

 

 

It seems that the DepthCamera.hh file (used to render depth data into an image buffer) is associated with Gazebo ( https://osrf-distributions.s3.amazonaws.com/gazebo/api/dev/DepthCamera_8hh.html), which according to https://github.com/01org/collision-avoidance-library is one of the requirements.

 

 

Have you gone through the Build and Install section? Which of the suggested methods did you tried?

 

 

I'll be waiting for your response.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
0 Kudos
Highlighted
Community Manager
22 Views

Hello th_Intel_Community,

 

 

I was wondering if you had any update regarding the Collision Avoidance inquiry.

 

 

If you have any update or question, don't hesitate to contact us.

 

 

Regards,

 

Andres V.
0 Kudos
Highlighted
Novice
22 Views

Hi Andres,

I do have some updates for today:

1. I followed the instructions on this website: https://github.com/intel/collision-avoidance-library/wiki/Quickstart Quickstart · intel/collision-avoidance-library Wiki · GitHub , under "Install Gazebo" section.

2. I successfully installed Gazebo 9.0.1 using the following command: hg clone https://bitbucket.org/osrf/gazebo

3. I successfully installed gazebo-sitl from this website: https://github.com/01org/gazebo-sitl GitHub - 01org/gazebo-sitl .

4. I successfully installed gazebo-realsense from this website: https://github.com/intel/gazebo-realsense GitHub - intel/gazebo-realsense .

Basically, the "DepthCamera.hh file" issue has been resolved.

However, I got into trouble with the "sdf.hh" file. Do you know where i can get this file from ?? what build and what module ??

Thanks,

 

Have a nice day,

TH

0 Kudos
Highlighted
Community Manager
22 Views

Hello TH,

 

 

I am glad to hear that you successfully installed the corresponding file.

 

 

The sdf.hh file ( https://github.com/thomas-moulard/gazebo-deb/blob/master/gazebo/sdf/sdf.hh) is also associated with Gazebo. I'd suggest you to post your inquiry in their forum in order to get the adequate assistance http://answers.gazebosim.org/questions/, because the installation of those specific files is out of the scope of this technical support team.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
0 Kudos
Highlighted
Novice
22 Views

Hi Andres,

I will try to ask questions on the forum(s) you suggested.

In the meantime, I am just curious if you know any equivalent collision-avoidance library you would recommend as an alternative.

Because I want to have the drone control itself using the input from its sensor in order to navigate around the house or so.

Is it possible for me to build and develop an application that way ?? what sdk and/or api should I look into ??

Thanks,

Have a nice day,

TH

0 Kudos
Highlighted
Community Manager
22 Views

Hello TH,

 

 

I am not aware of other collision avoidance libraries that have been built (or adapted) with the Aero Ready to Fly in mind. Those libraries usually take into account the type of sensors present in the drone.

 

 

This kind of libraries are developed in the same manner as other libraries, if you are interested in knowing more about library development under Linux, you may want to check this links as an introduction to the subject:

 

 

http://www.techytalk.info/c-cplusplus-library-programming-on-linux-part-one-static-libraries/

 

http://www.techytalk.info/c-cplusplus-library-programming-on-linux-part-two-dynamic-libraries/

 

http://www.techytalk.info/c-cplusplus-library-programming-on-linux-part-three-dynamic-libraries-usin...

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
0 Kudos