change default useOrigTiming and status update interval of CAN playback
This commit is contained in:
@@ -11,7 +11,7 @@ FramePlaybackObject::FramePlaybackObject()
|
|||||||
numBuses = 0;
|
numBuses = 0;
|
||||||
playbackActive = false;
|
playbackActive = false;
|
||||||
playbackForward = true;
|
playbackForward = true;
|
||||||
useOrigTiming = false;
|
useOrigTiming = true;
|
||||||
whichBusSend = 0;
|
whichBusSend = 0;
|
||||||
currentSeqItem = nullptr;
|
currentSeqItem = nullptr;
|
||||||
}
|
}
|
||||||
@@ -395,7 +395,7 @@ void FramePlaybackObject::timerTriggered()
|
|||||||
statusCounter += playbackInterval;
|
statusCounter += playbackInterval;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (statusCounter > 249)
|
if (statusCounter > 100)
|
||||||
{
|
{
|
||||||
statusCounter = 0;
|
statusCounter = 0;
|
||||||
emit statusUpdate(currentPosition);
|
emit statusUpdate(currentPosition);
|
||||||
|
|||||||
@@ -105,6 +105,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Use original frame timing from captured frames</string>
|
<string>Use original frame timing from captured frames</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@@ -136,6 +139,9 @@
|
|||||||
<property name="value">
|
<property name="value">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
@@ -160,6 +166,9 @@
|
|||||||
<property name="value">
|
<property name="value">
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
Reference in New Issue
Block a user