ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Perhaps ROS is not in the path of the utility you are using... But the error seems to be pointing to the following segment of Time.h:
#ifndef STD_MSGS_MESSAGE_TIME_H
#define STD_MSGS_MESSAGE_TIME_H
#include <string> //This line here is line 42
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
So I'd say it's got to do with rosserial's PATH. Unfortunately, I'm not an expert on this... I've used it only slightly. If you are launching from the system, try launching from a terminal. Perhaps this is like the issue with QtCreator... You can only use it in a terminal in order to get the right paths linked. Please note that this is simply speculation, though...
Keep us posted! This could definitely be helpful for others in the future.