Skip to content

Commit

Permalink
Fixing float to double
Browse files Browse the repository at this point in the history
  • Loading branch information
gilwoolee committed Apr 20, 2017
1 parent 4e84775 commit 38682d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control/KinematicSimulationTrajectoryExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void KinematicSimulationTrajectoryExecutor::step()
mInExecution = false;
}

using seconds = std::chrono::duration<float>;
using seconds = std::chrono::duration<double>;
auto timeSinceBeginning = system_clock::now() - mExecutionStartTime;
auto tsec = duration_cast<seconds>(timeSinceBeginning).count();

Expand Down

0 comments on commit 38682d6

Please sign in to comment.