ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If this is a verbatim copy-paste, you have this:
* * rosserial Publisher Example * Prints "hello world!" */
Note how the first line starts with a *
.
It's very likely you made a mistake copying the example, and it should actually be /*
, which would be the start of a multi-line comment.
A single star (*
) on its own is not a legal character there, hence the compiler error.