54 lines
886 B
XML
54 lines
886 B
XML
|
<?xml version="1.0"?>
|
||
|
<block>
|
||
|
<name>PID Controller</name>
|
||
|
<key>hamnet70_pid_controller</key>
|
||
|
<category>[hamnet70]</category>
|
||
|
<import>import hamnet70</import>
|
||
|
<make>hamnet70.pid_controller($interval, $p, $i, $d, $post_gain)</make>
|
||
|
|
||
|
<param>
|
||
|
<name>interval</name>
|
||
|
<key>interval</key>
|
||
|
<value>1</value>
|
||
|
<type>int</type>
|
||
|
</param>
|
||
|
|
||
|
<param>
|
||
|
<name>P Gain</name>
|
||
|
<key>p</key>
|
||
|
<value>1.0</value>
|
||
|
<type>float</type>
|
||
|
</param>
|
||
|
|
||
|
<param>
|
||
|
<name>I Gain</name>
|
||
|
<key>i</key>
|
||
|
<value>0.0</value>
|
||
|
<type>float</type>
|
||
|
</param>
|
||
|
|
||
|
<param>
|
||
|
<name>D Gain</name>
|
||
|
<key>d</key>
|
||
|
<value>0.0</value>
|
||
|
<type>float</type>
|
||
|
</param>
|
||
|
|
||
|
<param>
|
||
|
<name>Post Gain</name>
|
||
|
<key>post_gain</key>
|
||
|
<value>1.0</value>
|
||
|
<type>float</type>
|
||
|
</param>
|
||
|
|
||
|
<sink>
|
||
|
<name>in</name>
|
||
|
<type>float</type>
|
||
|
</sink>
|
||
|
|
||
|
<source>
|
||
|
<name>control_value</name>
|
||
|
<type>message</type>
|
||
|
</source>
|
||
|
</block>
|