Commit 679b3a95 authored by Andrea Orlat's avatar Andrea Orlat
Browse files

fixed a bug when reading position history from derotator

parent 87034cf6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -265,8 +265,7 @@ double CRecvBossCore::getDerotatorPosition(const ACS::Time& epoch) throw (Compon
	baci::ThreadSyncGuard guard(&m_mutex);
	loadDewarPositioner(); // ComponentErrors::CouldntGetComponentExImpl
	try {
		m_dewarPositioner->getPositionFromHistory(epoch);
		return 0;
		return m_dewarPositioner->getPositionFromHistory(epoch);
	}
	catch (ComponentErrors::ComponentErrorsEx& ex) {
		_ADD_BACKTRACE(ReceiversErrors::DewarPositionerCommandErrorExImpl,impl,ex,"CRecvBossCore::getDerotatorPosition()");