Open com-server-ap opened 1 month ago
map
is a reserved word. You could use _map
instead, and it will be generated without the underscore
map
is a reserved word. You could use_map
instead, and it will be generated without the underscore
thanks a lot , it can meet my need.
by the way, when i generate TwistWithCovariance.idl structure,it will raise
TwistWithCovariance.idl:9:12: error: 'double' was redefined
the idl file is :
#include "Twist.idl"
module geometry_msgs {
module msg {
typedef double double__36[36];
@verbatim (language="comment", text=
" This expresses velocity in free space with uncertainty.")
struct TwistWithCovariance {
geometry_msgs::msg::Twist twist;
@verbatim (language="comment", text=
" Row-major representation of the 6x6 covariance matrix" "\n"
" The orientation parameters use a fixed-axis representation." "\n"
" In order, the parameters are:" "\n"
" (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)")
double__36 covariance;
};
};
};
Do you have any suggestions for solving this problem?
Hello everyone , I am trying to generate structures to communicate using ros2 idl messages. fastddsgen runs fine until it encounters nav_msg/srv. The error that appears for the nav_msgs / srv / GetMap.idl message is
the GetMap.idl is below:
Is it possible that fastddsgen is treating the map value as a type? Or could it be due to other reasons? How can this be resolved?
reproduce step:
Thanks in advance