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

Duplicate planning scene msgs in solution #638

Open
captain-yoshi opened this issue Dec 13, 2024 · 1 comment · May be fixed by #639
Open

Duplicate planning scene msgs in solution #638

captain-yoshi opened this issue Dec 13, 2024 · 1 comment · May be fixed by #639

Comments

@captain-yoshi
Copy link
Contributor

I think part of #432 introduced the redundant msgs.

Setting a planning scene in the FixedState stage results in having identical scene msgs when filling the solution :

# Solution.msg
task_id
start_scene                           # identical
sub_trajectory[0]: scene_diff         # identical (should be empty because the FixedState scene is stored in the start_scene ?)
sub_trajectory[1]: scene_diff         # OK real diff
captain-yoshi added a commit to captain-yoshi/moveit_task_constructor that referenced this issue Dec 14, 2024
@captain-yoshi
Copy link
Contributor Author

Example with an object in the scene, the start scene world is the same as the first diff scene from the first sub trajectory.

Also should the sub trajectories scene_diff parameters be all real diff's ?

Start scene

name: (noname)
robot_state: ...
world: 
  collision_objects[]
    collision_objects[0]: 
        header: 
        seq: 0
        stamp: 0.000000000
        frame_id: base
      pose: 
        position: 
          x: 0
          y: 0
          z: 0
        orientation: 
          x: 0
          y: 0
          z: 0
          w: 1
      id: sphere
      type: 
        key: 
        db: 
      primitives[]
        primitives[0]: 
                type: 2
          dimensions[]
            dimensions[0]: 0.01
      primitive_poses[]
        primitive_poses[0]: 
                position: 
            x: 0
            y: 0
            z: 0
          orientation: 
            x: 0
            y: 0
            z: 0
            w: 1
      meshes[]
      mesh_poses[]
      planes[]
      plane_poses[]
      subframe_names[]
      subframe_poses[]
      operation: 0
  octomap: ...

is_diff: 0

Scene Diff of first sub trajectory

name: (noname)
robot_state: ...
world: 
  collision_objects[]
    collision_objects[0]: 
        header: 
        seq: 0
        stamp: 0.000000000
        frame_id: base
      pose: 
        position: 
          x: 0
          y: 0
          z: 0
        orientation: 
          x: 0
          y: 0
          z: 0
          w: 1
      id: sphere
      type: 
        key: 
        db: 
      primitives[]
        primitives[0]: 
                type: 2
          dimensions[]
            dimensions[0]: 0.01
      primitive_poses[]
        primitive_poses[0]: 
                position: 
            x: 0
            y: 0
            z: 0
          orientation: 
            x: 0
            y: 0
            z: 0
            w: 1
  octomap: ...
is_diff: 0

captain-yoshi added a commit to captain-yoshi/moveit_task_constructor that referenced this issue Dec 16, 2024
captain-yoshi added a commit to captain-yoshi/moveit_task_constructor that referenced this issue Dec 16, 2024
captain-yoshi added a commit to captain-yoshi/moveit_task_constructor that referenced this issue Dec 20, 2024
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 a pull request may close this issue.

1 participant