-
Notifications
You must be signed in to change notification settings - Fork 4
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
Reject enabling IK outside safety radius #279
Conversation
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.
Mostly look good, just some refactoring needed!
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.
The changes since my last review look good, but the main architectural issues haven't been resolved. Take a look at my previous comments, the one about the factory function and such, and try to see what you can do there. Let me know if you have any questions! We can talk about it at the next meeting if it helps.
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.
Mostly looks good, just left some comments on initialization logic!
Have you tested this in simulation? I suspect this doesn't work right now. Also, can you add to the docs in every method in the controller class to clarify what the behavior is if the controller is uninitialized? I.e. you should mention if these methods should not be called on an uninitialized controller. Also, modify the class documentation to clarify what it means to be uninitialized, and clarify that the constructor creates it in that state.
…deSafetyRadius' into rejectEnableIKOutsideSafetyRadius
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
Tested on sim with test cases:
|
This prevents MissionControlProtocol from setting Globals::armIKEnabled if end effector breaches safety radius.