Skip to content
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

Fallschool multiverse demo + Minor Changes #227

Merged
merged 91 commits into from
Dec 11, 2024

Conversation

AbdelrhmanBassiouny
Copy link
Collaborator

@AbdelrhmanBassiouny AbdelrhmanBassiouny commented Nov 25, 2024

This contains the multiverse fallschool demo. (NOTE: Depends on #226)

The changes in Action, Motion, and Location Designators are summarized as follows:

  1. Added a try_motion and try_action with a specified exception and number of retries. (A temporary solution to better failure handling). + Added some new plan failures.
  2. Added parameters like allow_gripper_collision, ignore_collision_with_objects, and prepose_distance.
  3. In Cosmap check for collision at start pose not just reached pose.
  4. In Placing ignore collision between robot and grasped object.
  5. In Pickup check for contact between gripper and object after closing gripper as a feedback that the object has been gripped.
  6. In Accessing added costmap modification for prismatic joint containers that removes the part of the map that the opened container occupies.

@AbdelrhmanBassiouny AbdelrhmanBassiouny force-pushed the fallschool_multiverse_demo branch 2 times, most recently from 87fde07 to 0efb974 Compare December 4, 2024 08:35
Copy link
Collaborator

@Tigul Tigul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed we also need to think about a more unified interface to the beliefe state to avoid extra checks in the code which simulation we are running currently

demos/pycram_multiverse_demo/demo.py Outdated Show resolved Hide resolved
demos/pycram_multiverse_demo/fallschool_demo.py Outdated Show resolved Hide resolved
demos/pycram_multiverse_demo/testing_giskard.py Outdated Show resolved Hide resolved
src/pycram/utils.py Outdated Show resolved Hide resolved
src/pycram/world_concepts/world_object.py Outdated Show resolved Hide resolved
src/pycram/world_concepts/world_object.py Show resolved Hide resolved
src/pycram/world_reasoning.py Outdated Show resolved Hide resolved
src/pycram/world_reasoning.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@Tigul Tigul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry missclicked, meant to request changes instead of approve

@Tigul
Copy link
Collaborator

Tigul commented Dec 9, 2024

looks good so far but this PR can't be merged at the moment

@AbdelrhmanBassiouny AbdelrhmanBassiouny force-pushed the fallschool_multiverse_demo branch from 600c802 to 9eaa647 Compare December 9, 2024 13:47
…lk surface such that the cup becomes staple and does not fall from the milk surface.
…nc function is called directly from with UseProspectionWorld.
… pycram objects, closing and opening gripper works.
…andard is used instead (real, belief_state, and prospection) for the names.
Optimized setting joint states by using set_multiple joints instead of looping over all joints.
…ocation.

Check for continuous joint when clipping.

Fixed multiverse demo.

Don't set link_state as it is not settable/needed.
…s that cannot be accessed when drawer is open.
@AbdelrhmanBassiouny AbdelrhmanBassiouny force-pushed the fallschool_multiverse_demo branch from 05953d9 to 8b471bb Compare December 9, 2024 21:39
@AbdelrhmanBassiouny
Copy link
Collaborator Author

looks good so far but this PR can't be merged at the moment

I think it's ok now, hopefully no one merges again 😅

@Tigul Tigul merged commit 812988e into cram2:dev Dec 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants