File tree 2 files changed +1
-17
lines changed
2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ function listener() {
35
35
let sub = rosNode . subscribe ( '/chatter' , std_msgs . String ,
36
36
( data ) => { // define callback execution
37
37
rosnodejs . log . info ( 'I heard: [' + data . data + ']' ) ;
38
- } ,
39
- {
40
- queueSize : 100 ,
41
- throttleMs : 10
42
38
}
43
39
) ;
44
40
} ) ;
@@ -48,6 +44,3 @@ if (require.main === module) {
48
44
// Invoke Main Listener Function
49
45
listener ( ) ;
50
46
}
51
-
52
-
53
-
Original file line number Diff line number Diff line change @@ -32,13 +32,7 @@ function talker() {
32
32
rosnodejs . initNode ( '/talker_node' )
33
33
. then ( ( rosNode ) => {
34
34
// Create ROS publisher on the 'chatter' topic with String message
35
- let pub = rosNode . advertise ( '/chatter' , std_msgs . String ,
36
- {
37
- queueSize : 1 ,
38
- latching : true ,
39
- throttleMs : 9
40
- }
41
- ) ;
35
+ let pub = rosNode . advertise ( '/chatter' , std_msgs . String ) ;
42
36
let count = 0 ;
43
37
const msg = new std_msgs . String ( ) ;
44
38
// Define a function to execute every 100ms
@@ -58,6 +52,3 @@ if (require.main === module) {
58
52
// Invoke Main Talker Function
59
53
talker ( ) ;
60
54
}
61
-
62
-
63
-
You can’t perform that action at this time.
0 commit comments