FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
USaber/Mpu6050AdvancedMotionManager.cpp at master · JakeS0ft/USaber · GitHub
JakeS0ft
/
USaber
Public
Notifications
You must be signed in to change notification settings
Fork
16
Star
52
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
USaber
/
Mpu6050AdvancedMotionManager.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
37 lines (28 loc) · 746 Bytes
Breadcrumbs
USaber
/
Mpu6050AdvancedMotionManager.cpp
Copy path
File metadata and controls
37 lines (28 loc) · 746 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Mpu6050AdvancedMotionManager.cpp
*
* Created on: May 2, 2017
* Author: Jake
*/
#
include
"
USaberConfig.h
"
#
ifdef
BUILD_MPU6050LITE
#
include
"
motion/Mpu6050AdvancedMotionManager.h
"
Mpu6050AdvancedMotionManager::Mpu6050AdvancedMotionManager
(MPU6050AdvancedTolData* apTolData)
:Mpu6050LiteMotionManager(apTolData)
{
}
void
Mpu6050AdvancedMotionManager::GetRawAcclData
(
uint16_t
& arAclX,
uint16_t
& arAclY,
uint16_t
& arAclZ)
{
arAclX =
mCurAcclReading
.
mnX
;
arAclY =
mCurAcclReading
.
mnY
;
arAclZ =
mCurAcclReading
.
mnZ
;
}
void
Mpu6050AdvancedMotionManager::GetRawGyroData
(
uint16_t
& arGyX,
uint16_t
& arGyY,
uint16_t
& arGyZ)
{
arGyX =
mCurGyroReading
.
mnX
;
arGyY =
mCurGyroReading
.
mnY
;
arGyZ =
mCurGyroReading
.
mnZ
;
}
#
endif
Back
|
FazBrowse Home
|
New Git URL