Skip to content

Commit

Permalink
Maneuver/FollowReference/AUV: do not call guide() if a MANDONE Refere…
Browse files Browse the repository at this point in the history
…nce was received.
  • Loading branch information
rasmartins committed Nov 11, 2016
1 parent eebf8d2 commit a47d3b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Maneuver/FollowReference/AUV/Task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ namespace Maneuver
m_fref_state.state = IMC::FollowRefState::FR_WAIT;

signalCompletion("maneuver terminated by reference source");
return;
}

guide(&m_pcs, &m_cur_ref, &m_estate);
Expand Down

0 comments on commit a47d3b1

Please sign in to comment.