Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Monado
Monado
Commits
244a7061
Commit
244a7061
authored
Nov 11, 2019
by
Ryan Pavlik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aux/tracking: Use define for standard gravity
parent
61b788a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/xrt/auxiliary/tracking/t_imu_fusion.h
src/xrt/auxiliary/tracking/t_imu_fusion.h
+1
-1
No files found.
src/xrt/auxiliary/tracking/t_imu_fusion.h
View file @
244a7061
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment