Skip to content

Tool to perform initial configuration of Vector robots.

Notifications You must be signed in to change notification settings

bliteknight/vector-web-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector Web Setup (non DDL)

Vector Web Setup provides an open source tool to allow users of Vector to configure their robot without relying on the proprietary phone application that previously provided the only method a user could use to configure their robot.

The software is written in Node.js and should run anywhere you can run Node.js. It is tested on Windows, Mac OSX, and Linux.

#Nodejs install

curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs

The main server listens on https on port 8000, the ota listens on http port 8001

Running the server

npm install
node server.js

Firmware Install Process

You can install the escapepod firmware or any firmware you want by adding the file to the ota folder

To auto flash a firmware once you pair and connect, make sure to update the otaEndpoints variable in the js file site\js\env\endpoints.js to the http link of the file. It has to be http as Vector cannot do an https handshake when flashing the firmware

e.g. if your PC's IP address is 192.168.0.8 and your ota file is 1.8ep.ota place the file in the ota folder and update the variable to let otaEndpoints = "http://192.168.0.8:8001/ota/1.8ep.ota"

Alternatively, you can specify what ota file to use by appending the ota parameter in the url

http://192.168.0.8:8000/html/main.html?ota=http://192.168.0.8:8001/ota/1.8ep.ota

That way you can set the otaEndpoints variable to one firmware and flash a different one

Alternative - Manuall Install method when pairing

uncheck - Enable auto-setup

view status - status

connect to wifi - wifi-scan

wifi-connect "SSID" "password"

ota-start http://localhost:8001/ota/1.8ep.ota

About

Tool to perform initial configuration of Vector robots.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.1%
  • HTML 2.8%
  • CSS 2.1%