reafact: renamed Server folder to Robotics
This commit is contained in:
parent
46d1dd8de5
commit
aa43319490
@ -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": "",
|
||||||
|
@ -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(),
|
@ -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()
|
Loading…
x
Reference in New Issue
Block a user