Skip to content

Commit c152ffc

Browse files
committed
Continue refactor
1 parent 088743e commit c152ffc

File tree

2 files changed

+276
-296
lines changed

2 files changed

+276
-296
lines changed

path.py

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -125,23 +125,19 @@ def plane_sampler():
125125
viz=viz,
126126
viz_delay=viz_delay,
127127
discretisation_steps=discretisation_steps,
128-
max_ik_attempts=max_ik_attempts)
129-
130-
rrt = rrt.run(
131-
q_init=qinit,
132-
q_goal=qgoal,
133-
cubeplacementqgoal=cubeplacementqgoal,
134-
num_iter=num_iter,
135-
random_sampler=RANDOM_SAMPLER,
136-
repair_sampler=repair_sampler,
137-
repair_max_attempts=repair_max_attempts,
138-
goal_bias=goal_bias,
139-
max_delta_q=MAX_DELTA_Q,
140-
discretisation_steps=discretisation_steps,
141-
get_grasping_poseq=GET_GRAPSING_POSEQ,
142-
max_time_s=None,
143-
progress_log_every=50,
144-
)
128+
max_ik_attempts=max_ik_attempts,
129+
num_iter=num_iter,
130+
random_sampler=RANDOM_SAMPLER,
131+
max_delta_q=MAX_DELTA_Q,
132+
cubeplacementqgoal=cubeplacementqgoal,
133+
q_goal=qgoal,
134+
max_time_s=None,
135+
progress_log_every=50,
136+
repair_sampler=repair_sampler,
137+
repair_max_attempts=repair_max_attempts,
138+
goal_bias=goal_bias)
139+
140+
rrt = rrt.run()
145141

146142
if not rrt:
147143
print(

0 commit comments

Comments
 (0)