DiagramTarget¶
Submodules¶
Classes¶
- class brom_drake.DiagramTarget.DiagramTarget.DiagramTarget(name: str, ports: None | List[int] = None)[source]¶
Description
The target on a Diagram to record data from. The object should define both:
The LeafSystem’s name, and
The ports to monitor (if None, all ports are monitored).
Parameters
- name: str
Name of the LeafSystem to monitor
- ports: Union[None, List[int]]
List of port indices to monitor. If None, all ports are monitored
Usage
from brom_drake.DiagramTarget import DiagramTarget # Creating a DiagramTarget to monitor all ports of a system named "my_system" target_all_ports = DiagramTarget(name="my_system") # Creating a DiagramTarget to monitor specific ports of a system named "another_system" target_specific_ports = DiagramTarget(name="another_system", ports=[0, 2, 4])
- name: str¶
Name of the LeafSystem to monitor
- ports: None | List[int]¶
List of port indices to monitor. If None, all ports are monitored
Functions¶
(None found)
Variables¶
(None found)