ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

foreach is not a valid keyword in C++; the rosbag tutorials assume that you have foreach defined as BOOST_FOREACH:

#include <boost/foreach.hpp>
#define foreach BOOST_FOREACH