Skip to content

Commit

Permalink
more cleanups for growing family of vision options.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Q Programmer authored and Jon Q Programmer committed Mar 18, 2019
1 parent 876880d commit 7cb6035
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions 2019/startH264player.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash -f

cd /home/pi/spartronics/Vision/h264player
node appRaspi.js

File renamed without changes.
5 changes: 2 additions & 3 deletions 2019/startVision.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh

cd /home/pi/Vision/2019

exec ./runPiCam.py --robot roborio
cd /home/pi/spartronics/Vision/2019
exec ./runPiCam.py --robot roborio
2 changes: 1 addition & 1 deletion h264player/appRaspi.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

const http = require('http');
const express = require('express');
const WebStreamerServer = require('./raspiServer');
const WebStreamerServer = require('./serverRaspi');
const app = express();

//public website
Expand Down
4 changes: 2 additions & 2 deletions h264player/serverBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ServerBase
{
if(this.readStream == null)
{
var readStream = this.get_feed(); // invokes subclass get_feed
var readStream = this.getFeed(); // invokes subclass implementation
readStream = readStream.pipe(new Splitter(NALseparator));
readStream.on("data", this._broadcast.bind(this));
this.readStream = readStream;
Expand All @@ -48,7 +48,7 @@ class ServerBase
this.readStream.end();
this.readStream = null;
}
this.end_feed(force);
this.endFeed(force);
}
}

Expand Down

0 comments on commit 7cb6035

Please sign in to comment.