Skip to content

Commit

Permalink
Ros constructor params actually are fully optional
Browse files Browse the repository at this point in the history
  • Loading branch information
EzraBrooks committed Nov 17, 2023
1 parent 14f68b6 commit c9bfc6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Ros.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class Ros extends EventEmitter2 {
*/
constructor(options) {
super();
options = options = {};
var that = this;
this.socket = null;
this.idCounter = 0;
Expand Down

0 comments on commit c9bfc6a

Please sign in to comment.