-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Thank you for open-sourcing your work. In the ClothDataset._find_and_update_picked_point method, it seems that picked_particles has never been updated:
#line 284
if robot_exp:
new_picker_pos = None
num_picker = 2
for i in range(num_picker):
if pick_flag[i]:
if picked_particles[i] != -1:
old_pos = vox_pc[picked_particles[i]]
new_pos = vox_pc[picked_particles[i]] + action[i, :3]
new_vel = (new_pos - old_pos) / (self.dt*self.args.pred_time_interval)
tmp_vel_history = (velocity_his[picked_particles[i]][:-3]).copy()
velocity_his[picked_particles[i], 3:] = tmp_vel_history
velocity_his[picked_particles[i], :3] = new_vel
vox_pc[picked_particles[i]] = new_pos
picked_velocity.append(velocity_his[picked_particles[i]])
picked_pos.append(new_pos)
else:
picked_particles[i] = -1Is this a bug?
Metadata
Metadata
Assignees
Labels
No labels