arizzitano / petbot Goto Github PK
View Code? Open in Web Editor NEWRemote controlled telepresence robot
Remote controlled telepresence robot
Local server should be able to run without a board connected, for development or simulation purposes. Create a prototypal class for the local server. ArduinoServer and PiServer should extend this prototype.
I have tried to work with the tbone 0.3.4 that is out there.. the cdn link moved. Found it.. but there are dependencies not found and I end up with a broken app that is tdefine is undefined.
Any chance you could provide .tgz of your working tbone module?
Sometimes pins get stuck on high, causing PETBOT to do things like crash into the paper wall while Oblong is having a client meeting. This may be an issue with the circuit or with pi-gpio, but the local server should do as much as possible to make sure the state of the GPIO pins reflects the commands being sent from the remote server.
Currently, you can only control petbot with the arrow keys. In addition to sprucing up and possibly redesigning the front end, we need a view for mobile that allows you to control it via touch. I'm thinking something like hammer.js that allows directional gestures.
Write a very basic hubot script that, for starters, returns some information about PETBOT's current state. (e.g. online, sleeping, driving, browsers connected, etc).
The local server and remote server should always be aware of each other's statuses. That is, the local server should be alerted when a new connection has opened up. Likewise, when a user connects to the remote UI, it should provide some information about the status of the local server (e.g. "connecting...", "online", "offline"). Eventually we can use this event to do things like sleep the local server (close all the I/O pins) and wake it when a user connects. This will help save battery power!
The Duino library is no longer maintained, while Johnny-Five is a thriving and growing project that uses a standard IO protocol that's native to the Arduino (Firmata). In most cases, Johnny-Five is nearly a drop in replacement for Duino and I'd be happy to help the process and contribute in anyway that I can.
PETBOT needs some basic tests while it's still small and fairly simple. Debugging is horribly inefficient, requiring a contributor to get all servers running just so, watch the browser, watch the terminal, watch the circuit (LEDs), and watch the car itself. For a project with so many potential points of failure, moving towards BDD rather than "throw-shit-at-the-wall-and-see-what-sticks DD" would be ideal.
I'm leaning towards Mocha or Jasmine as a test framework but am open to suggestions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.