Skip to content

Commit c1d27ce

Browse files
authored
Release 1.1.0 (#355)
1 parent 50c7ff7 commit c1d27ce

File tree

6 files changed

+49
-10
lines changed

6 files changed

+49
-10
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
## Change Log
22

3+
### 1.1.0 (2020/02/26 22:07 +00:00)
4+
- [#351](https://github.com/RobotWebTools/roslibjs/pull/351) Add cbor-raw compression (#351) (@janpaul123)
5+
- [#348](https://github.com/RobotWebTools/roslibjs/pull/348) WS 3.3.1 > 7.2.1 (#348) (@MatthijsBurgh)
6+
- [#340](https://github.com/RobotWebTools/roslibjs/pull/340) Fix TypeError: this.ros.ActionClient is not a function (#340) (@Rayman)
7+
- [#323](https://github.com/RobotWebTools/roslibjs/pull/323) fixed reconnect_on_close value in Topic (#323) (@biw)
8+
- [#317](https://github.com/RobotWebTools/roslibjs/pull/317) Add WebSocket in WebWorker transport (#317) (@mvollrath)
9+
310
### 1.0.1 (2019/02/08 03:58 +00:00)
411
- [#318](https://github.com/RobotWebTools/roslibjs/pull/318) Fix CBOR native array decoding offset (#318) (@mvollrath)
512

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "roslib",
33
"description": "(BOWER IS DEPRECATING! Please use npm version of roslib). roslibjs is the core JavaScript library for interacting with ROS from the browser. It uses WebSockets to connect with rosbridge and provides publishing, subscribing, service calls, actionlib, TF, URDF parsing, and other essential ROS functionality. roslibjs is developed as part of the Robot Web Tools effort.",
4-
"version": "1.0.1",
4+
"version": "1.1.0",
55
"homepage": "https://github.com/RobotWebTools/roslibjs",
66
"authors": [
77
"Russell Toris<[email protected]>",

build/roslib.js

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ module.exports = function (fn, options) {
15581558
* If you use nodejs, this is the variable you get when you require('roslib')
15591559
*/
15601560
var ROSLIB = this.ROSLIB || {
1561-
REVISION : '1.0.1'
1561+
REVISION : '1.1.0'
15621562
};
15631563

15641564
var assign = require('object-assign');
@@ -2394,7 +2394,10 @@ Ros.prototype.setStatusLevel = function(level, id){
23942394
/**
23952395
* Retrieves Action Servers in ROS as an array of string
23962396
*
2397+
* @param callback function with params:
23972398
* * actionservers - Array of action server names
2399+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2400+
* * error - the error message reported by ROS
23982401
*/
23992402
Ros.prototype.getActionServers = function(callback, failedCallback) {
24002403
var getActionServers = new Service({
@@ -2426,6 +2429,8 @@ Ros.prototype.getActionServers = function(callback, failedCallback) {
24262429
* @param callback function with params:
24272430
* * topics - Array of topic names
24282431
* * types - Array of message type names
2432+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2433+
* * error - the error message reported by ROS
24292434
*/
24302435
Ros.prototype.getTopics = function(callback, failedCallback) {
24312436
var topicsClient = new Service({
@@ -2454,9 +2459,11 @@ Ros.prototype.getTopics = function(callback, failedCallback) {
24542459
/**
24552460
* Retrieves Topics in ROS as an array as specific type
24562461
*
2457-
* @param topicType topic type to find:
2462+
* @param topicType topic type to find
24582463
* @param callback function with params:
24592464
* * topics - Array of topic names
2465+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2466+
* * error - the error message reported by ROS
24602467
*/
24612468
Ros.prototype.getTopicsForType = function(topicType, callback, failedCallback) {
24622469
var topicsForTypeClient = new Service({
@@ -2489,6 +2496,8 @@ Ros.prototype.getTopicsForType = function(topicType, callback, failedCallback) {
24892496
*
24902497
* @param callback - function with the following params:
24912498
* * services - array of service names
2499+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2500+
* * error - the error message reported by ROS
24922501
*/
24932502
Ros.prototype.getServices = function(callback, failedCallback) {
24942503
var servicesClient = new Service({
@@ -2517,9 +2526,11 @@ Ros.prototype.getServices = function(callback, failedCallback) {
25172526
/**
25182527
* Retrieves list of services in ROS as an array as specific type
25192528
*
2520-
* @param serviceType service type to find:
2529+
* @param serviceType service type to find
25212530
* @param callback function with params:
25222531
* * topics - Array of service names
2532+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2533+
* * error - the error message reported by ROS
25232534
*/
25242535
Ros.prototype.getServicesForType = function(serviceType, callback, failedCallback) {
25252536
var servicesForTypeClient = new Service({
@@ -2553,6 +2564,8 @@ Ros.prototype.getServicesForType = function(serviceType, callback, failedCallbac
25532564
* @param service name of service:
25542565
* @param callback - function with params:
25552566
* * type - String of the service type
2567+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2568+
* * error - the error message reported by ROS
25562569
*/
25572570
Ros.prototype.getServiceRequestDetails = function(type, callback, failedCallback) {
25582571
var serviceTypeClient = new Service({
@@ -2583,9 +2596,11 @@ Ros.prototype.getServiceRequestDetails = function(type, callback, failedCallback
25832596
/**
25842597
* Retrieves a detail of ROS service request.
25852598
*
2586-
* @param service name of service:
2599+
* @param service name of service
25872600
* @param callback - function with params:
25882601
* * type - String of the service type
2602+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2603+
* * error - the error message reported by ROS
25892604
*/
25902605
Ros.prototype.getServiceResponseDetails = function(type, callback, failedCallback) {
25912606
var serviceTypeClient = new Service({
@@ -2618,6 +2633,8 @@ Ros.prototype.getServiceResponseDetails = function(type, callback, failedCallbac
26182633
*
26192634
* @param callback - function with the following params:
26202635
* * nodes - array of node names
2636+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2637+
* * error - the error message reported by ROS
26212638
*/
26222639
Ros.prototype.getNodes = function(callback, failedCallback) {
26232640
var nodesClient = new Service({
@@ -2651,6 +2668,8 @@ Ros.prototype.getNodes = function(callback, failedCallback) {
26512668
* * publications - array of published topic names
26522669
* * subscriptions - array of subscribed topic names
26532670
* * services - array of service names hosted
2671+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2672+
* * error - the error message reported by ROS
26542673
*/
26552674
Ros.prototype.getNodeDetails = function(node, callback, failedCallback) {
26562675
var nodesClient = new Service({
@@ -2683,6 +2702,8 @@ Ros.prototype.getNodeDetails = function(node, callback, failedCallback) {
26832702
*
26842703
* @param callback function with params:
26852704
* * params - array of param names.
2705+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2706+
* * error - the error message reported by ROS
26862707
*/
26872708
Ros.prototype.getParams = function(callback, failedCallback) {
26882709
var paramsClient = new Service({
@@ -2713,6 +2734,8 @@ Ros.prototype.getParams = function(callback, failedCallback) {
27132734
* @param topic name of the topic:
27142735
* @param callback - function with params:
27152736
* * type - String of the topic type
2737+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2738+
* * error - the error message reported by ROS
27162739
*/
27172740
Ros.prototype.getTopicType = function(topic, callback, failedCallback) {
27182741
var topicTypeClient = new Service({
@@ -2746,6 +2769,8 @@ Ros.prototype.getTopicType = function(topic, callback, failedCallback) {
27462769
* @param service name of service:
27472770
* @param callback - function with params:
27482771
* * type - String of the service type
2772+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2773+
* * error - the error message reported by ROS
27492774
*/
27502775
Ros.prototype.getServiceType = function(service, callback, failedCallback) {
27512776
var serviceTypeClient = new Service({
@@ -2776,9 +2801,11 @@ Ros.prototype.getServiceType = function(service, callback, failedCallback) {
27762801
/**
27772802
* Retrieves a detail of ROS message.
27782803
*
2804+
* @param message - String of a topic type
27792805
* @param callback - function with params:
27802806
* * details - Array of the message detail
2781-
* @param message - String of a topic type
2807+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2808+
* * error - the error message reported by ROS
27822809
*/
27832810
Ros.prototype.getMessageDetails = function(message, callback, failedCallback) {
27842811
var messageDetailClient = new Service({
@@ -2864,6 +2891,9 @@ Ros.prototype.decodeTypeDefs = function(defs) {
28642891
* * topics - Array of topic names
28652892
* * types - Array of message type names
28662893
* * typedefs_full_text - Array of full definitions of message types, similar to `gendeps --cat`
2894+
* @param failedCallback - the callback function when the service call failed (optional). Params:
2895+
* * error - the error message reported by ROS
2896+
*
28672897
*/
28682898
Ros.prototype.getTopicsAndRawTypes = function(callback, failedCallback) {
28692899
var topicsAndRawTypesClient = new Service({
@@ -4378,6 +4408,8 @@ function UrdfVisual(options) {
43784408
this.geometry = null;
43794409
this.material = null;
43804410

4411+
this.name = options.xml.getAttribute('name');
4412+
43814413
// Origin
43824414
var origins = xml.getElementsByTagName('origin');
43834415
if (origins.length === 0) {

build/roslib.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "roslib",
33
"homepage": "https://www.robotwebtools.org",
44
"description": "The standard ROS Javascript Library",
5-
"version": "1.0.1",
5+
"version": "1.1.0",
66
"license": "BSD-2-Clause",
77
"main": "./src/RosLibNode.js",
88
"browser": {

src/RosLib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* If you use nodejs, this is the variable you get when you require('roslib')
1010
*/
1111
var ROSLIB = this.ROSLIB || {
12-
REVISION : '1.0.1'
12+
REVISION : '1.1.0'
1313
};
1414

1515
var assign = require('object-assign');

0 commit comments

Comments
 (0)