web/dashboards/garage/js/garage.js
// Initialise beaver to listen for raddecs on the websocket
Initialise beaver to listen for raddecs on the websocket
Initialise beaver to listen for raddecs on the websocket
function initialiseBeaver(hlcServerUrl) {
  let socket = io.connect(hlcServerUrl);
  beaver.listen(socket, true);
  beaver.on([0, 1, 2, 3, 4], function(raddec) {
    let isDisappearance = raddec.events.includes(4);
    let isDisplacement = raddec.events.includes(1);
    handleRaddec(raddec, isDisappearance);
  });
}
function initialiseBeaver ( hlcServerUrl ) { let socket = io . connect ( hlcServerUrl ) ; beaver . listen ( socket , true ) ; beaver . on ( [ 0 , 1 , 2 , 3 , 4 ] , function ( raddec ) { let isDisappearance = raddec . events . includes ( 4 ) ; let isDisplacement = raddec . events . includes ( 1 ) ; handleRaddec ( raddec , isDisappearance ) ; } ) ; }
Initialise beaver to listen for raddecs on the websocket
Initialise beaver to listen for raddecs on the websocket
// All events