Pigmice2733 / PiRobotPy

An interface for python based wpilib on a raspberry pi to control mini robots
0 stars 0 forks source link

Hook micro maestro up to `/pwmoutput.py` #6

Open pchickey opened 6 years ago

pchickey commented 6 years ago

/pwmoutput.py currently implements a class that launches a thread that monitors the state of the wpilib sim_hal and prints the values of any "talon" motor controller outputs to the screen.

These prints to the screen should be replaced by code that attaches to a Micro Maestro if one is available over USB, and sends outputs to that device instead. There are some TODOs in the existing code to this effect.