#!/usr/bin/env python
# author: <NAME>
# e-mail: <EMAIL>
# created: 2018/5/26
# License: MIT License
#
# Raspberry Pi Rover
#  device -- GPIO Two Wheels Car
from rsp_server.rsserver import RemoteSensorServer
from common.twowheelscar import TwoWheelsCar
from hardware.gpiotwowheels import GpioTwoWheels

if __name__ == '__main__':
    device = GpioTwoWheels()
    server = RemoteSensorServer()
    robot = TwoWheelsCar(device=device, server=server)
    robot.spin()

#!/usr/bin/env python
# author: <NAME>
# e-mail: <EMAIL>
# created: 2018/5/26
# License: MIT License
#
# Raspberry Pi Rover
#  device -- GPIO Two Wheels Car
from rsp_server.rsserver import RemoteSensorServer
from common.twowheelscar import TwoWheelsCar
from hardware.gpiotwowheels import GpioTwoWheels

if __name__ == '__main__':
    device = GpioTwoWheels()
    server = RemoteSensorServer()
    robot = TwoWheelsCar(device=device, server=server)
    robot.spin()

#!/usr/bin/env python # author: <NAME> # e-mail: <EMAIL> # created: 2018/5/26 # License: MIT License # # Raspberry Pi Rover #  device -- GPIO Two Wheels Car