Ask Your Question

Revision history [back]

If you just want to create a copy of the path message, then the copy constructors mean you can do this:

gPlan = nav_msgs::Path(msg);

Hope this helps.