Skip to content

Commit a7d8b76

Browse files
nkoenigNate Koenig
andauthored
Set the state properly when recording is complete (#894)
Signed-off-by: Nate Koenig <[email protected]> Co-authored-by: Nate Koenig <[email protected]>
1 parent 6287011 commit a7d8b76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subt_ign/src/GameLogicPlugin.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,6 +2206,7 @@ void GameLogicPluginPrivate::Finish(const ignition::msgs::Time &_simTime)
22062206
completeMsg.mutable_header()->mutable_stamp()->CopyFrom(
22072207
this->simTime);
22082208
completeMsg.set_data("recording_complete");
2209+
this->state = "recording_complete";
22092210
this->startPub.Publish(completeMsg);
22102211

22112212
std::lock_guard<std::mutex> lock(this->eventCounterMutex);

0 commit comments

Comments
 (0)