I’m trying to set up a ROS install using the instructions found here:
http://developer.dji.com/onboard-sdk/documentation/sample-doc/sample-setup.html#ros-oes
Specifically I am happy and things install and make successfully until I reach step 4:
Building the ROS Nodes
4. If you don't have a catkin workspace, create one as follows:
mkdir catkin_ws
cd catkin_ws
mkdir src
cd src
catkin_init_workspace
Where does this catkin_ws go? In the previous step we are in ~MyUser/Onboard-SDK/build/ but this doesn’t seem to be the right location to install the catkin_ws? As of now I’ve attempted an install the catkin_ws inside the build folder of ~MyUser/Onboard-SDK/build/catkin_ws which gave an error after step 6:
6. Build the dji_sdk ROS package and the dji_sdk_demo ROS package.
cd ..
catkin_make
Error:
"/home/sixarms/Onboard-SDK/build/catkin_ws/src/Onboard-SDK-
ROS/dji_sdk/include/dji_sdk/dji_sdk_node.h:17:19: fatal error: tf/tf.h:
No such file or directory”
I then deleted everything inside MyUser/ folder and started again, this time I made a catkin_ws in the same folder as the OnBoard-SDK (i.e. ~MyUser/catkin_with with MyUser/OnBoard-SDK in the same folder) and I still get a fatal error on step 6, exactly the same. Can not find tf/tf.h. hmmm :/