rclnodejs 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -45,7 +45,7 @@ npm i rclnodejs@x.y.z
45
45
 
46
46
  | RCLNODEJS Version | Compatible ROS 2 LTS |
47
47
  | :----------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
48
- | latest version (currently [v1.4.1](https://github.com/RobotWebTools/rclnodejs/tree/1.4.1)) | [Kilted](https://github.com/RobotWebTools/rclnodejs/tree/kilted)<br>[Jazzy](https://github.com/RobotWebTools/rclnodejs/tree/jazzy)<br>[Humble](https://github.com/RobotWebTools/rclnodejs/tree/humble-hawksbill) |
48
+ | latest version (currently [v1.4.2](https://github.com/RobotWebTools/rclnodejs/tree/1.4.2)) | [Kilted](https://github.com/RobotWebTools/rclnodejs/tree/kilted)<br>[Jazzy](https://github.com/RobotWebTools/rclnodejs/tree/jazzy)<br>[Humble](https://github.com/RobotWebTools/rclnodejs/tree/humble-hawksbill) |
49
49
 
50
50
  ## Documentation
51
51
 
@@ -121,6 +121,8 @@ Send a request in a client
121
121
 
122
122
  ```
123
123
 
124
+ Check out more [examples](https://github.com/RobotWebTools/rclnodejs/tree/develop/example).
125
+
124
126
  ## Using rclnodejs with TypeScript
125
127
 
126
128
  In your node project install the rclnodejs package as described above. You will also need the TypeScript compiler and node typings installed.
@@ -162,8 +164,14 @@ const msg: rclnodejs.std_msgs.msg.String = {
162
164
  };
163
165
  ```
164
166
 
167
+ Check out more TypeScript [demos](https://github.com/RobotWebTools/rclnodejs/tree/develop/ts_demo).
168
+
165
169
  **Note** that the interface.d.ts file is updated each time the generate_messages.js script is run.
166
170
 
171
+ ## Using rclnodejs with Electron
172
+
173
+ Check out [demos](https://github.com/RobotWebTools/rclnodejs/tree/develop/electron_demo).
174
+
167
175
  ## License
168
176
 
169
177
  Apache License Version 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rclnodejs",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "ROS2.0 JavaScript client with Node.js",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -78,7 +78,7 @@ declare module 'rclnodejs' {
78
78
  goalHandle: ServerGoalHandle<T>
79
79
  ) => Promise<ActionResult<T>> | ActionResult<T>;
80
80
  type GoalCallback<T extends TypeClass<ActionTypeClassName>> = (
81
- goalHandle: ServerGoalHandle<T>
81
+ goal: ActionGoal<T>
82
82
  ) => GoalResponse;
83
83
  type HandleAcceptedCallback<T extends TypeClass<ActionTypeClassName>> = (
84
84
  goalHandle: ServerGoalHandle<T>