ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosserial_arduino with arduino IDE 0022

asked 2012-07-09 17:17:44 -0500

halfstopper gravatar image

updated 2014-01-28 17:12:58 -0500

ngrennan gravatar image

I have a arduIMU v3 and strictly have to use arduino IDE 0023 and below.

When I tried to compile the rosserial_arduino example for HelloWorld using the Arduino IDE 0022, the following error occur:

In file included from /home/user/sketchbook/libraries/ros_lib/ros.h:39:0, from HelloWorld.cpp:6: /home/user/sketchbook/libraries/ros_lib/ArduinoHardware.h:41:38: fatal error: Wprogram.h: No such file or directory compilation terminated.

I have check that Wprogram.h is in my /usr/share/arduino/hardware/arduino/cores/arduino

I am not sure whats the problem, will appreciate the help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-07-10 22:01:20 -0500

halfstopper gravatar image

Just realize is the cap case different.

For those using Arduino IDE 0023 and below please take note:

Edit the ArduinoHardware.h header file supplied with the ros_lib, change

include "Wprogram.h"

to

include "WProgram.h"

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-09 17:17:44 -0500

Seen: 844 times

Last updated: Jul 10 '12