Skip to content

How to ensure a service (start_rapid/stop_rapid) is done processing #48

Answered by gavanderhoorn
dave992 asked this question in Q&A
Discussion options

You must be logged in to vote

It's been a while since I've worked with this specific service, but as a general comment: all RWS services manipulate either the StateMachine program, or another part of the runtime system state of the IRC5 controller.

Some services can take longer than others to affect something. So to close the loop (in this case), you'd subscribe to the system_states topic (carrying abb_robot_msgs/msg/SystemState messages), and inspect that state using the fields in that message. Other topics carry the state of other parts of the system (such as whether EGM is active or not, what its state is (converging or not), or in which state the StateMachine currently is).

I can't point you to a message/field for…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dave992
Comment options

@gavanderhoorn
Comment options

Answer selected by dave992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #47 on March 28, 2022 15:07.