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

3 ‐ Run the robot's server

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

Commands to use to start the server

Run the server with the basic configuration (127.0.0.1:4242):

  node server.js

Run the server with the basic configuration (127.0.0.1:4242) and the calibration data:

  node server.js --calibration path-to-JSON-file

Run the server with a dedicated IP address (a.b.c.d) and a dedicated port (p):

  node server.js --address a.b.c.d --port p

The most suitable commands may be:

  node server.js --address a.b.c.d --port p --calibration path-to-JSON-file

or

  node server.js -a a.b.c.d -p p -c path-to-JSON-file