Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

0 ‐ FAQ

Pierre-Yves Lapersonne edited this page Oct 28, 2024 · 1 revision

Frequently Asked Questions

  • Who has created the Tapster bot ?

  • Why use Appium?

    • Appium has been created by the same person who created Tapster
    • Appium is quite powerful is we want to deal with mobile native or web apps with only one script
    • Appium makes possible the retrievement of coordinates of contact points during the calibration process
  • How Appium can get the contents?

    • For Android, Appium will use a bootstrap.jar and the UI Automator
    • For iOS, Appium will use a Web Driver Agent Runner which will use XCUITest
  • How the bot and the computer can communicate?

    • The bot possesses an Arduino Uno board
    • The bot and the computer are linked with a USB connection
    • The Firmata protocol is used so as to make the communication. It has been flashed in the Arduino board, and embedded with Johnny-Five in the computer side.
  • I sent a "tap" command to the bot: it moves to (x,y) but did not hit the screen, why?

    • Check the Z value defined in you calibraiton used fiven as a parameter to the server
    • The system will use the lowest value between the Z of the contact point, the Z of the point1 and the Z on the point2, so you can make contactPoint.z lower in this JSON file
  • Where are placed the servomotors on the bot's top plate?

  • What kind of things should display the calibration app?

  • How can I be sure I have calibrated the bot to a device?

    • You may have some outputs on your terminal like these
  • How can I be sure I have calibrated the arms of the bot?

    • You may have some outputs on your terminal like these
  • I think my calibration data have been fucked up, what should be the format of these values?

  • How can I test quickly the HTTP requests the robot can deal?

  • How can I reach my bot available at xxx.xxx.xxx.xxx:yyyy?

    • Define the IP address and the port in the client you use
    • Run the bot's server with the dedicated parameters (--address and --port)
  • I cannot start the server.js script, an exception related to johnny-five or the board occurs.

    • Be sure you can use the port on which the robot has been plugged.
    • You can run the Arduino IDE, and get the port in use. For example on Ubuntu it may be dev/ttyACM0
    • Then according to this post, you may allow the use of this port using the commands:
      sudo usermod -a -G dialout <username>;
      sudo chmod a+rw <port>;
  • And if my Tapster robot screams "Exterminate!"?

    • Call The Doctor and Run You Clever Boy!

Clone this wiki locally