Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design2
/
2014104077
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Wonseok Kwak
2021-06-12 20:16:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3a01003bebffa47a31455e8a0a6c4e5c047d82cb
3a01003b
1 parent
b686682f
IMU Serial logging 및 monitoring을 위한 소스
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
source/DroneControl/getAccel.py
source/DroneControl/getAccel.py
0 → 100644
View file @
3a01003
import
CoDrone
def
main
():
drone
=
CoDrone
.
CoDrone
()
drone
.
pair
()
# print the acceleration of drone
while
1
:
acceleration
=
drone
.
get_accelerometer
()
print
(
acceleration
.
X
,
acceleration
.
Y
,
acceleration
.
Z
)
if
__name__
==
'__main__'
:
main
()
Please
register
or
login
to post a comment