Skip to content

Commit 02d6658

Browse files
author
Russell Toris
committed
Merge pull request #38 from rctoris/devel
Fixes missing ID counter in ROS so multiple service calls can be made
2 parents f4c1ce3 + f2d591f commit 02d6658

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
DEVEL - **r6**
2+
* Fixes missing ID counter in ROS so multiple service calls can be made [(rctoris)](https://github.com/rctoris/)
23

34
2013-04-09 - **r5**
45
* Replaces build system with Grunt [(baalexander)](https://github.com/baalexander/)

build/roslib.js

+1
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ ROSLIB.Ros = function(options) {
316316
options = options || {};
317317
var url = options.url;
318318
this.socket = null;
319+
this.idCounter = 0;
319320

320321
// begin by checking if a URL was given
321322
if (url) {

build/roslib.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/Ros.js

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ROSLIB.Ros = function(options) {
2020
options = options || {};
2121
var url = options.url;
2222
this.socket = null;
23+
this.idCounter = 0;
2324

2425
// begin by checking if a URL was given
2526
if (url) {

0 commit comments

Comments
 (0)