42 lines
690 B
YAML
42 lines
690 B
YAML
# auto-generated by grc.converter
|
|
|
|
id: hamnet70_pid_controller
|
|
label: PID Controller
|
|
category: '[hamnet70]'
|
|
|
|
parameters:
|
|
- id: interval
|
|
label: interval
|
|
dtype: int
|
|
default: '1'
|
|
- id: p
|
|
label: P Gain
|
|
dtype: float
|
|
default: '1.0'
|
|
- id: i
|
|
label: I Gain
|
|
dtype: float
|
|
default: '0.0'
|
|
- id: d
|
|
label: D Gain
|
|
dtype: float
|
|
default: '0.0'
|
|
- id: post_gain
|
|
label: Post Gain
|
|
dtype: float
|
|
default: '1.0'
|
|
|
|
inputs:
|
|
- domain: stream
|
|
dtype: float
|
|
|
|
outputs:
|
|
- domain: message
|
|
id: control_value
|
|
|
|
templates:
|
|
imports: import hamnet70
|
|
make: hamnet70.pid_controller(${interval}, ${p}, ${i}, ${d}, ${post_gain})
|
|
|
|
file_format: 1
|