Skip to content

Commit eac3e1b

Browse files
committed
added some sliding primitive stuff
1 parent c7dc9bf commit eac3e1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ControlandExecution/impedance_control_barrier_function.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def run_modular_barrier_controller(self,command_dict):
327327

328328
hand_rotation_vector = compute_rotation_vector(hand_pivot_vertex,current_xyz_theta_robot_frame,theta_hand)
329329

330-
error_dict['error_theta_relative'] = -kh.mod2pi(np.arctan2(self.rm.measured_contact_wrench[1],self.rm.measured_contact_wrench[0]))
330+
# error_dict['error_theta_relative'] = -kh.mod2pi(np.arctan2(self.rm.measured_contact_wrench[1],self.rm.measured_contact_wrench[0]))
331331
# print(temp_theta_error)
332332
else:
333333

src/Modelling/modular_barrier_controller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def update_controller(self, mode, theta_hand, contact_wrench, friction_parameter
153153

154154
if torque_bounds is not None:
155155
torque_bound_delta = torque_bounds[1]-torque_bounds[0]
156-
self.torque_bounds = [torque_bounds[0]+.025*torque_bound_delta,torque_bounds[1]-.025*torque_bound_delta]
156+
self.torque_bounds = [torque_bounds[0]+.025*torque_bound_delta,torque_bounds[1]-.05*torque_bound_delta]
157157

158158
else:
159159
self.torque_bounds = torque_bounds

0 commit comments

Comments
 (0)