-
Notifications
You must be signed in to change notification settings - Fork 304
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
Fix controller sorting issue while loading large number of controllers #1180
Fix controller sorting issue while loading large number of controllers #1180
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1180 +/- ##
=======================================
Coverage 47.63% 47.63%
=======================================
Files 40 40
Lines 3441 3445 +4
Branches 1864 1866 +2
=======================================
+ Hits 1639 1641 +2
Misses 480 480
- Partials 1322 1324 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
… controller used by a couple of controllers
fca37fc
to
2e32546
Compare
/// The simulated controller chain is like every joint has its own controller exposing interfaces | ||
/// and then a controller chain using those interfaces | ||
/// | ||
/// There are 30 more other basic controllers to check for crashing |
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 think we are missing the 30 additional controllers or I've missed it during review
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.
Lol! You are right, let me reformulate it and add some more controllers for more complexity
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.
Done. Thank you for the comments :)
…er_tree test + renaming variables
This PR aims to solve the issue mentioned by @GilmarCorreia : #1170. With the tests, I'm able to reproduce the error at some number around 20 controllers, so in order to make it robust, I've added 2 more different tests, testing with around 200+ controllers and also trying to simulate complex chaining that could be in day-to-day use-cases.