Git Product home page Git Product logo

tapsterbot's Introduction

Tapster - Mobile Automation Robot

Tapsterbot

Dependencies

  • Node.js
  • One Tapster robot

Getting Started

  1. Download and install the Arduino Client: http://arduino.cc/en/Guide/HomePage
  2. Follow the setup procedure, and use the "blink" test script to verify your Arduino is working.
  3. From the Arduino IDE upload the "Firmata" script: File -> Open -> Examples > Firmata > StandardFirmata
  4. Install the dependencies: cd software; npm install
  5. Start'er up: node src/bot.js
  6. Start moving: go(0,0,-140)

tapsterbot's People

Contributors

chilliams avatar hugs avatar jackskalitzky avatar kastner avatar mmerrell avatar rwaldron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tapsterbot's Issues

Is it possible to trigger a sequence of moves remotely?

I am interested in the Tapster3+ but need to clarify one thing 1st. We are going to be using it for demos and need to run several sets of commands at different times. Is there any mechanism available to trigger presets of events or send preset events to the machine? A port, an http endpoint... anything like that?

Idle noise

Is the tapster supposed to have a constant buzzing noise while idle?

trying to run bot.js: Error: Uncaught, unspecified "error" event. ([object Object])

Running Windows 10. Running node v4.6.1. Following getting started from the README.md. When I run node src/bot.js the web server starts (and will return "Welcome to Tapster World!"). A few seconds after that I get the error below. I can't issue the go(0,0,-140) command. What am I doing wrong?

D:\tapsterbot-master-20170131\software>node src\bot.js
Config not specified. Loading default.
Tapster web server listening on port 8080
events.js:146
      throw err;
      ^

Error: Uncaught, unspecified "error" event. ([object Object])
    at Board.emit (events.js:144:17)
    at Board.log (D:\tapsterbot-master-20170131\software\node_modules\johnny-five\lib\board.js:630:8)
    at Board.(anonymous function) [as error] (D:\tapsterbot-master-20170131\software\node_modules\johnny-five\lib\board.js:641:14)
    at Board.<anonymous> (D:\tapsterbot-master-20170131\software\node_modules\johnny-five\lib\board.js:390:14)
    at Timer.listOnTimeout (timers.js:92:15)

D:\tapsterbot-master-20170131\software>

Wrong z- coordinate movement

Hello, I wanted to move the z-coordinate to click wherever I wanted.
However, unlike the predicted coordinates and clicked coordinates, there is a problem that the click is not possible.
For example, I moved like the code below to print (2, 3, -140).

     bot.go(2,3, -110);
   
     wait(0.15); 
                                                 
     bot.go(2, 3, -140); 

However, the actual moving coordinates are as follows:

     bot.go(2,3, -110);   
                                             
     wait(0.15); 
                                                 
     bot.go(5, 10, -140);                                                    

I am wondering what part needs to be fixed to fix it.
Thank you.

Which model to build?

Hi there, I'd like to build a tapsterbot but can't tell which is the best option. What's the difference between the tapster 2 and the 2 plus? Which would you recommend for phone testing?

The bot.js is no longer compatible with latest version of jonny-five (v1.0.0)

Jonny-five have a major update/release 5 month ago. Now if you run the bot.js, it will throw error like below.

node bot.js

Config not specified. Loading default.
Tapster web server listening on port 8080
Go!
{ x: 10, y: 10, z: -150 }
C:\GIT\GITHUB\TapsterBot\software\src\bot.js:328
servo1.to((angles[1]).map(config.servo1.in_min, config.servo1.in_max, config.servo1.out_min, config.servo1.out_max));
^

TypeError: Cannot read property 'to' of undefined
at moveServosTo (C:\GIT\GITHUB\TapsterBot\software\src\bot.js:328:10)
at Timeout._onTimeout (C:\GIT\GITHUB\TapsterBot\software\src\bot.js:348:35)
at ontimeout (timers.js:486:15)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.