skill_apply_force_pid
Applies a force in the direction of a frame
Defined at line 9 of file skills/skill_apply_force_pid.xml in package pitasc_library.
Meta data
Categoriessingle_robot, force_controlledPrototypesskill_force, skill_single_robot, skill, object, dictionary, base, descriptive
Parameters
Required parameters:
force_frame : stringFrame describing the force coordinatesaxes : csv:stringList of axes.target_forces : csv:floatForces and torques to be applied. Must be the samenumber of values as for ‘axes’.
Basic parameters:
robot : dictRobot that is controlled by the skill (only needs to be set at the application level).
Expert parameters:
skill_name : stringName of this skill. Must be locally unique.bounds : list:boundContains the bounds description(s).monitors : list:monitorContains the monitors of the skill that determine when the skill should terminate.transitions : list:transitionContains additional transitions to other states (skills), given an event name.scripts : list:scriptContains scripts that should be executed while the skill is active.force_sensor : dictForce sensor that provides the wrench measurement.
Hidden parameters:
collections : list:collectionContains the kinematic chains of the skill (feature, robot, object chains).Default: odict_keys([‘force_chain’, ‘object_chains’])loops : list:kinematic_loopContains the kinematic loop(s) that define the task to be solved.Default: odict_keys([‘kinematic_loop’])tasks : list:taskContains the task description(s).Default: odict_keys([‘apply_force’])K : floatThe gain K of the controllerDefault: 0.001Tn : floatThe constant Tn impacts the systems inversely, so higher Tn means slower impactDefault: FalseTv : floatThe constant Tv impacts the system directly,(its a part of D component), so higher Tv means faster responseDefault: FalseTp : floatCompliance [m/(s*N)]Default: 0.001u_i_limit : floatThe output limit of the i part of the controllerDefault: FalseI_flag : boolParameter to switch integral part on/offDefault: FalseD_flag : boolParameter to switch derivative part on/offDefault: False
Examples
skill_apply_force_pid is used in the following examples: