Skip to content

Commit

Permalink
r7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rctoris committed May 13, 2014
1 parent d7d4dd5 commit 7f4fd3c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
14 changes: 8 additions & 6 deletions build/roslib.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

var ROSLIB = ROSLIB || {
REVISION : '7-devel'
REVISION : '7'
};

//URDF types
Expand Down Expand Up @@ -263,8 +263,7 @@ ROSLIB.Param.prototype.get = function(callback) {
});

var request = new ROSLIB.ServiceRequest({
name : this.name,
value : JSON.stringify('')
name : this.name
});

paramClient.callService(request, function(result) {
Expand Down Expand Up @@ -798,6 +797,7 @@ ROSLIB.Topic = function(options) {
this.isAdvertised = false;
this.compression = options.compression || 'none';
this.throttle_rate = options.throttle_rate || 0;
this.latch = options.latch || false;

// Check for valid compression types
if (this.compression && this.compression !== 'png' && this.compression !== 'none') {
Expand Down Expand Up @@ -872,7 +872,8 @@ ROSLIB.Topic.prototype.advertise = function() {
op : 'advertise',
id : advertiseId,
type : this.messageType,
topic : this.name
topic : this.name,
latch : this.latch
};
this.ros.callOnConnection(call);
this.isAdvertised = true;
Expand Down Expand Up @@ -909,7 +910,8 @@ ROSLIB.Topic.prototype.publish = function(message) {
op : 'publish',
id : publishId,
topic : this.name,
msg : message
msg : message,
latch : this.latch
};
this.ros.callOnConnection(call);
};
Expand Down Expand Up @@ -1303,7 +1305,7 @@ ROSLIB.UrdfBox = function(options) {
* @param xml - the XML element to parse
*/
var initXml = function(xml) {
this.type = ROSLIB.URDF_BOX;
that.type = ROSLIB.URDF_BOX;

// Parse the string
var xyz = xml.getAttribute('size').split(' ');
Expand Down
2 changes: 1 addition & 1 deletion build/roslib.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/RosLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

var ROSLIB = ROSLIB || {
REVISION : '7-devel'
REVISION : '7'
};

//URDF types
Expand Down
7 changes: 3 additions & 4 deletions utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ roslibjs Build Setup
#### Ubuntu

1. Install Node.js and its package manager, NPM
* `sudo apt-get install python-software-properties`
* `sudo add-apt-repository ppa:chris-lea/node.js`
* `sudo apt-get update && sudo apt-get install nodejs phantomjs`
* `sudo apt-get install npm phantomjs`
* `sudo ln -s /usr/bin/nodejs /usr/bin/node`
2. Install Grunt and the test runner [Karma](http://karma-runner.github.io/)
* `sudo npm install -g grunt-cli karma phantomjs`
* `sudo npm install -g grunt-cli`
* `sudo rm -rf ~/.npm ~/tmp`
3. Install the Grunt tasks specific to this project
* `cd /path/to/roslibjs/utils/`
Expand Down

0 comments on commit 7f4fd3c

Please sign in to comment.