This repository has been archived by the owner on Jun 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Feb 1, 2020
1 parent
5fdd819
commit 33534b0
Showing
12 changed files
with
174 additions
and
47 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import network as networktables | ||
from web import tornado_server | ||
|
||
import logging | ||
# initiate the top level logger | ||
# logging.basicConfig( | ||
# level=logging.INFO, | ||
# format="%(asctime)s [%(name)s] [%(levelname)-5.5s] %(message)s", | ||
# handlers=[ | ||
# logging.StreamHandler() | ||
# ] | ||
# ) | ||
|
||
logger = logging.getLogger('app') | ||
|
||
|
||
def main(): | ||
|
||
tornado_server.start() #enable_calibrate=True | ||
|
||
if __name__ == '__main__': | ||
main() |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"camera_mode": "BALL", | ||
"rgb": { | ||
"r": { | ||
"min": "107", | ||
"max": "152" | ||
}, | ||
"b": { | ||
"min": "21", | ||
"max": "78" | ||
}, | ||
"g": { | ||
"min": "118", | ||
"max": 156 | ||
} | ||
}, | ||
"hsv": { | ||
"h": { | ||
"min": 0, | ||
"max": 37 | ||
}, | ||
"s": { | ||
"min": 155, | ||
"max": 210 | ||
}, | ||
"v": { | ||
"min": 108, | ||
"max": 152 | ||
} | ||
}, | ||
"hsl": { | ||
"h": { | ||
"min": 0, | ||
"max": 255 | ||
}, | ||
"s": { | ||
"min": 0, | ||
"max": 255 | ||
}, | ||
"l": { | ||
"min": 0, | ||
"max": 255 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"camera_mode": "BAY", | ||
"rgb": { | ||
"r": { | ||
"min": 0, | ||
"max": 255 | ||
}, | ||
"b": { | ||
"min": 0, | ||
"max": 255 | ||
}, | ||
"g": { | ||
"min": 0, | ||
"max": 255 | ||
} | ||
}, | ||
"hsv": { | ||
"h": { | ||
"min": "28", | ||
"max": "199" | ||
}, | ||
"s": { | ||
"min": "80", | ||
"max": "255" | ||
}, | ||
"v": { | ||
"min": "165", | ||
"max": 255 | ||
} | ||
}, | ||
"hsl": { | ||
"h": { | ||
"min": 0, | ||
"max": 255 | ||
}, | ||
"s": { | ||
"min": 0, | ||
"max": 255 | ||
}, | ||
"l": { | ||
"min": 0, | ||
"max": 255 | ||
} | ||
} | ||
} |
Binary file not shown.