Difference between revisions of "Interaction Control Tutorial"

Jump to: navigation , search
(Impedance/Force Control Examples)
Line 12: Line 12:
 
= Impedance/Force Control Examples =
 
= Impedance/Force Control Examples =
  
== the script used in this example ==
+
[http://sdk.rethinkrobotics.com/intera/Arm_Control_Systems#Interaction_Control_Mode Interaction controller in intera] enables impedance or force control at the endpoint of the arm. The following examples demonstrate using example scripts to create different interaction control behaviors.
 +
 
 +
== start a default interaction control behavior at the endpoint ==  
 +
 
 +
<source lang="bash">
 +
$ rosrun intera_examples go_to_joint_angles_in_contact.py
 +
</source>
  
 
== apply force (30N) along z-axis of TCP frame ==
 
== apply force (30N) along z-axis of TCP frame ==
 +
 +
<source lang="bash">
 +
$ rosrun intera_examples set_interaction_options.py -md 1 1 2 1 1 1 -f 0.0 0.0 30.0 0.0 0.0 0.0 -ef -kn 0.0 0.0 0.0 0.0 0.0 0.0 0.0
 +
</source>
  
 
== having more compliance along z-axis of TCP frame ==  
 
== having more compliance along z-axis of TCP frame ==  
 +
 +
<source lang="bash">
 +
$ rosrun intera_examples set_interaction_options.py -m 1 1 0 1 1 1 -k 1300.0 1300.0 500.0 30.0 30.0 30.0 -ef -kn 0.0 0.0 0.0 0.0 0.0 0.0 0.0
 +
</source>
  
 
== impedance control with force limits (30N) along z-axis of TCP frame ==
 
== impedance control with force limits (30N) along z-axis of TCP frame ==
 +
 +
<source lang="bash">
 +
$ rosrun intera_examples set_interaction_options.py -md 1 1 3 1 1 1 -f 0.0 0.0 30.0 0.0 0.0 0.0 -ef -kn 0.0 0.0 0.0 0.0 0.0 0.0 0.0
 +
</source>
  
 
= Constrained Zero-G Examples =  
 
= Constrained Zero-G Examples =  

Revision as of 20:19, 28 November 2017

This tutorial describes how to create different interaction control behaviors using example scripts.

Impedance/Force Control Examples

Interaction controller in intera enables impedance or force control at the endpoint of the arm. The following examples demonstrate using example scripts to create different interaction control behaviors.

start a default interaction control behavior at the endpoint

$ rosrun intera_examples go_to_joint_angles_in_contact.py

apply force (30N) along z-axis of TCP frame

$ rosrun intera_examples set_interaction_options.py -md 1 1 2 1 1 1 -f 0.0 0.0 30.0 0.0 0.0 0.0 -ef -kn 0.0 0.0 0.0 0.0 0.0 0.0 0.0

having more compliance along z-axis of TCP frame

$ rosrun intera_examples set_interaction_options.py -m 1 1 0 1 1 1 -k 1300.0 1300.0 500.0 30.0 30.0 30.0 -ef -kn 0.0 0.0 0.0 0.0 0.0 0.0 0.0

impedance control with force limits (30N) along z-axis of TCP frame

$ rosrun intera_examples set_interaction_options.py -md 1 1 3 1 1 1 -f 0.0 0.0 30.0 0.0 0.0 0.0 -ef -kn 0.0 0.0 0.0 0.0 0.0 0.0 0.0

Constrained Zero-G Examples

the script used in this example

constrained zero-G in position

constrained zero-G in orientation

constrained zero-G in horizontal plane (XY)