-
Notifications
You must be signed in to change notification settings - Fork 38
Backend features #149
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
Backend features #149
Conversation
|
@gonzalocasas here is a draft of the backend refactor (clearly not finished yet). Which bits and pieces do you like? And which are headed in the wrong direction? |
|
To give some context to the ClientManager, it could be used something like |
Maybe we should also consider the other way around. E.g. we could load a |
While the vs |
|
The point of the ClientManager is to gracefully allocated and deallocate resources when you have multiple context managers. The issue that could arise in your second examples is that the |
src/compas_fab/backends/ros/backend_features/move_it_plan_motion.py
Outdated
Show resolved
Hide resolved
Definitely agree on the nesting! On the other point, I believe |
|
I guess you are right about the call to |
That is a good argument! I believe this is/will be relevant for @yijiangh 's Pychoreo integration, since there was the need to simultaneously maintain the planning scene in both ROS and Pybullet. |
src/compas_fab/backends/ros/backend_features/move_it_plan_motion.py
Outdated
Show resolved
Hide resolved
src/compas_fab/backends/ros/backend_features/move_it_inverse_kinematics.py
Outdated
Show resolved
Hide resolved
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.
This is a pretty big PR, and in general terms, is looking really good! 👏 Great stuff!
I added a bunch of comments, some are important to address, in particular I feel like adding docs about this is fundamental. The other important issue to resolve is the whole ClientManager/contextlib2 story.
Since I added comments at different times, I'm not entirely sure they all read well linearly, so, let me know if stuff is unclear.

What type of change is this?
Checklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.CHANGELOG.rstfile in theUnreleasedsection under the most fitting heading (e.g.Added,Changed,Removed).invoke test).invoke lint) .compas_fab.robots.Configuration.