Jyro contains a simulator (jyro.simulator) and controller for real robots (jyro.myro).
pip3 install jyro -U
On MacOS, you may also need:
brew install cairo
See https://jyro.readthedocs.io
Notes:
- remove modemmanager
- connect to fluke in settings
- find MAC address (in settings window, or
hcitool scan
) - start connection:
sudo rfcomm connect /dev/rfcomm0 B4:D8:A9:00:03:C0 1
- Pictures now have OpenCV representation
from jyro.robot import Scribbler
robot = Scribbler('/dev/tty.Fluke2-1234-Fluke2')
p = robot.takePicture()
cv2.imshow('image', p.pixels)
- Graphics needs to be moved away from Tkinit