Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
wmcclinton committed Nov 2, 2023
1 parent 943c4f4 commit 70f7f8b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 306 deletions.
6 changes: 4 additions & 2 deletions predicators/behavior_utils/motion_planner_fns.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def sample_fn(env: "BehaviorEnv",
if CFG.behavior_option_model_rrt:
obstacles = get_relevant_scene_body_ids(env)
if env.robots[0].parts["right_hand"].object_in_hand is not None:
obstacles.remove(env.robots[0].parts["right_hand"].object_in_hand)
if env.robots[0].parts["right_hand"].object_in_hand in obstacles:
obstacles.remove(env.robots[0].parts["right_hand"].object_in_hand)
plan = plan_base_motion_br(
robot=env.robots[0],
end_conf=end_conf,
Expand Down Expand Up @@ -430,7 +431,8 @@ def make_place_plan(
maxz = max(z, hand_z) + 0.5

obstacles = get_relevant_scene_body_ids(env, include_self=False)
obstacles.remove(env.robots[0].parts["right_hand"].object_in_hand)
if env.robots[0].parts["right_hand"].object_in_hand in obstacles:
obstacles.remove(env.robots[0].parts["right_hand"].object_in_hand)
end_conf = [
x,
y,
Expand Down
8 changes: 3 additions & 5 deletions scripts/configs/behavior_20_evaluation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,8 @@ FLAGS: # general flags
timeout: 1000.0
horizon: 1000
behavior_override_learned_samplers: True
behavior_ignore_discover_failures: True
create_training_dataset: True
num_train_tasks: 5
num_train_tasks: 0
num_test_tasks: 5
START_SEED: 465
NUM_SEEDS: 10
START_SEED: 0
NUM_SEEDS: 1
USE_GPU: False
57 changes: 0 additions & 57 deletions scripts/configs/behavior_20_evaluation_extra.yaml

This file was deleted.

164 changes: 0 additions & 164 deletions scripts/configs/behavior_20_videos.yaml

This file was deleted.

78 changes: 0 additions & 78 deletions scripts/configs/behavior_last_8_evaluation.yaml

This file was deleted.

0 comments on commit 70f7f8b

Please sign in to comment.