Events¶
An event is a condition, or set of circumstances, that must occur to trigger determined actions. All the events can be combined to create a custom event, using the boolean operations provided by the software (AND, OR, NOT).
![../../../_images/boolean_operations.png](../../../_images/boolean_operations.png)
Events options¶
The following table depicts the meaning of each one of the boolean operators.
Logics |
Description |
---|---|
AND |
All events grouped on an AND should be accomplished simultaneously in order to activate the automation. |
OR |
One of the events in the group should be accomplished for activating the automation. |
NOT |
The event will be active meanwhile the event or event group is not accomplished. |
When there is only one event, clicking on the boolean command will create another event linked to the other one according to that operation. By right clicking on an event and selecting Wrap in allows the creation of an operation as if it was inside brackets, i.e it will be evaluated first. Let’s consider the following event group as an example.
![../../../_images/events_wrap.jpg](../../../_images/events_wrap.jpg)
Events wrapped¶
The first operation that is evaluated is the NOT, then the OR between Event2 and the result of the NOT, and finally the AND between Event1 and the result of the OR.
When createring a new event it is possible to choose from one of the previously created on the system or to create a new one.
![../../../_images/new_event.png](../../../_images/new_event.png)
New event¶
The user can also rename the event with the name of his choice.
![../../../_images/event_name.png](../../../_images/event_name.png)
New event - name¶
The different types of events that can be created are presented below.
Alarm¶
This kind of automation allows the user to add any bit of the system as an alarm. Depending on the mode in which it is configured, it will be activated in one way or another.
![../../../_images/events_alarm.png](../../../_images/events_alarm.png)
Alarm event¶
The two possible modes are the following:
Fail one: it is triggered when one of the bits is set to false.
All ok: it is triggered when all bits are set to true.
A common alarm event is the Position not fixed in fail one mode, which is triggered when there is not GPS signal in the autopilot.
Area¶
The event is triggered when the aircraft is inside or outside an area defined in the mission. For more information on mission creation, take a look at the Veronte Ops manual.
![../../../_images/events_area.png](../../../_images/events_area.png)
Area event¶
Type: Inside or Outside.
Object of interest: The user has to select which object is the one that should fulfill the event.
Selected areas: To select an area, first define the desired areas (prims, cylinders or spheres) in the Operation elements panel of the UI menu.
When the event has been labeled (“Event area” in this case) and saved, it is possible to link it to an area drawn on the map with the Operation panel (see more about this at the Veronte Ops manual) .
Mode¶
The event is triggered when the aircraft is in one of the modes selected.
![../../../_images/events_mode.png](../../../_images/events_mode.png)
Mode event¶
These modes have been created previously. See section Modes, for more information about creating modes.
The compliance time option could be interesting in this type of event.
Phase¶
The event is triggered when the aircraft is in the phases selected by clicking on , being in any of them will trigger the action.
![../../../_images/events_phase.png](../../../_images/events_phase.png)
Phase event¶
These phases have been created previously. See section Phases, for more information about creating phases.
Route¶
This event is related with the patches and marks defined by the user in the Operation elements panel of the UI menu and to those created in the mission (in Veronte Ops, see more about the creation of marks and patches in the Veronte Ops manual).
![../../../_images/events_route.png](../../../_images/events_route.png)
Route event¶
The following options are available:
Activation: The user can choose between two modes in this event.
Fly to waypoint: Triggers the action when the platform is flying towards that waypoint (patch).
Mark achieved: Triggers the action when the vehicle has reached the selected mark.
Selected marks/points: To select a mark/waypoint (patch), first define it in the Operation elements panel of the UI menu.
Icon and color: It is possible to change the appearance of the waypoint, selecting an icon from the icon list and a color, so the user can identify easily the waypoint linked to that automation.
Timer¶
This event will check the status of the timer selected in the menu. That timer should have been previously configured on the action side of another automation (action type Periodical).
![../../../_images/events_timer.png](../../../_images/events_timer.png)
Timer event¶
In the Timer parameter, users must select the number that identifies the timer (previously created with the periodical action) that is evaluated in this event.
For example, if it is desired to take a photo 10 seconds after the takeoff, two automations are required:
The first automation should have the event of Phase Take Off, with the correspondent Periodical action that will start a timer that lasts 10 seconds.
The second one should have a Timer event with the timer previously created and then an action to take a photo when the timer event is triggered.
Variable¶
This event is triggered when a variable selected is between a range established.
![../../../_images/events_variable.png](../../../_images/events_variable.png)
Variable event¶
Variable: The user can select the variable to be evaluated.
Max/Min: Maximum and minimum values of the threshold are established here. Custom threshold can be established by clicking on the
icon.
Invert range: This option will change the interval (the blue area will be gray, and the gray one will be blue).
As an example consider the event of the figure. With that parameters, the event is triggered when the IAS is between 5 and 20 meters per second. If the invert range option is unchecked, the event will be triggered when the IAS is lower that 5 m/s or greater than 20 m/s.