ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can write like this.

geometry_msgs::build<geometry_msgs::msg::Point>().x(p.x).y(p.y).z(p.z);

See this issue for details.