Skip to content

Commit

Permalink
temp: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gavanderhoorn committed Aug 15, 2024
1 parent b00e839 commit e3d2ced
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
8 changes: 6 additions & 2 deletions srv/GetInformJob.srv
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@ uint32 result_code
# string representation of the value in 'result_code', for humans
string message

# this field may be left uninitialised in case result_code != 1
byte[] contents
# The contents of the job file as raw bytes. This will contain the complete
# file, including the full job header and the instruction section. MotoROS2 has
# not processed the data in any way, so this is a verbatim copy of the job file.
#
# NOTE: this field may be left uninitialised in case result_code != 1.
uint8[] contents
22 changes: 14 additions & 8 deletions srv/PutInformJob.srv
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
#
# SPDX-License-Identifier: Apache-2.0

# NOTE:
# - do not include the file extension (JBI), only the name of the job
# - character encodings other than ASCII are only partially supported
# - a job with this name must NOT exist on the controller
string name
# The request does not provide a 'name' field as MotoROS2 will use the job name
# specified in the job header (ie: "//NAME <JOB_NAME>")

# complete job file (ie: JBI) contents, including job header
# The (binary) contents of the job file as bytes. This should contain the
# complete file, including the full job header and the instruction section.
#
# note: use Windows EOLs
byte[] contents
# Pay extra attention to encoding the job file contents, it should be in the
# encoding expected by the Yaskawa controller and should use Windows
# line-endings. MotoROS2 will not process the submitted data in any way, so
# it has to be valid job (JBI) content already.
#
# Loading the job will fail if it's not in a format supported by the controller.
#
# NOTE: as mentioned above, the name of the job to create on the controller
# will be taken from the job header.
uint8[] contents

---

Expand Down

0 comments on commit e3d2ced

Please sign in to comment.