Skip to content

Commit

Permalink
Merge branch 'nasa:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
porfanid authored May 6, 2024
2 parents bc175e3 + e043925 commit 812783d
Show file tree
Hide file tree
Showing 948 changed files with 64,793 additions and 66,090 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,25 @@
*.class
*~
*.old
*.log
*.mold
*.pyc
*.bak
*.csv
*.out
*.txt
*.draw
tmp/
mold/
tests/
Java/*.daa
Java/*.xyz
Java/*.conf
Java/*.pdf
C++/*.daa
C++/*.xyz
C++/*.conf
C++/*.pdf
C++/DaidalusExample
C++/DaidalusAlerting
C++/DaidalusBatch
14 changes: 14 additions & 0 deletions C++/.cppcheck-config/cppcheck-suppressions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
stlFindInsert:src/Detection3DParameterReader.cpp
stlFindInsert:src/SequenceReader.cpp
uninitMemberVar:src/AircraftState.cpp
missingIncludeSystem
duplInheritedMember
invalidPointerCast
missingOverride
cstyleCast
shadowFunction
useStlAlgorithm:src/DaidalusParameters.cpp
useStlAlgorithm:src/SequenceReader.cpp
useStlAlgorithm:include/DaidalusParameters.h
missingInclude:include/Util.h
unusedFunction
1 change: 1 addition & 0 deletions C++/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.cppcheck-config
2 changes: 1 addition & 1 deletion C++/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = DAIDALUS
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v2.0.1
PROJECT_NUMBER = v2.0.4

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
7 changes: 5 additions & 2 deletions C++/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Simple Makefile to build DAIDALUS library and example applications
NAME=DAIDALUS
MAJOR=2
MINOR=.0.3
MINOR=.0.4
VERSION=$(NAME)$(MAJOR)
RELEASE=$(NAME)v$(MAJOR)$(MINOR)

Expand All @@ -11,7 +11,7 @@ OBJS = $(SRC:.cpp=.o)
INCLUDEFLAGS = -Iinclude
CXXFLAGS = $(INCLUDEFLAGS) -Wall -O

all: clean lib examples
all: lib examples

lib: $(OBJS)
@echo "** Building lib/$(RELEASE).a library"
Expand Down Expand Up @@ -51,6 +51,9 @@ configs: examples
clean:
rm -f DaidalusExample DaidalusAlerting DaidalusBatch src/*.o examples/*.o lib/*.a

check:
cppcheck --enable=all --cppcheck-build-dir=.cppcheck-config --suppressions-list=.cppcheck-config/cppcheck-suppressions.txt $(INCLUDEFLAGS) -q $(SRC) examples/

mold: examples
./DaidalusExample --config no_sum --verbose > ../Regression/C++/DaidalusExample-no_sum.out
./DaidalusExample --config nom_a --verbose > ../Regression/C++/DaidalusExample-nom_a.out
Expand Down
8 changes: 4 additions & 4 deletions C++/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DAIDALUS: Detect and Avoid Alerting Logic for Unmanned Systems
---------------------------------------------------------

Release: v2.0.3a (C++), September-8-2023
Release: v2.0.4 (C++), October-31-2023

Copyright: Copyright (c) 2021 United States Government as represented by
the National Aeronautics and Space Administration. No copyright
Expand Down Expand Up @@ -60,8 +60,8 @@ To run a simple DAIDALUS application in a Unix environment, type
$ ./DaidalusExample
```

Several DAA metrics can be computed in batch mode for a given
encounter file using the sample
Several DAA metrics can be computed in batch mode for given
configuration and encounter files using the sample
program `DaidalusAlerting`, e.g.,

```
Expand All @@ -75,7 +75,7 @@ The generated file ` H1_DO_365B_no_SUM.csv` contains alerting information compu
for the encounter [`H1.daa`](../Scenarios/H1.daa) assuming [DO-365B (no SUM)](../Configurations/DO_365B_no_SUM.conf) configuration.

The sample program `DaidalusBatch` generates alerting and banding
information from a given encounter file, e.g.,
information for given configuration and encounter files, e.g.,

```
$ ./DaidalusBatch --conf ../Configurations/DO_365B_no_SUM.conf ../Scenarios/H1.daa
Expand Down
13 changes: 12 additions & 1 deletion C++/RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
DAIDALUS: Detect and Avoid Alerting Logic for Unmanned Systems
-----------------------------------------------------
Release: v2.0.3-FormalATM-v2.7.5 (C++), September-8-2023
Release: v2.0.4-FormalATM-v2.7.5 (C++), November-30-2023
Contact: Cesar Munoz (cesar.a.munoz@nasa.gov)

Copyright: Copyright (c) 2021 United States Government as represented by
the National Aeronautics and Space Administration. No copyright
is claimed in the United States under Title 17, U.S.Code. All Other
Rights Reserved.

Release DAIDALUS-v2.0.4:
------------------
* November 30, 2023
- Cleaned Java and C++ code (removed stale code)
- Added support for horizontal speed = 0
- Added parameter min_airspeed, which is used to compute horizontal
direction bands when horizontal speed is less than min_airspeed.
- Added parameter hdir_bands_below_min_as, which specifies
instantaneous or kinematic horizontal_speed_bands when horizontal
speed is less than min_airspeed, i.e., (1:Instantaneous, -1:Kinematic)

Release DAIDALUS-v2.0.3:
------------------
* September-8-2023
Expand Down
134 changes: 69 additions & 65 deletions C++/doc/_a_c_co_r_d_config_8h_source.html

Large diffs are not rendered by default.

642 changes: 324 additions & 318 deletions C++/doc/_aircraft_state_8h_source.html

Large diffs are not rendered by default.

354 changes: 177 additions & 177 deletions C++/doc/_alert_thresholds_8h_source.html

Large diffs are not rendered by default.

422 changes: 213 additions & 209 deletions C++/doc/_alerter_8h_source.html

Large diffs are not rendered by default.

247 changes: 125 additions & 122 deletions C++/doc/_azi_equi_projection_8h_source.html

Large diffs are not rendered by default.

334 changes: 169 additions & 165 deletions C++/doc/_bands_hysteresis_8h_source.html

Large diffs are not rendered by default.

136 changes: 70 additions & 66 deletions C++/doc/_bands_mof_n_8h_source.html

Large diffs are not rendered by default.

142 changes: 73 additions & 69 deletions C++/doc/_bands_range_8h_source.html

Large diffs are not rendered by default.

148 changes: 76 additions & 72 deletions C++/doc/_bands_region_8h_source.html

Large diffs are not rendered by default.

178 changes: 91 additions & 87 deletions C++/doc/_c_d2_d_8h_source.html

Large diffs are not rendered by default.

254 changes: 129 additions & 125 deletions C++/doc/_c_d3_d_8h_source.html

Large diffs are not rendered by default.

391 changes: 197 additions & 194 deletions C++/doc/_c_d_cylinder_8h_source.html

Large diffs are not rendered by default.

130 changes: 67 additions & 63 deletions C++/doc/_color_value_8h_source.html

Large diffs are not rendered by default.

278 changes: 142 additions & 136 deletions C++/doc/_conflict_data_8h_source.html

Large diffs are not rendered by default.

348 changes: 176 additions & 172 deletions C++/doc/_constants_8h_source.html

Large diffs are not rendered by default.

128 changes: 66 additions & 62 deletions C++/doc/_consts_8h_source.html

Large diffs are not rendered by default.

306 changes: 152 additions & 154 deletions C++/doc/_criteria_core_8h_source.html

Large diffs are not rendered by default.

116 changes: 60 additions & 56 deletions C++/doc/_d_c_p_a_urgency_strategy_8h_source.html

Large diffs are not rendered by default.

2,871 changes: 1,439 additions & 1,432 deletions C++/doc/_daidalus_8h_source.html

Large diffs are not rendered by default.

233 changes: 121 additions & 112 deletions C++/doc/_daidalus_alt_bands_8h_source.html

Large diffs are not rendered by default.

524 changes: 265 additions & 259 deletions C++/doc/_daidalus_core_8h_source.html

Large diffs are not rendered by default.

180 changes: 98 additions & 82 deletions C++/doc/_daidalus_dir_bands_8h_source.html

Large diffs are not rendered by default.

274 changes: 139 additions & 135 deletions C++/doc/_daidalus_file_walker_8h_source.html

Large diffs are not rendered by default.

171 changes: 91 additions & 80 deletions C++/doc/_daidalus_hs_bands_8h_source.html

Large diffs are not rendered by default.

448 changes: 226 additions & 222 deletions C++/doc/_daidalus_integer_bands_8h_source.html

Large diffs are not rendered by default.

1,652 changes: 838 additions & 814 deletions C++/doc/_daidalus_parameters_8h_source.html

Large diffs are not rendered by default.

121 changes: 63 additions & 58 deletions C++/doc/_daidalus_processor_8h_source.html

Large diffs are not rendered by default.

560 changes: 282 additions & 278 deletions C++/doc/_daidalus_real_bands_8h_source.html

Large diffs are not rendered by default.

173 changes: 91 additions & 82 deletions C++/doc/_daidalus_vs_bands_8h_source.html

Large diffs are not rendered by default.

146 changes: 77 additions & 69 deletions C++/doc/_debug_8h_source.html

Large diffs are not rendered by default.

266 changes: 136 additions & 130 deletions C++/doc/_detection3_d_8h_source.html

Large diffs are not rendered by default.

132 changes: 68 additions & 64 deletions C++/doc/_detection3_d_parameter_reader_8h_source.html

Large diffs are not rendered by default.

108 changes: 56 additions & 52 deletions C++/doc/_detection3_d_parameter_writer_8h_source.html

Large diffs are not rendered by default.

247 changes: 125 additions & 122 deletions C++/doc/_e_n_u_projection_8h_source.html

Large diffs are not rendered by default.

225 changes: 114 additions & 111 deletions C++/doc/_error_log_8h_source.html

Large diffs are not rendered by default.

128 changes: 66 additions & 62 deletions C++/doc/_error_reporter_8h_source.html

Large diffs are not rendered by default.

218 changes: 111 additions & 107 deletions C++/doc/_euclidean_projection_8h_source.html

Large diffs are not rendered by default.

128 changes: 66 additions & 62 deletions C++/doc/_fixed_aircraft_urgency_strategy_8h_source.html

Large diffs are not rendered by default.

96 changes: 50 additions & 46 deletions C++/doc/_function_8h_source.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 812783d

Please sign in to comment.