Skip to content
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

Add definitions for GetActiveAlarmInfo service #9

Merged

Conversation

gavanderhoorn
Copy link
Collaborator

As per title.

This is a bit of a WIP, as I'm not completely sure about the contents of the AlarmInfo messages.

But I wanted to open this PR to facilitate discussion.

msg/AlarmInfo.msg Outdated Show resolved Hide resolved
msg/AlarmInfo.msg Outdated Show resolved Hide resolved
@gavanderhoorn
Copy link
Collaborator Author

@ted-miller: I've pushed an updated version of the message and service definition(s).

Based on our discussions, I believe this would be a good first version of the envisioned functionality.

Not all fields will be populated by the initial implementation of the get_active_alarm_info service, only code, message and subcode will be returned for each alarm (and any active error).

# This stamp will not be corrected for Host PC <-> Yaskawa controller clock
# drift, as it is intended purely for informational purposes (ie: for humans)
# at this time.
builtin_interfaces/Time datetime
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is basically a UNIX epoch, but with nanosecond precision.

None of the (M+) APIs provide us with this directly, but we should be able to retrieve that info with some more work.

I want(ed) to already add the field, to avoid having to change the message definition later.

@ted-miller ted-miller merged commit 1bee805 into Yaskawa-Global:main Oct 19, 2023
1 check passed
@gavanderhoorn gavanderhoorn deleted the get_active_alarm_info_srv branch October 19, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants