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 +9 -1
- package/package.json +1 -1
- package/types/action_server.d.ts +1 -1
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.
|
|
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
package/types/action_server.d.ts
CHANGED
|
@@ -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
|
-
|
|
81
|
+
goal: ActionGoal<T>
|
|
82
82
|
) => GoalResponse;
|
|
83
83
|
type HandleAcceptedCallback<T extends TypeClass<ActionTypeClassName>> = (
|
|
84
84
|
goalHandle: ServerGoalHandle<T>
|