spyghost
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

A simple library to control the SpyGhost wifi car

📝 Table of Contents

🧐 About

Since the original IConSpy app hasn't been updated in a while, I decided to create a small library to enable controlling the SpyGhost wifi car.

🏁 Getting Started

Prerequisites

This library uses nodejs and Typescript. To handle the data stream to and from the car, I'm using RxJs

Installing

npm install spyghost

🎈 Usage

const ghost = SpyGhost.getInstance(); // Establishes a connection. Ensure you're connected to the car's wifi 
ghost.move( movement: Movement ); // Moves the car. 
ghost.close(); // Closes the connection

The Movement interface represents the movements (forward, backward, left, right) and velocity. The direction of the movement is abstracted by the Axis interface

⛏️ Built Using

✍️ Authors

🎉 Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    1
    • latest

Version History

Package Sidebar

Install

npm i spyghost

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

11.1 kB

Total Files

5

Last publish

Collaborators

  • borgaster