reafact: renamed Server folder to Robotics

This commit is contained in:
ysandler 2021-01-22 22:14:15 -06:00 committed by joshuashoemaker
parent 46d1dd8de5
commit aa43319490
16 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,9 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "webpack serve", "dev": "ts-node ./src/Robotics/main.ts",
"vision": "webpack serve",
"build": "webpack",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "", "author": "",

View File

@ -22,7 +22,7 @@ class MotorMover implements IMotorMover {
this.moveProcess = null this.moveProcess = null
const motorProcessArguments = [ const motorProcessArguments = [
'src/Server/moveStepper.py', 'src/Robotics/moveStepper.py',
this.motor.pinOne.toString(), this.motor.pinOne.toString(),
this.motor.pinTwo.toString(), this.motor.pinTwo.toString(),
this.motor.pinThree.toString(), this.motor.pinThree.toString(),
@ -43,7 +43,7 @@ class MotorMover implements IMotorMover {
this.moveProcess = null this.moveProcess = null
const motorProcessArguments = [ const motorProcessArguments = [
'src/Server/moveStepper.py', 'src/Robotics/moveStepper.py',
this.motor.pinOne.toString(), this.motor.pinOne.toString(),
this.motor.pinTwo.toString(), this.motor.pinTwo.toString(),
this.motor.pinThree.toString(), this.motor.pinThree.toString(),

View File

@ -4,7 +4,7 @@ import bodyParser from 'body-parser'
import http from 'http' import http from 'http'
import { Socket } from 'socket.io' import { Socket } from 'socket.io'
import IEventManager from '../Interfaces/IEventManager' import IEventManager from '../Interfaces/IEventManager'
import EventManager from '../Entities/EventManager' import EventManager from './EventManager'
class Server { class Server {
public app = express() public app = express()