{% if spec.description %}
Description
{{ spec.description }}
{% endif %}
Type
{{ view.type }}
{% if spec.source_file %}
{% endif %}
{% if view.rate_hz is not none %}
Rate
{{ view.rate_hz }} Hz
{% endif %}
{% if spec.ports_in %}
Inputs ({{ spec.ports_in | length }})
| Port | Type | Unit | Description |
{% for pname, p in spec.ports_in.items() %}
| {{ pname }} |
{{ p.dtype }} |
{{ p.unit or "โ" }} |
{{ p.description }} |
{% endfor %}
{% endif %}
{% if spec.ports_out %}
Outputs ({{ spec.ports_out | length }})
| Port | Type | Unit | Description |
{% for pname, p in spec.ports_out.items() %}
| {{ pname }} |
{{ p.dtype }} |
{{ p.unit or "โ" }} |
{{ p.description }} |
{% endfor %}
{% endif %}
{% if view.params %}
Params ({{ view.params | length }})
{% for k, v in view.params.items() %}
| {{ k }} | {{ v }} |
{% endfor %}
{% endif %}
{% if spec.requirements %}
Requirements ({{ spec.requirements | length }})
{% for r in spec.requirements %}
{% endfor %}
{% endif %}