osrf / rmf_core

Provides the centralized functions of RMF: scheduling, etc.
Apache License 2.0
102 stars 41 forks source link

Alternative StubbornNegotiator that shares ownership of participant #298

Closed mxgrey closed 3 years ago

mxgrey commented 3 years ago

The requirement that the StubbornNegotiator will always have a very short lifecycle may be too confusing and restrictive for some users, so this adds an alternative constructor that accepts a shared reference to the participant. This will help in situations where the StubbornNegotiator has a long lifecycle and needs to be tied to a participant which may move around between different owners.

mxgrey commented 3 years ago

This is a very minor and self-contained feature addition, so I'll be merging this without review.