-
Notifications
You must be signed in to change notification settings - Fork 79
[Kilted] Support to configure introspection for action client/server #1128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -17,6 +17,7 @@ | |||||
| const rclnodejs = require('bindings')('rclnodejs'); | ||||||
| const ActionInterfaces = require('./interfaces.js'); | ||||||
| const ActionUuid = require('./uuid.js'); | ||||||
| const DistroUtils = require('../distro.js'); | ||||||
| const Entity = require('../entity.js'); | ||||||
| const { CancelResponse, GoalEvent, GoalResponse } = require('./response.js'); | ||||||
| const loader = require('../interface_loader.js'); | ||||||
|
|
@@ -454,6 +455,26 @@ class ActionServer extends Entity { | |||||
|
|
||||||
| this._node._destroyEntity(this, this._node._actionServers); | ||||||
| } | ||||||
|
|
||||||
| configureIntrospection(clock, qos, introspectionState) { | ||||||
| if (DistroUtils.getDistroId() <= DistroUtils.getDistroId('jazzy')) { | ||||||
| console.warn( | ||||||
| 'Service introspection is not supported by this versionof ROS 2' | ||||||
|
||||||
| 'Service introspection is not supported by this versionof ROS 2' | |
| 'Service introspection is not supported by this version of ROS 2' |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -16,6 +16,7 @@ | |||
|
|
||||
| #include <rcl/error_handling.h> | ||||
| #include <rcl/rcl.h> | ||||
| #include <rcl_action/action_client.h> | ||||
|
||||
| #include <rcl_action/action_client.h> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,6 +15,7 @@ | |||||
| 'use strict'; | ||||||
|
|
||||||
| const assert = require('assert'); | ||||||
| const { DistroUtils } = require('../index.js'); | ||||||
|
||||||
| const { DistroUtils } = require('../index.js'); | |
| const { DistroUtils } = require('../distro.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a missing space in the warning message: 'this versionof ROS 2' should be 'this version of ROS 2'.