-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Memristor-Robotics/wip-optimisation
Obstacle detection optimisations
- Loading branch information
Showing
17 changed files
with
493 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
global.Mep = require('../../Mep'); | ||
const HBridge = require('./HBridgeDriver'); | ||
const CAN = require('../can/CanDriver'); | ||
|
||
let can = new CAN('CANTest', {}); | ||
|
||
|
||
|
||
let hbridge = new HBridge('TestHBridge', { | ||
cid: 1101, | ||
_communicator: can | ||
}); | ||
|
||
|
||
hbridge.start(100); | ||
|
||
setTimeout(() => { | ||
hbridge.stop(); | ||
}, 1000); | ||
|
||
setTimeout(() => { | ||
hbridge.start(100, true); | ||
}, 2000); | ||
|
||
setTimeout(() => { | ||
hbridge.stop(); | ||
}, 3000); |
Oops, something went wrong.