Onboard-SDK-ROS icon indicating copy to clipboard operation
Onboard-SDK-ROS copied to clipboard

fatal error: dji_vehicle.hpp: no such file or directory

Open user651 opened this issue 4 years ago • 5 comments

I cloned the current master version of the repository and followed the instructions to build the osdk. When executing sudo make -j 4 install i get the following error message: fatal error: dji_vehicle.hpp: no such file or directory. Is there any hint on what may be wrong? I also appended the full log ros_make.log

thank you in advance

user651 avatar Mar 18 '21 17:03 user651

Agent comment from kyle.cai in Zendesk ticket #45192:

Dear developer ,

Thank you for contacting DJI.

OSDK ROS based on the OSDK linux ,so you should install the OSDK lib. Please refer to the website: https://developer.dji.com/document/e34c3fc4-dc0e-4cbf-b7c0-589b6e941a01

Thank you for your understanding and support, hope you have a nice day.

Best Regards, DJI SDK Support Team
inline233156685.png

dji-dev avatar Mar 19 '21 03:03 dji-dev

Hi must the OSDK folder be placed inside the src folder inside catkin_ws ??

ykn96 avatar Jan 07 '22 06:01 ykn96

Yes It can be placed their

abdouakhad avatar Aug 16 '22 12:08 abdouakhad

I'm having the same issue. This you solve this by placing the Onboard-SDK next to Onboard-SDK-ROS like this:

catkin_ws
├── build
├── devel
├── logs
└── src
    ├── Onboard-SDK
    └── Onboard-SDK-ROS

Even so it doesn't find dji_vehicle.hpp. Any further help will be appreciated.

ricardohalfeld avatar Feb 27 '24 18:02 ricardohalfeld

I realized using the raspberry-pi support branch is what makes the dji_vehicle.* go away. Changing to the latest release branch brings them back, but causes issues with ffmpeg.

ricardohalfeld avatar Mar 01 '24 13:03 ricardohalfeld