Close

io_wrapper.py and io_wrapper_dummy.py

A project log for STS-PiLot Robotics Remote Control

Remote control web interface with live video for Raspberry Pi Robots

mark-dammer-mm0dqmMark Dammer MM0DQM 03/15/2017 at 21:200 Comments

All native Explorer HAT calls have been moved to io_wrapper.py. This makes adapting the program for other hardware easier.

io_wrapper_dummy.py uses no specific hardware at all and can be used for testing and playing around on any Linux computer. Instead of interacting with hardware calls to the motors and outputs are logged to STDOUT. The dummy "inputs" just return random numbers or logic levels that are displayed on the HUD overlay.

Discussions