Commit 244a7061 authored by Ryan Pavlik's avatar Ryan Pavlik

aux/tracking: Use define for standard gravity

parent 61b788a8
......@@ -85,7 +85,7 @@ public:
bool
handleAccel(Eigen::Vector3d const &accel, float /* dt */)
{
auto diff = std::abs(accel.norm() - 9.81);
auto diff = std::abs(accel.norm() - MATH_GRAVITY_M_S2);
if (!started_) {
if (diff > 1.) {
// We're moving, don't start it now.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment