-
Notifications
You must be signed in to change notification settings - Fork 12
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
suction cup interface for HERO #1114
base: master
Are you sure you want to change the base?
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.
Plus what we discussed
|
||
self._publish_marker(grasp_precompute_goal, [0, 1, 0], "grasp_point_corrected") | ||
|
||
time.sleep(0.001) # This is necessary: the rtt_actionlib in the hardware seems |
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.
Is this needed....
return goal_status == GoalStatus.SUCCEEDED | ||
|
||
@property | ||
def occupied_by_suction(self): |
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 occupied by setter and getter are already inherited from https://github.com/tue-robotics/tue_robocup/blob/master/robot_skills/src/robot_skills/arm/gripper.py Gripper. You don't need to redefine them here
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
""" | ||
self._occupied_by_suction = value | ||
|
||
def send_goal_suction(self, frameStamped, timeout=30, pre_grasp=False, first_joint_pos_only=False, |
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 dont think we need this function here. Getting the arm to work with different gripper is part of #1091. Which is work for another day
@PetervDooren , Could you have a look at the changes I pushed on June 22nd ? |
|
||
goal_status = GoalStatus.SUCCEEDED | ||
|
||
if timeout != 0.0: |
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.
After discussion with @MatthijsBurgh it was decided to change the behaviour. A timeout of 0 should be the default, in this case the system should wait until the action server is done and check the obtained status. Otherwise, after the timeout, the status of the action server should be checked, if the server is done the result should be used, otherwise the goal should be canceled.
No description provided.