项目作者: justindra

项目描述 :
An Xbox to Arduino Interface for the the TRC Self Driving Car Challenge
高级语言: JavaScript
项目地址: git://github.com/justindra/trc_car_xbox.git
创建时间: 2018-05-07T01:50:34Z
项目社区:https://github.com/justindra/trc_car_xbox

开源协议:

下载


Xbox Arduino Controller

This is the code to control an Arduino over serial, in particular controlling the car code here.

The code can be easily modified to talk to any other device over serial. Just simply adjust the data structure set out in [src/car.js].

Usage

To run the controller and start sending over serial, just run

  1. npm start

If just trying to see if the controller is working first, run

  1. npm run test-controller

Development

There is a sample arduino code in [blink_serial_ino]. This should adjust the brightness of an LED based on what is sent over serial. This should allow debugging of this codebase without having to interface with the car.