Hello,
I'm trying to interface Arduino with ROS and am receiving the error "fatal error: ros.h: No such file or directory compilation terminated." Is there any advice available to solve this? The steps I followed are:
Step 1.
<
sudo apt-get install ros-kinetic-rosserial-arduino
sudo apt-get install ros-kinetic-rosserial
Step 2.
<
cd /src
git clone GitHub - ros-drivers/rosserial: A ROS client library for small, embedded devices, such as Arduino. See: http://wiki.ros.org/rosserial
cd
catkin_make
For my I used cd Home/catkin_ws/src and it installed rosserial there and the for the catkin_make was cd Home/catkin_ws
Step 3.
<
cd /libraries
rm -rf ros_lib
rosrun rosserial_arduino make_libraries.py
For my location I used Home/libraries
So, the procedure added the ros_lib library into the IDE - great. I cant compile any sketches with this library however without receiving the above mentioned error. Any ideas why the system cant locate the ros.h?
Many Thanks,
James