File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "alias" : {
1010 "events" : " eventemitter3" ,
1111 "process" : " process/browser.js" ,
12+ "path" : " path-browserify" ,
1213 "assert" : " assert" ,
1314 "crypto" : " crypto-browserify"
1415 },
Original file line number Diff line number Diff line change 8484
8585 let statusId = 'publish:' + timeTopic . name + ':' + ( party . comms . ros . idCounter + num )
8686
87- console . log ( statusId )
88-
8987
9088 party . comms . once ( statusId , ( status ) => {
91- console . log ( 'status' , status )
9289
9390 setTimeout ( onTimeout , 0 )
9491 } )
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ class RosShim extends ROSLIB.Ros {
3838 this.emit(message.service, message);
3939 }*/ else if ( message . op === 'status' ) {
4040
41- console . log ( 'status' , message )
4241
4342 if ( message . id ) {
4443 this . emit ( 'status:' + message . id , message ) ;
Original file line number Diff line number Diff line change @@ -21,21 +21,21 @@ class PeerNode {
2121
2222 debug ( ' publish to node' , this . uuid )
2323
24- await this . peer . send ( {
24+ /* await this.peer.send({
2525 op: 'publish',
2626 id: 'publish:'+this.peer.opId,
2727 topic: topic.path,
2828 sender: { uuid: this.uuid, identity: this.peer.remoteIdentity },
2929 msg: data
30- } )
30+ })*/
3131
32- /* await this.peer.socket.send(JSON.stringify({
32+ await this . peer . socket . send ( JSON . stringify ( {
3333 op : 'publish' ,
3434 id : 'publish:' + this . peer . opId ,
3535 topic : topic . path ,
3636 sender : { uuid : this . uuid , identity : this . peer . remoteIdentity } ,
3737 msg : data
38- }))*/
38+ } ) )
3939
4040 }
4141 }
You can’t perform that action at this time.
0 commit comments