Skip to content

Commit

Permalink
Merge pull request #23 from Grabt234/refactors
Browse files Browse the repository at this point in the history
Refactors
  • Loading branch information
stpaine authored Apr 2, 2024
2 parents 90269bd + 2128ef9 commit 526d412
Show file tree
Hide file tree
Showing 19 changed files with 604 additions and 157 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/CMake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
with:
submodules: recursive

- name: Update
run: sudo apt-get update

- name: Install Requried Libs for FERS
run: sudo apt-get install libboost-all-dev libfftw3-dev libhdf5-dev libhdf5-serial-dev build-essential cmake cmake-qt-gui python-all-dev libtinyxml-dev

Expand Down
339 changes: 196 additions & 143 deletions config_validators/validator.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/regressionsuite/test1.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test pulsed radar. One Monostatic radar and one target -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/regressionsuite/test2.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test pulsed radar. One Monostatic radar and one moving target -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/regressionsuite/test3.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test pulsed radar. One Monostatic radar and one moving target -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/regressionsuite/test4.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test bistatic radar. One receiver, one transmitter and a moving target. -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/regressionsuite/test5.fersxml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Marc Brooker [email protected] -->

<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/regressionsuite/test6.fersxml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Marc Brooker [email protected] -->

<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test1.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test pulsed radar. One Monostatic radar and one target -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime> <!-- Simulation start time -->
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test2.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test pulsed radar. One Monostatic radar and one moving target -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test3.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test pulsed radar. One Monostatic radar and one moving target -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test4.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test bistatic radar. One receiver, one transmitter and a moving target. -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test5.fersxml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Marc Brooker [email protected] -->

<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test6.fersxml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Marc Brooker [email protected] -->

<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test7.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test CW radar. One Monostatic radar and one moving target -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases/test8.fersxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Test bistatic CW radar. One receiver, one transmitter and a moving target. -->
<?xml version="1.0" ?>
<!DOCTYPE simulation SYSTEM "../../fers-xml.dtd">
<!DOCTYPE simulation SYSTEM "../../xml_schema/fers-xml.dtd">
<simulation name="sim1">
<parameters>
<starttime>0</starttime>
Expand Down
6 changes: 6 additions & 0 deletions xml_schema/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Schema

- dtd is an older xml descriptor used in the original implementation of unit testing
- xsd is used for xml validation

note: when chagning xml defenitions - both files should be changed and relevant changes propogated throughout the codebase
File renamed without changes.
Loading

0 comments on commit 526d412

Please sign in to comment.