This gist is used for the Pigeon embodiment project to get a video stream from a Misty robot and present it to pigeons.
Tasks:
- Get Misty camera feed
- Post Misty camera feed in tkinter button
- Pass tkinter button click X Y coords to Misty motion
This gist is used for the Pigeon embodiment project to get a video stream from a Misty robot and present it to pigeons.
Tasks:
| // Go to NIPS page ex: https://papers.nips.cc/book/advances-in-neural-information-processing-systems-30-2017 | |
| // Open JS console | |
| // Copy and paste the below | |
| // In Chrome, click on "Copy" that shows up after the csv variable | |
| // Paste in Google Sheets and add any columns you'd like | |
| paperList = Array.from(document.getElementsByClassName("main wrapper")[0].getElementsByTagName("li")) // Change "main wrapper" if list wrapper class changes | |
| papers = [] | |
| paperList.forEach((paper) => { | |
| children = Array.from(paper.children) | |
| paperName = children[0].text |
| # Byte-compiled / optimized / DLL files | |
| __pycache__/ | |
| *.py[cod] | |
| *$py.class | |
| # C extensions | |
| *.so | |
| # Distribution / packaging | |
| .Python |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>FK Readability Score</title> | |
| <meta charset="UTF-8"> | |
| </head> | |
| <body> | |
| <textarea id="theText" rows="5" cols="100"></textarea> | |
| </body> | |
| <script> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Foundation Project</title> | |
| <meta charset="UTF-8"> | |
| <link href="dist/css/style.css" rel="stylesheet"> | |
| </head> | |
| <body> | |
| ##### | |
| # Signalling Server Setup ex: EasyRTC | |
| # See https://easyrtc.com/docs/guides/easyrtc_server_install.php | |
| # This assumes you followed https://gist.github.com/sbeleidy/f4cd7e96dc0910dbc27cc6845d8b4d22 and | |
| # https://gist.github.com/sbeleidy/3a23999d8e9e5da9adc6159c3742b42b for SSL and reTURN setup | |
| ##### | |
| # Install node | |
| sudo apt-get install nodejs | |
| sudo apt-get install npm |
| ##### | |
| # TURN Server Setup | |
| # Requires SSL setup - see https://gist.github.com/sbeleidy/3a23999d8e9e5da9adc6159c3742b42b | |
| ##### | |
| sudo apt-get update | |
| sudo apt-get install resiprocate-turn-server | |
| nano /etc/reTurn/reTurnServer.config | |
| # Change TurnAddress to your public IP address |