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: http://code.google.com/p/ardupilot-mega/
Originally posted by patrick_hammer on ROS Answers with karma: 283 on 2011-08-17
Post score: 1