Skip to content

viam-devrel/create-robot-app

Repository files navigation

Try Viam (borrow a rover): Remotely control a Viam Rover in their NYC robotics lab for 10 minutes. Drive it around, explore its configuration, or write code to control it—all from wherever you are.

Follow along with step-by-step instructions: Drive a rover using TypeScript.

Get Started

  1. From the command line of your terminal window, create a new robot app.
    $ npm create robot-app
  2. At the command-line prompt, input your project name (or leave as default).
  3. Select a template for your project, such as controlRover, and hit Enter.
  4. Navigate into the new project directory, where my-viam-project is the name of your new project.
    $ cd my-viam-project
  5. Update the file .env with your own machine credentials from the CONNECT page of the Viam app. viam machine credentials
  6. Start the server. Your web app should be running at http://localhost:5173/.
    $ npm start

In the example shown below, when the connection to the rover is established, the Click me button will become enabled. TypeScript app to control rover

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published