Goal
- simulate flying around in [Google] Earth 3D
- using microbit to send keystokes: up, down, left, right, tilt, roll
- like Kinect [previous project], /// TODO find call [how to send keystrokes]
PLAN
- Open browser
- navigate location
- fixed
- choice of location
- search in Earth
- turn on 3D
- signal start
- microbit motion flies
- signal end
DO
- Evaluate Selenium to send keystrokes to browser
- Exlore MakeCode to send pitch, roll and button press via bluetooth using Kaspers microbit extension
- Build prototype 1 using Git, MakeCode, and Powershell
CHECK
- Test FlyEarth01 repo, commit 4b552231
ACT
- Need to confirm Serial readings to Earth keystrokes [1]
- Looks like turn left/right is reversed
- Up, down not tested -> create test script and document, using 03
- Nose up is positive, arrow up and down look correct
- Bank right is positive, arrow left and right look correct
- Looks like Microbit sends cmds faster than posh/selenium/earth can
process them, its maybe 15 seconds behind [1]
- Measure how fast posh can process
- test of read serial confirms data is received every half second
- it’s possible processing in earth takes longer, add logging to 04
- Slow down rate at which microbit sends
- or read latest
- Measure how fast posh can process
- Sometimes Earth crashes, no obvious way to recover [2]
- Set up is a bit clunky [3}
numbers in square brackets [n] inicate the order to be resloved