forked from pleiades-cluster/yearling-flight-software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sense.py
36 lines (33 loc) · 1.21 KB
/
sense.py
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
from Tasks.template_task import Task
from Big_Test import Face as Face
import time
class task(Task):
priority = 2
frequency = 1/5
name='sense'
color = 'blue'
schedule_later=True
async def main_task(self):
Face1=Face(4,"y+")
Face2 = Face(0,"x+")
Face3=Face(5,"z-")
Face4 = Face(1,"z+")
Face5=Face(2,"x-")
Face6 = Face(3,"y-")
print("First Face")
print(Face1.test_all(1,1))
print("-------------------------------------------------------------------")
print("Second Face")
print(Face2.test_all(1,1))
print("-------------------------------------------------------------------")
print("third Face")
print(Face3.test_all(1,1))
print("-------------------------------------------------------------------")
print("fourth Face")
print(Face4.test_all(1,1))
print("-------------------------------------------------------------------")
print("fifth Face")
print(Face5.test_all(1,1))
print("-------------------------------------------------------------------")
print("Sixth Face")
print(Face6.test_all(1,1))