-
Notifications
You must be signed in to change notification settings - Fork 331
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 consistent transitions for controllers in rqt_controller_manager
#2151
Comments
@christophfroehlich thought about what you said in #2143 (comment), I think the most minimal transition setup you can have will be to have the following options in each state
I am leaning more towards the minimal method, because the all transitions method does seem like it will create more confusion |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I agree with the minimal solution, but IMHO we should stick to the "official" transition wording from https://design.ros2.org/articles/node_lifecycle.html
@saikishor what do you think? |
I think it is better to stick with the controller terminology of
@christophfroehlich Do you also mean with
I don't know if it better to include lifecycle transitions here. For me, it is clear from the controller states. Moreover, controllers use the lifecycle node, but they are not completely lifecycle node, so for this reason I'm not sure |
ok
I see that we don't allow this in the CM, so we could call deactivate -> unload in this case.
We list the transitions as text, and the color code gives the target state. What I meant, let's also write the target state there, like |
Sure. 👍🏾 |
Sorry for the late reply
this makes sense to me as well, since new users would also prefer to use the GUI and this would make it easier for them
Sounds good! I do feel the wording can be better, for me it does not give the clear impression of "this transition would lead to this state" upon first read, maybe because the words for transition and state are sometimes similar, sometimes not, but I think we can atleast set it up, the words can be changed later Now we will have following transitions at each stage
Why am I getting the feeling this also looks a bit inconsistent? Let me know what your opinion is |
It probably should be something like the following:
I'm still not sure, if we should support the |
|
@saikishor @christophfroehlich any opinions on the above? |
You mean to do unconfigured -> inactive -> active?
Right now, the cleanup controller service doesn't exist yet (#1236), so you cannot go to unconfigured state |
yes, I'm saying what you wrote makes sense (adding
yes that was noted in #2143 (comment) (ignore the extra deactivate call), we can use the same work around, basically if anyone want to go to unconfigured from inactive, they would unload and load eitherways, what if we do it internally, till cleanup is introduced, then we can add that |
@saikishor @christophfroehlich I've added a
It is basically what @saikishor suggested in #2151 (comment) but with but do give me your opinion! Also, to be technically right we can rename the
|
@christophfroehlich @saikishor let me know how it looks |
For me, it looks good. I'm just not sure about unload and load operation. I don't have a strong opinion here, if everyone is ok with it. Let's do it |
@christophfroehlich any opinions? |
Brief
This issue is in context to a converstion at #2143, where @christophfroehlich pointed out that the transitions for the controllers are not consistent (refer #2143 (review))
Currently in
rqt_controller_manager
you can alter the state of the controller from one to another, but some transitions are missing in some states, notablyand more
A potential solution is to do as suggested in #2143 (comment)
This is up for discussion however, since too many options can also be confusing, and you can always switch one by one between the states
The text was updated successfully, but these errors were encountered: