rosserial message no such file or directory
I created a custom message to talk to arduino via rosserial_arduino. However I am receiving this error when compiling the arduino code:
/home/nicholasadr/arduino-1.6.9/arduino-builder -dump-prefs -logger=machine -hardware "/home/nicholasadr/arduino-1.6.9/hardware" -tools "/home/nicholasadr/arduino-1.6.9/tools-builder" -tools "/home/nicholasadr/arduino-1.6.9/hardware/tools/avr" -built-in-libraries "/home/nicholasadr/arduino-1.6.9/libraries" -libraries "/home/nicholasadr/sketchbook/libraries" -fqbn=arduino:avr:uno -ide-version=10609 -build-path "/tmp/build0396521b6c85fad5e883527e5559b790.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/home/nicholasadr/carmen/carmen.ino" /home/nicholasadr/arduino-1.6.9/arduino-builder -compile -logger=machine -hardware "/home/nicholasadr/arduino-1.6.9/hardware" -tools "/home/nicholasadr/arduino-1.6.9/tools-builder" -tools "/home/nicholasadr/arduino-1.6.9/hardware/tools/avr" -built-in-libraries "/home/nicholasadr/arduino-1.6.9/libraries" -libraries "/home/nicholasadr/sketchbook/libraries" -fqbn=arduino:avr:uno -ide-version=10609 -build-path "/tmp/build0396521b6c85fad5e883527e5559b790.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/home/nicholasadr/carmen/carmen.ino" "/home/nicholasadr/arduino-1.6.9/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/nicholasadr/arduino-1.6.9/hardware/arduino/avr/cores/arduino" "-I/home/nicholasadr/arduino-1.6.9/hardware/arduino/avr/variants/standard" "/tmp/build0396521b6c85fad5e883527e5559b790.tmp/sketch/carmen.ino.cpp" -o "/dev/null" "/home/nicholasadr/arduino-1.6.9/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-I/home/nicholasadr/arduino-1.6.9/hardware/arduino/avr/cores/arduino" "-I/home/nicholasadr/arduino-1.6.9/hardware/arduino/avr/variants/standard" "/tmp/build0396521b6c85fad5e883527e5559b790.tmp/sketch/carmen.ino.cpp" -o "/tmp/build0396521b6c85fad5e883527e5559b790.tmp/preproc/ctags_target_for_gcc_minus_e.cpp" */home/nicholasadr/carmen/carmen.ino:19:32: fatal error: carmen_msgs/carmen.h: No such file or directory #include <carmen_msgs carmen.h="">* ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Uno.
I have already created the message package in <ws>/src. I also have done rosrun rosserial_arduino make_libraries.py . at ~/sketchbook/libraries (carmen_msgs/carmen.h successfully appeared in ros_lib folder). I can see ros_lib as one of the examples in Arduino IDE.
What am I missing? Why doesnt Arduino recognise the message that I created? I have tried reinstalling ROS and the problem still persist