-
Notifications
You must be signed in to change notification settings - Fork 7
Service and message definitions for reading and writing variables #24
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
Draft
yeu-geissdoerfer
wants to merge
18
commits into
Yaskawa-Global:main
Choose a base branch
from
yeu-geissdoerfer:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 16 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
75777e6
Create service description for reading byte variables.
yeu-geissdoerfer 8c52ec8
Create service description for reading double variables.
yeu-geissdoerfer f151fcb
Create service description for reading integer variables.
yeu-geissdoerfer 249d092
Create service description for reading position variables.
yeu-geissdoerfer 2556227
Create service description for reading real variables.
yeu-geissdoerfer 88daff8
Create service description for reading string variables.
yeu-geissdoerfer b03ead7
Create service description for writing byte variables.
yeu-geissdoerfer 3bb54ad
Create service description for writing double variables.
yeu-geissdoerfer aba2cef
Create service description for writing integer variables.
yeu-geissdoerfer 690fd66
Create service description for writing position variables.
yeu-geissdoerfer 92b6196
Create service description for writing real variables.
yeu-geissdoerfer 8ed4607
Create service description for writing string variables.
yeu-geissdoerfer c59b3c4
Changed the message name in which the legal values for the result cod…
yeu-geissdoerfer 5cb974e
Created an initial message by copying the IoResultCodes.msg.
yeu-geissdoerfer a5dc610
Updated the VarResultCodes.msg for the first MR2 read and write varia…
yeu-geissdoerfer 7be02d1
Added msg and srv files to the CMakeLists.txt so that motoros2_interf…
yeu-geissdoerfer 62d3a1b
Updated copyright information in all new srv and msg.
yeu-geissdoerfer 8bca810
Changed the data types to unsigned, as it should be possible to read …
yeu-geissdoerfer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # SPDX-FileCopyrightText: 2022-2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2022-2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 OK = 0 | ||
| string OK_STR = "Success" | ||
|
|
||
| # The variable number cannot be read on this controller | ||
| uint32 READ_VAR_NUMBER_INVALID = 1001 | ||
| string READ_VAR_NUMBER_INVALID_STR = "Variable number cannot be read from (out of readable range)" | ||
|
|
||
| # The variable number cannot be written to on this controller | ||
| uint32 WRITE_VAR_NUMBER_INVALID = 1002 | ||
| string WRITE_VAR_NUMBER_INVALID_STR = "Variable number cannot be written to (out of writable range)" | ||
|
|
||
| # The value supplied is not a valid value for the addressed IO element | ||
| uint32 WRITE_VALUE_INVALID = 1003 | ||
| string WRITE_VALUE_INVALID_STR = "Illegal value for the type of IO element addressed" | ||
|
|
||
| # mpGetUserVars returned -1 | ||
| uint32 READ_API_ERROR = 1004 | ||
| string READ_API_ERROR_STR = "The MotoPlus function mpGetUserVars returned -1, indicating an accessing error. No further information is available" | ||
|
|
||
| # mpPutUserVars returned -1 | ||
| uint32 WRITE_API_ERROR = 1005 | ||
| string WRITE_API_ERROR_STR = "The MotoPlus function mpPutUserVars returned -1, indicating an accessing error. No further information is available" | ||
|
|
||
| # Unknown fallback failure | ||
| string UNKNOWN_API_ERROR_STR = "Unknown error accessing I/O. No further information is available" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success | ||
| uint8 value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success | ||
| uint32 value | ||
|
gavanderhoorn marked this conversation as resolved.
Outdated
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success | ||
| uint16 value | ||
|
gavanderhoorn marked this conversation as resolved.
Outdated
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success | ||
|
|
||
| # always returned in 'base' frame | ||
| # NOTE: the ROS-Industrial 'base' frame, not Yaskawa Base frame | ||
| geometry_msgs/PoseStamped value | ||
|
ted-miller marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success | ||
| float32 value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success | ||
| string value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| uint8 value | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| uint32 value | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| uint16 value | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
|
|
||
| # only poses defined in 'base' frame will be accepted | ||
| # | ||
| # NOTE: the ROS-Industrial 'base' frame, not Yaskawa Base frame | ||
| # | ||
| # NOTE 2: it's the responsibility of the client to transform poses into this | ||
| # frame. The server will reject poses not already in 'base' frame. | ||
| geometry_msgs/PoseStamped value | ||
|
ted-miller marked this conversation as resolved.
|
||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| float32 value | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-FileCopyrightText: 2023, Yaskawa America, Inc. | ||
| # SPDX-FileCopyrightText: 2023, Delft University of Technology | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| uint32 var_number | ||
| string value | ||
| --- | ||
| # legal values defined in VarResultCodes.msg | ||
| uint32 result_code | ||
| string message | ||
| bool success |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.