Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here is my solution :

  boost::shared_ptr<nav_msgs::Path const> sharedEdge;
  nav_msgs::Path edge;
  sharedEdge = ros::topic::waitForMessage<nav_msgs::Path>("/path_planned/edge",create_path);
  if(sharedEdge != NULL){
    edge = *sharedEdge;
  }