3.7.1 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.1 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

task_compliance_ctrl(stx, time)

Features

This function begins task compliance control based on the preset reference coordinate system.

Caution

In the Non-FTS A model, the data type of the stx parameter is changed to float[3] (rotational stiffness cannot be input)


Caution

If the command is used in a simulation environment without a robot, it may not operate normally.

Parameters (Stiffness TBD)

Parameter Name

Data Type

Default Value

Description

stx

float[6]

[3000, 3000, 3000, 200, 200, 200]

Three translational stiffnesses

Three rotational stiffnesses

time

float

0

Stiffness varying time [sec]

Range: 0 - 1.0

* Linear transition during the specified time

Return

Value

Description

0

Success

Negative value

Error

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

Python
P0 = posj(0,0,90,0,90,0)
movej(P0)
task_compliance_ctrl() 		# Begins with the default stiffness
set_stiffnessx([500, 500, 500, 100, 100, 100], time=0.5) 	
# Switches to the user-defined stiffness for 0.5 sec.
release_compliance_ctrl()

task_compliance_ctrl([500, 500, 500, 100, 100, 100]) 	
# Begins with the user-defined stiffness.
release_compliance_ctrl()

Related commands