mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Updated cmake for ARM/Android build
This commit is contained in:
@@ -437,7 +437,6 @@ std::vector<std::string> CameraImages::filenames() const
|
||||
|
||||
SensorData CameraImages::captureImage()
|
||||
{
|
||||
double actualDelay = 0.0;
|
||||
if(syncImageRateWithStamps_ && _captureDelay>0.0)
|
||||
{
|
||||
int sleepTime = (1000*_captureDelay - 1000.0f*_captureTimer.getElapsedTime());
|
||||
@@ -460,8 +459,6 @@ SensorData CameraImages::captureImage()
|
||||
}
|
||||
}
|
||||
|
||||
actualDelay = 1.0/(_captureTimer.getElapsedTime());
|
||||
|
||||
// Add precision at the cost of a small overhead
|
||||
while(_captureTimer.getElapsedTime() < _captureDelay-0.000001)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user