Publish generated path to use for visualisation
This commit is contained in:
@ -47,6 +47,7 @@ namespace mg {
|
||||
resp_ = client_->async_send_request(req).share();
|
||||
}
|
||||
if (resp_.valid()) {
|
||||
|
||||
path_msg_ = resp_.get();
|
||||
auto req = std::make_shared<PathService::Request>();
|
||||
req->x = goal_->x;
|
||||
@ -68,6 +69,7 @@ namespace mg {
|
||||
resp_ = client_->async_send_request(req).share();
|
||||
}
|
||||
|
||||
resp_.wait();
|
||||
path_msg_ = resp_.get();
|
||||
auto req = std::make_shared<PathService::Request>();
|
||||
req->x = goal_->x;
|
||||
|
||||
Reference in New Issue
Block a user