Hi,
there seems to be a problem regarding rosjava and constants in ROS messages.
Consider for example this example for a constant, taken from the ROS Wiki:
string FOO=foo
The rosjava implementation seems to turn this into something like
public static final String FOO = foo;
, omitting the quotation marks and therefore generating code that won't
compile. The C++ implementation on the other hand does add the necessary
quotes. Wouldn't be that much of a problem, but by making the generated
message work for rosjava:
string FOO="foo"
, the C++ implementation will still add the quotes, so the value of the
constant results in "\"foo\"".
kind regards
Máté
--
Máté WOLFRAM, Bakk.rer.soc.oec.
Homepage |
http://mate.wolfram.or.at
Member of KickOffTUG |
http://kickofftug.tugraz.at