You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Candidates_pub.publish(CandidatesMarker_array);
CandidatesMarker_array.markers.clear();
candidates.clear();
// loop in the idx_MI, if the candidate with max MI cannot be achieved, // switch to a sub-optimal MI.
arrived = false;
int idx_ptr = 0;
while (!arrived) {
// Setup the Goal
next_vp = point3d(candidates[idx_MI[idx_ptr]].first.x(),candidates[idx_MI[idx_ptr]].first.y(),candidates[idx_MI[idx_ptr]].first.z());
Goal_heading.setRPY(0.0, 0.0, candidates[idx_MI[idx_ptr]].second.yaw());
Goal_heading.normalize();
I also show the code block as an image
Since candidates is used in line 304, we should not clear candidates in line 295
The text was updated successfully, but these errors were encountered:
line 293 - line 306 of the file turtlebot_exploration_3d.cpp is
I also show the code block as an image
Since
candidates
is used in line 304, we should not clearcandidates
in line 295The text was updated successfully, but these errors were encountered: