Skip to content

Commit dc6d542

Browse files
authored
Merge pull request #252 from hpuhr/devel
Devel
2 parents e0538ea + 46f5e11 commit dc6d542

File tree

138 files changed

+9826
-1088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+9826
-1088
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ find_package(Qt5Widgets)
2828
find_package(Qt5Core)
2929
find_package(Qt5OpenGL)
3030
find_package(Qt5Charts)
31+
find_package(Qt5Test)
3132

3233
message("Qt Widgets version: ${Qt5Widgets_VERSION}")
3334

@@ -119,6 +120,7 @@ include_directories (
119120
${Qt5Widgets_INCLUDE_DIRS}
120121
${Qt5OpenGL_INCLUDE_DIRS}
121122
${Qt5Charts_INCLUDE_DIRS}
123+
${Qt5Test_INCLUDE_DIRS}
122124
${Boost_INCLUDE_DIRS}
123125
${SQLITE3_INCLUDE_DIR}
124126
${LOG4CPP_INCLUDE_DIR}
@@ -140,6 +142,7 @@ target_link_libraries ( compass
140142
Qt5::Core
141143
Qt5::OpenGL
142144
Qt5::Charts
145+
Qt5::Test
143146
${jASTERIX_LIBRARIES}
144147
${Boost_LIBRARIES}
145148
${LOG4CPP_LIBRARIES}
-5.01 KB
Loading
649 KB
Loading

doc/user_manual/live/live.tex

Lines changed: 77 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ \section{OSG View}
5454

5555
When clicking the \includegraphics[width=0.5cm,frame]{../../data/icons/right.png} button, the displayed time window will again follow the most recent time. This can also be achieved by moving the scrollbar to the most right position.
5656

57+
\subsection{Online/Offline Display}
58+
59+
To indicite if the displayed data is the currently most recent or from a previous point in time, the OSGView can display colored text (by default "Online" or "Offline"). After creation of the OSView and closing the application, this feature can be enabled using the configuration options listed in \nameref{sec:live_online_offline}.
60+
61+
\begin{figure}[H]
62+
\hspace*{-2.5cm}
63+
\includegraphics[width=19cm,frame]{figures/osgview_offline_status.png}
64+
\caption{OSG View Overload Message}
65+
\end{figure}
66+
67+
The online state text is shown if the application is in Live:Running mode and the most recent data is displayed. In all other states (other application mode or previous time window displayed) the offline state text is displayed.
68+
69+
5770
\section{Overload Detection}
5871

5972
The ASTERIX Import task as well as the OSGView can detect and handle overload situations. If the real-time processing is not possible with the used workstation, display latency builds up - resulting in ASTERIX data queuing up. \\
@@ -66,13 +79,19 @@ \section{Overload Detection}
6679
\caption{OSG View Overload Message}
6780
\end{figure}
6881

69-
If the latency exceeds 11 seconds, ASTERIX data is skipped - therefore not decoded, added to the database, or displayed.
82+
If the latency exceeds 60 seconds, ASTERIX data is skipped - therefore not decoded, added to the database, or displayed.
83+
84+
\section{Auto-Resume From Live:Paused}
85+
86+
If the application is switched to the Live:Paused mode, an automatic resume function is activated to ensure that the application is not inadvertently kept in this mode for too long. In its default settings, every 60 minutes a dialog is opened which allows user interaction to stay in the Live:Paused mode. If no action is taken, after 1 minute an automatic resume in the Live:Running mode is performed. \\
87+
88+
This feature can be configured using the configuration options listed in \nameref{sec:live_paused_resume}.
7089

7190
\section{Long-Term Running}
7291

7392
The application is optimized for long-term runnning, and can be run continuously. During Live mode, data older than 1 hour is removed from the database. \\
7493

75-
In this use case, usage of a rotating log file (as described in \nameref{sec:appendix_logging_rotate}) is recommened.
94+
In this use case, usage of a rotating log file (as described in \nameref{sec:appendix_logging_rotate}) is recommended.
7695

7796
\section{Configuration Options of Interest}
7897

@@ -97,6 +116,26 @@ \subsection{Hide Evaluation and View Points}
97116
...
98117
\end{lstlisting}
99118

119+
\subsection{Disable Adding/Removing Views}
120+
121+
In the file 'compass.json' the following parameters can be set:
122+
123+
\begin{lstlisting}
124+
...
125+
"disable_add_remove_views": false,
126+
...
127+
\end{lstlisting}
128+
129+
\subsection{Disable Switching Live to Offline Mode}
130+
131+
In the file 'compass.json' the following parameters can be set:
132+
133+
\begin{lstlisting}
134+
...
135+
"disable_live_to_offline_switch": false,
136+
...
137+
\end{lstlisting}
138+
100139
\subsection{Change Cache or Database Time Duration}
101140

102141
Per default, the RAM cache is limited to 5 minutes, while the database content is limited to 60 minutes. To change these durations (if workstation performance allows for it), the following values can be set in the file 'db\_content.json' (values in minutes):
@@ -108,8 +147,44 @@ \subsection{Change Cache or Database Time Duration}
108147
...
109148
\end{lstlisting}
110149

150+
\subsection{OSGView Online/Offline Display}
151+
\label{sec:live_online_offline}
152+
153+
In the 'views.json' configuration file, in the respective OSGView section, the following parameters can be set:
154+
155+
\begin{lstlisting}
156+
...
157+
"offline_text": "Offline",
158+
"offline_text_color_str": "#FF0000",
159+
"online_text": "Online",
160+
"online_text_color_str": "#00FF00",
161+
"status_message_font_size": 24,
162+
"use_online_messages": false,
163+
...
164+
\end{lstlisting}
165+
166+
The display of the text can be enabled using the 'use\_online\_messages' flag, the other parameters configure text size, text captions and text coloring.
111167

168+
\subsection{OSGView Disable Rotate}
112169

170+
In the file 'compass.json' the following parameters can be set:
113171

172+
\begin{lstlisting}
173+
...
174+
"disable_osgview_rotate": false,
175+
...
176+
\end{lstlisting}
177+
178+
\subsection{Auto-Resume From Live:Paused}
179+
\label{sec:live_paused_resume}
180+
181+
In the file 'compass.json' the following values can be adapted to change how often the auto-resume question is asked, and the dialog wait time until the auto-resume is performed:
182+
183+
\begin{lstlisting}
184+
...
185+
"auto_live_running_resume_ask_time": 60,
186+
"auto_live_running_resume_ask_wait_time": 1,
187+
...
188+
\end{lstlisting}
114189

115190

8.33 KB
Loading
-36.9 KB
Loading
-41.5 KB
Loading

doc/user_manual/osg/osg_labels_tab.tex

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ \subsection{Labels Tab}
1010
In the 'Labels' tab, several elements exist:
1111

1212
\begin{itemize}
13-
\item \includegraphics[width=0.5cm,frame]{../../data/icons/edit.png} button: Edit label contents
13+
\item \includegraphics[width=0.5cm,frame]{../../data/icons/edit.png} button: Label menu
1414
\item Auto Label Checkbox: Toggles auto-label feature
1515
\item Level of Detail: What level of detail should be used for labels
1616
\item Data Sources: Selects which data sources to label and label direction
@@ -20,9 +20,19 @@ \subsection{Labels Tab}
2020

2121
When the auto-label feature is active and one or more data sources are selected for labeling, automatic labels are generated in the OSG View according to the content and label filter settings. \\
2222

23+
\subsubsection{Label Menu}
24+
25+
This menu allows showing all nor no data source labels, or to edit label contents.
26+
27+
\begin{figure}[H]
28+
\center
29+
\includegraphics[width=3cm,frame]{figures/osgview_label_tab_menu.png}
30+
\caption{OSG View Label Tab Menu}
31+
\end{figure}
32+
2333
\subsubsection{Label Contents}
2434

25-
When clicking the 'Edit Label Contents' button \includegraphics[width=0.5cm,frame]{../../data/icons/edit.png}, the label content specific to a DBContent can be selected. \\
35+
Using the 'Label menu' button \includegraphics[width=0.5cm,frame]{../../data/icons/edit.png}, the label content specific to a DBContent can be edited. \\
2636

2737
The label contents are organized in a 3x3 matrix, the contents if the first 2 rows and columns are fixed while row 3 and column 3 can be edited.
2838

@@ -63,7 +73,15 @@ \subsubsection{Label Contents}
6373
\item Row 3, column 3: Time of Day
6474
\end{itemize}
6575
\end{itemize}
76+
\ \\
77+
78+
Please note that the Mode A and the Mode C code are automatically displayed using the respective garbled/valid flag information as suffixes:
6679

80+
\begin{itemize}
81+
\item (I)nvalid
82+
\item (G)arbled
83+
\item (S)moothed
84+
\end{itemize}
6785

6886
\subsubsection{Automatic Labeling}
6987

1.41 KB
Loading
1.04 KB
Loading

0 commit comments

Comments
 (0)