-
Notifications
You must be signed in to change notification settings - Fork 303
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
Added spawner colours to list_controllers
depending upon active or inactive
#1409
Conversation
Thanks for the nice addon. Should we add other colors for unconfigured state? It is printed in red now, if it is in any other state than active? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1409 +/- ##
===========================================
+ Coverage 47.49% 75.88% +28.38%
===========================================
Files 41 41
Lines 3556 3359 -197
Branches 1938 1935 -3
===========================================
+ Hits 1689 2549 +860
+ Misses 459 418 -41
+ Partials 1408 392 -1016
Flags with carried forward coverage won't be shown. Click here to find out more. |
I have changed the color scheme in 7be93b2 as suggested by @saikishor. Do let me know if there are any changes. However 2 points
|
If you load a controller using
I think internally it is not linked to any controller state, so I belive it should be good |
Fyi, you can use rqt_controller_manager to set the state of a controller easily. ros2_control/rqt_controller_manager/rqt_controller_manager/controller_manager.py Lines 87 to 93 in c4affe4
maybe we can use the same colors there as you have implemented it now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the improvement!
Thanks for the tips regarding the controller manager @saikishor @christophfroehlich! Was able to test with the unconfigured state as well, I've added the result in the PR description, do have a look.
That sounds like a good idea, I can have a look at that if you want @christophfroehlich |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR
Closes #687
active
redcyaninactive
unconfigured
Screenshots