ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.