dji-sdk / Onboard-SDK-ROS

Official ROS packages for DJI onboard SDK.
436 stars 308 forks source link

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

Open user651 opened 3 years ago

user651 commented 3 years ago

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

dji-dev commented 3 years ago

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

fatbringer commented 2 years ago

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

abdouakhad commented 1 year ago

Yes It can be placed their

ricardohalfeld commented 4 months ago

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 commented 4 months ago

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.