Skip to content
This repository has been archived by the owner on Jul 20, 2019. It is now read-only.
/ pros-node-debugger Public archive

A TypeScript debugger for PROSv5 (Purdue Robotics OS v5), includes plotting, messaging, flashing.

Notifications You must be signed in to change notification settings

kekland/pros-node-debugger

Repository files navigation

pros-node-debugger-server

Warning: This project is still WIP, and many features will change in future.

A TypeScript server for PROS v5 and pros-node-debugger-library for wired (wireless with RPi) debugging, code uploading, etc.

🔧 Installation

Prerequisites

  • PROS for V5 installed on where you will host the server (either your PC or Raspberry Pi attached to the brain).

Copy the repository

git clone https://github.com/kekland/pros-node-debugger-server.git
cd pros-node-debugger-server

Install the dependencies

npm i

Configure the server

nano src/config/config.ts
# Edit the cliLocation to match the location of prosv5 executable
# Edit the projectLocation to match the location of your PROS project

Build the server and run it

npm run build
npm run start:prod

👽 Usage

Warning: This project is still WIP, and many features will change in future.

Running

npm run start:prod

Viewing the data

When you run the project, the server will serve webpage (pros-node-debugger-web) on port 8080. You can open localhost:8080 on your computer and it will connect to the server via socket.io.

Connecting with phone

First, you need to get the IP address of your computer.

# Windows
ipconfig

# UNIX / Mac
ifconfig

Look for the address that starts with 192.168 (e.g. 192.168.1.103). Then, open the browser on your phone and enter the address and the port (8080) as the link (for example, 192.168.1.103:8080). It is advised that you use the phone in landscape mode, because the portrait mode is not supported yet.

📧 Contact me

E-Mail: kk.erzhan@gmail.com

About

A TypeScript debugger for PROSv5 (Purdue Robotics OS v5), includes plotting, messaging, flashing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published