Files
mxsc/robot/MXLAB/Controller1/usr/usrapp/ForceDetection/getContact.pgx
2017-02-22 14:09:56 +01:00

25 lines
961 B
XML

<?xml version="1.0" encoding="utf-8"?>
<Programs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.staubli.com/robotics/VAL3/Program/2">
<Program name="getContact" access="public">
<Parameters xmlns="http://www.staubli.com/robotics/VAL3/Param/1">
<Parameter name="x_bContact" type="bool" xsi:type="array" use="reference" />
</Parameters>
<Code><![CDATA[begin
//-----------------------------------------------------------------------
//Header begin
//Description of program
// Returns the boolean bContact that is set to true when a collision is
// detected.
//
//Output parameters
// bool& x_bContact
// role: collision flag, turns true when a collision is detected
//
//History
// Creation : 23-04-08 - f.Rob
//Header end
//-----------------------------------------------------------------------
x_bContact=bContact
end]]></Code>
</Program>
</Programs>