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

rosserial incompatable with Ardupilot?

asked 2011-08-17 08:11:17 -0600

patrick_hammer gravatar image

updated 2014-01-28 17:10:14 -0600

ngrennan gravatar image

I'm trying to add ros support to the Ardupilot board using rosserial but I am unable to include the ros.h header from rosserial_arduino without getting weird compilation errors:

libraries/ros_lib/ros/../rosserial_msgs/Log.h:17: error: expected identifier before numeric constant libraries/ros_lib/ros/../rosserial_msgs/Log.h:17: error: expected `}' before numeric constant libraries/ros_lib/ros/../rosserial_msgs/Log.h:17: error: expected unqualified-id before numeric constant libraries/ros_lib/ros/../rosserial_msgs/Log.h:23: error: virtual outside class declaration

I'm able to compile and run rosserial examples on my Arduino just fine. The Ardupilot code can be found here:

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-08-21 11:49:21 -0600

adasta gravatar image

Hi Patrick.

I am unfamiliar with ardupilot, however it shouldnt give you errors like that. If you provide a self contained example of where you are getting the error, I can help.

edit flag offensive delete link more

Question Tools


Asked: 2011-08-17 08:11:17 -0600

Seen: 433 times

Last updated: Aug 21 '11