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

rosserial incompatable with Ardupilot?

asked 2011-08-17 08:11:17 -0500

patrick_hammer gravatar image

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

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: http://code.google.com/p/ardupilot-mega/

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

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

Stats

Asked: 2011-08-17 08:11:17 -0500

Seen: 438 times

Last updated: Aug 21 '11