-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from gavanderhoorn/inform_list
Add `ListInformJobs` service definition
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 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,22 @@ | ||
# SPDX-FileCopyrightText: 2024, Yaskawa America, Inc. | ||
# SPDX-FileCopyrightText: 2024, Delft University of Technology | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
uint32 RC_OK=1 | ||
string STR_OK="Success" | ||
|
||
uint32 RC_ERR_REFRESHING_JOB_LIST=10 | ||
string STR_ERR_REFRESHING_JOB_LIST="Error refreshing job list" | ||
|
||
uint32 RC_ERR_RETRIEVING_FILE_COUNT=11 | ||
string STR_ERR_RETRIEVING_FILE_COUNT="Error retrieving file count" | ||
|
||
uint32 RC_ERR_TOO_MANY_JOBS=12 | ||
string STR_ERR_TOO_MANY_JOBS="Too many jobs" | ||
|
||
uint32 RC_ERR_RETRIEVING_JOB_NAME_FROM_LIST=13 | ||
string STR_ERR_RETRIEVING_JOB_NAME_FROM_LIST="Failed retrieving job name from list" | ||
|
||
uint32 RC_ERR_APPENDING_JOB_NAME_TO_SVC_RESPONSE=14 | ||
string STR_ERR_APPENDING_JOB_NAME_TO_SVC_RESPONSE="Error adding job name to service response" |
This file contains 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,28 @@ | ||
# SPDX-FileCopyrightText: 2024, Yaskawa America, Inc. | ||
# SPDX-FileCopyrightText: 2024, Delft University of Technology | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# empty request | ||
|
||
--- | ||
|
||
# Result of the service invocation. Values other than one (1) signal failure. | ||
# | ||
# Values defined in 'motoros2_interfaces/msg/InformJobCrudResultCodes'. | ||
# | ||
# NOTE: future versions of this service may use a different set of result | ||
# codes. Always make sure to compare against defined named constants instead | ||
# of integers directly. | ||
uint32 result_code | ||
|
||
# string representation of the value in 'result_code', for humans | ||
string message | ||
|
||
# The list of jobs present on the controller. | ||
# | ||
# NOTE: | ||
# - these are job names, not filenames, and thus will not include the file | ||
# extension (JBI) | ||
# - character encodings other than ASCII are only partially supported | ||
string[] names |