Skip to content

Commit

Permalink
Release 1.1.0 (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvollrath committed Feb 27, 2020
1 parent 50c7ff7 commit c1d27ce
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Change Log

### 1.1.0 (2020/02/26 22:07 +00:00)
- [#351](https://github.com/RobotWebTools/roslibjs/pull/351) Add cbor-raw compression (#351) (@janpaul123)
- [#348](https://github.com/RobotWebTools/roslibjs/pull/348) WS 3.3.1 > 7.2.1 (#348) (@MatthijsBurgh)
- [#340](https://github.com/RobotWebTools/roslibjs/pull/340) Fix TypeError: this.ros.ActionClient is not a function (#340) (@Rayman)
- [#323](https://github.com/RobotWebTools/roslibjs/pull/323) fixed reconnect_on_close value in Topic (#323) (@biw)
- [#317](https://github.com/RobotWebTools/roslibjs/pull/317) Add WebSocket in WebWorker transport (#317) (@mvollrath)

### 1.0.1 (2019/02/08 03:58 +00:00)
- [#318](https://github.com/RobotWebTools/roslibjs/pull/318) Fix CBOR native array decoding offset (#318) (@mvollrath)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "roslib",
"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.",
"version": "1.0.1",
"version": "1.1.0",
"homepage": "https://github.com/RobotWebTools/roslibjs",
"authors": [
"Russell Toris<rctoris@wpi.edu>",
Expand Down
42 changes: 37 additions & 5 deletions build/roslib.js
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ module.exports = function (fn, options) {
* If you use nodejs, this is the variable you get when you require('roslib')
*/
var ROSLIB = this.ROSLIB || {
REVISION : '1.0.1'
REVISION : '1.1.0'
};

var assign = require('object-assign');
Expand Down Expand Up @@ -2394,7 +2394,10 @@ Ros.prototype.setStatusLevel = function(level, id){
/**
* Retrieves Action Servers in ROS as an array of string
*
* @param callback function with params:
* * actionservers - Array of action server names
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getActionServers = function(callback, failedCallback) {
var getActionServers = new Service({
Expand Down Expand Up @@ -2426,6 +2429,8 @@ Ros.prototype.getActionServers = function(callback, failedCallback) {
* @param callback function with params:
* * topics - Array of topic names
* * types - Array of message type names
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getTopics = function(callback, failedCallback) {
var topicsClient = new Service({
Expand Down Expand Up @@ -2454,9 +2459,11 @@ Ros.prototype.getTopics = function(callback, failedCallback) {
/**
* Retrieves Topics in ROS as an array as specific type
*
* @param topicType topic type to find:
* @param topicType topic type to find
* @param callback function with params:
* * topics - Array of topic names
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getTopicsForType = function(topicType, callback, failedCallback) {
var topicsForTypeClient = new Service({
Expand Down Expand Up @@ -2489,6 +2496,8 @@ Ros.prototype.getTopicsForType = function(topicType, callback, failedCallback) {
*
* @param callback - function with the following params:
* * services - array of service names
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getServices = function(callback, failedCallback) {
var servicesClient = new Service({
Expand Down Expand Up @@ -2517,9 +2526,11 @@ Ros.prototype.getServices = function(callback, failedCallback) {
/**
* Retrieves list of services in ROS as an array as specific type
*
* @param serviceType service type to find:
* @param serviceType service type to find
* @param callback function with params:
* * topics - Array of service names
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getServicesForType = function(serviceType, callback, failedCallback) {
var servicesForTypeClient = new Service({
Expand Down Expand Up @@ -2553,6 +2564,8 @@ Ros.prototype.getServicesForType = function(serviceType, callback, failedCallbac
* @param service name of service:
* @param callback - function with params:
* * type - String of the service type
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getServiceRequestDetails = function(type, callback, failedCallback) {
var serviceTypeClient = new Service({
Expand Down Expand Up @@ -2583,9 +2596,11 @@ Ros.prototype.getServiceRequestDetails = function(type, callback, failedCallback
/**
* Retrieves a detail of ROS service request.
*
* @param service name of service:
* @param service name of service
* @param callback - function with params:
* * type - String of the service type
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getServiceResponseDetails = function(type, callback, failedCallback) {
var serviceTypeClient = new Service({
Expand Down Expand Up @@ -2618,6 +2633,8 @@ Ros.prototype.getServiceResponseDetails = function(type, callback, failedCallbac
*
* @param callback - function with the following params:
* * nodes - array of node names
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getNodes = function(callback, failedCallback) {
var nodesClient = new Service({
Expand Down Expand Up @@ -2651,6 +2668,8 @@ Ros.prototype.getNodes = function(callback, failedCallback) {
* * publications - array of published topic names
* * subscriptions - array of subscribed topic names
* * services - array of service names hosted
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getNodeDetails = function(node, callback, failedCallback) {
var nodesClient = new Service({
Expand Down Expand Up @@ -2683,6 +2702,8 @@ Ros.prototype.getNodeDetails = function(node, callback, failedCallback) {
*
* @param callback function with params:
* * params - array of param names.
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getParams = function(callback, failedCallback) {
var paramsClient = new Service({
Expand Down Expand Up @@ -2713,6 +2734,8 @@ Ros.prototype.getParams = function(callback, failedCallback) {
* @param topic name of the topic:
* @param callback - function with params:
* * type - String of the topic type
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getTopicType = function(topic, callback, failedCallback) {
var topicTypeClient = new Service({
Expand Down Expand Up @@ -2746,6 +2769,8 @@ Ros.prototype.getTopicType = function(topic, callback, failedCallback) {
* @param service name of service:
* @param callback - function with params:
* * type - String of the service type
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getServiceType = function(service, callback, failedCallback) {
var serviceTypeClient = new Service({
Expand Down Expand Up @@ -2776,9 +2801,11 @@ Ros.prototype.getServiceType = function(service, callback, failedCallback) {
/**
* Retrieves a detail of ROS message.
*
* @param message - String of a topic type
* @param callback - function with params:
* * details - Array of the message detail
* @param message - String of a topic type
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*/
Ros.prototype.getMessageDetails = function(message, callback, failedCallback) {
var messageDetailClient = new Service({
Expand Down Expand Up @@ -2864,6 +2891,9 @@ Ros.prototype.decodeTypeDefs = function(defs) {
* * topics - Array of topic names
* * types - Array of message type names
* * typedefs_full_text - Array of full definitions of message types, similar to `gendeps --cat`
* @param failedCallback - the callback function when the service call failed (optional). Params:
* * error - the error message reported by ROS
*
*/
Ros.prototype.getTopicsAndRawTypes = function(callback, failedCallback) {
var topicsAndRawTypesClient = new Service({
Expand Down Expand Up @@ -4378,6 +4408,8 @@ function UrdfVisual(options) {
this.geometry = null;
this.material = null;

this.name = options.xml.getAttribute('name');

// Origin
var origins = xml.getElementsByTagName('origin');
if (origins.length === 0) {
Expand Down
4 changes: 2 additions & 2 deletions build/roslib.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "roslib",
"homepage": "https://www.robotwebtools.org",
"description": "The standard ROS Javascript Library",
"version": "1.0.1",
"version": "1.1.0",
"license": "BSD-2-Clause",
"main": "./src/RosLibNode.js",
"browser": {
Expand Down
2 changes: 1 addition & 1 deletion src/RosLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* If you use nodejs, this is the variable you get when you require('roslib')
*/
var ROSLIB = this.ROSLIB || {
REVISION : '1.0.1'
REVISION : '1.1.0'
};

var assign = require('object-assign');
Expand Down

0 comments on commit c1d27ce

Please sign in to comment.