Skip to content

Methods with arguments #72

@marco-buttu

Description

@marco-buttu

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)
``

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions