jhu-dvrk / sawIntuitiveResearchKit

cisst/SAW stack for the da Vinci Research Kit (dVRK)
https://github.com/jhu-dvrk/sawIntuitiveResearchKit/wiki
118 stars 68 forks source link

Proposal to standardize health related events and commands #31

Closed adeguet1 closed 9 years ago

adeguet1 commented 9 years ago

We have multiple layers of components used for the dVRK:

For each of these layers, we also have a corresponding Qt widget and potentialy a ROS bridge. There is no real standard regarding error handling and other health messages between the components. De facto, we started to use:

What I would propose:

Finally, all Error and Warning events should be sent only once unless the failure changes (e.g. if a second or different joint limit is reached, emit a new event). When the cause of the error is resolved, a Status event should be sent.

adeguet1 commented 9 years ago

This has been implemented across dVRK components.