Skip to content

Commit 3a6b9fb

Browse files
committed
[fix] fix example
1 parent 849cb97 commit 3a6b9fb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/wrapper/common/8001-force_tech.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
# enable ft sensor communication
6363
arm.ft_sensor_enable(1)
6464
# will overwrite previous sensor zero and payload configuration
65-
arm.ft_sensor_set_zero() # remove this if zero_offset and payload already identified & compensated!
65+
# arm.ft_sensor_set_zero() # remove this if zero_offset and payload already identified & compensated!
6666
time.sleep(0.2) # wait for writing zero operation to take effect, do not remove
6767

6868
arm.ft_sensor_app_set(1) #1: impedance control mode

example/wrapper/common/8002-impedance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# enable ft sensor communication
6262
arm.ft_sensor_enable(1)
6363
# will overwrite previous sensor zero and payload configuration
64-
arm.ft_sensor_set_zero() # remove this if zero_offset and payload already identified & compensated!
64+
# arm.ft_sensor_set_zero() # remove this if zero_offset and payload already identified & compensated!
6565
time.sleep(0.2) # wait for writing zero operation to take effect, do not remove
6666

6767
# move robot in impedance control application

example/wrapper/common/8003-force_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
# set pid parameters for force control
4848
Kp = 0.005 # range: 0 ~ 0.05
4949
Ki = 0.00005 # range: 0 ~ 0.0005
50-
Kd = 0.05 # range: 0 ~ 0.1
50+
Kd = 0.05 # range: 0 ~ 0.05
5151
linear_v_max = 200.0 # max adjust velocity(mm/s), range: 0 ~ 200
5252
rot_v_max = 0.35 # rad/s range: 0~pi/4
5353
arm.set_force_control_pid([Kp]*6, [Ki]*6, [Kd]*6, [linear_v_max, linear_v_max, linear_v_max, rot_v_max, rot_v_max, rot_v_max])

0 commit comments

Comments
 (0)