Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions slicecamd/slicecam_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -875,10 +875,10 @@ namespace Slicecam {
std::lock_guard<std::mutex> lock(snapshot_mtx);
snapshot_status[Topic::ACAMD]=true;
}
// set is_acam_guiding flag
bool acquired = false;
Common::extract_telemetry_value( jmessage, Key::Acamd::IS_ACQUIRED, acquired );
this->is_acam_guiding.store(acquired, std::memory_order_relaxed);
// set is_acam_guiding from ACAM's acquire mode
std::string mode;
Common::extract_telemetry_value( jmessage, Key::Acamd::ACQUIRE_MODE, mode );
this->is_acam_guiding.store(mode=="guiding", std::memory_order_relaxed);

// acam's publish time
int64_t pubtime=0;
Expand Down
Loading