-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
We are currently monitoring methods without arguments. It is useful to get some parameters by calling a method that takes some arguments. The ANTENNA/Boss/getObservedHorizontal() is an example. In fact we want to get azimuth and elevation at the same time, and not through two separate calls to ANTENNA/Boss/observedAzimut and ANTENNA/Boss/observedElevation. I can easily implement this method monitoring by adding the parameters to the configuration file. For instance, in this case I tell suricate to pass as arguments the current time:
- name: getObservedHorizontal
arguments: current time, current time
...
It means I will call getObservedHorizontal() in this way:
t = getTimeStamp().value
az, el = getObservedHorizontal(t, t)
``