2267 Commits

Author SHA1 Message Date
Mrockwell2
e339da61ab
Update Makefile to take gui tests out of pipeline 2024-12-11 12:17:10 -06:00
Marcus Rockwell
9faa5f95a4 Adding testing documentation 2024-12-11 08:02:14 -06:00
Marcus Rockwell
8ea4a35125 Cleaned up test suite and ensured all three run and pass 2024-11-25 17:14:16 -06:00
Marcus Rockwell
d35d750a74 Finished Trick View Test Suite 2024-11-20 15:23:19 -05:00
Marcus Rockwell
3fc5f5fc80 save and loading tests trick tv 2024-11-19 22:18:16 -06:00
Marcus Rockwell
1a75fce084 Updated fixture 2024-11-13 17:19:42 -05:00
Marcus Rockwell
de668a7c2e Merge branch 'TrickView_EDT_Compliance' into AssertJ_Swing_Tests 2024-11-13 12:31:11 -05:00
Marcus Rockwell
7173abc65c updated swing worker 2024-11-13 12:30:16 -05:00
Marcus Rockwell
050b9914cc Merge branch 'master' into AssertJ_Swing_Tests 2024-11-13 11:52:24 -05:00
Marcus Rockwell
4869dbe3d6 Trick View test suite framework 2024-11-12 20:37:06 -06:00
Marcus Rockwell
6e42bc55d6 Cleaning Up Imports 2024-11-12 20:35:45 -06:00
Aditya Girish
0292b52cf7
Added graphics client for SIM rigid body. (#1779)
* added SIM_singlerigidbody

* Added matrix operations file.

* Imported libraries and declared variables.

* New objects and more defined values.

* Declared more variables and added AzElRot. function.

* Sockets and file connections 1

* Adding to variable server.

* Variables for the variable server.

* Variable parsing added.

* Vertex model for crewModule; need to change to sphere later.

* Body and vantage positioning functions.

* Drawing functions to create the model.

* Finished drawing functions for world.

* Changed some of the object names and variable names for sync.

* Added Makefile.

* Added POM file.

* Graphics client starter added to input file.

* Changed paths in S_define to reflect current file structure.

* More accurate cd error message in input file.

* Color hardcoded for testing purposes and getting the sim running.

* S_overrides changed to include graphics cleaning for each sim execution.

* S_define formatted for better readability.

* Changed shape to a dodecahedron.

* Path changed for input file.

* Airport commit

* New edges for dodecahedron.

* Triangle normals for the dodecahedron changed.

* Sim variable parsing fixed for functionality.

* Edges of dodecahedron fixed.

* Changed paint color for the shape to change based on location.

* Deleted unnecessary JViewport library.

* Increased length of x, y, and z axis lines.

* Increased vantage distance.

* Fixed triangles and normals.

* Commented on the edges.

* Deleted the notes file.

* Removed trick.frame_long_on() from splashdown SIM's realtime.py in modified data directory.

* Deleted sims directory (including images sub directory).

* Removed unnecessary body.hh and body.cpp from subdirectory.

* Removed unnecessary files.

---------

Co-authored-by: Wallace <bnwalla1@scooby.trick.gov>
Co-authored-by: AdityaGirish <aditya.girish@nasa.gov>
2024-11-12 11:23:32 -06:00
dbankieris
aecf6a06fd
Improve SWIG %template directive scoping - take 2 (#1753)
* Correct convert_swig regex for qualified templates

Closes #1751

* Improve SWIG %template directive scoping - take 2

Refs #768

* Add nested namespace tests

Refs #768

* Replace ">>" with "> >"

Probably time to drop support for CentOS 7, ya know.

* Add SWIG template scoping documentation

Refs #1753
2024-11-12 11:22:55 -06:00
Hong Chen
e8508ea575
Add calls for getting the total number of data recording groups and the data recording group pointer by its id number (#1799)
* Added new function calls to data_record_utilities for getting the total number of data recording groups and the data recording group pointer by its id number per customer request.

* Deleted unnecessary variable.

* Added a couple of more unit tests and fixed the return number to 0 instead of NULL for getting total number of drgs.
2024-11-12 10:42:46 -06:00
Pherring04
937712daa4
Fixing a minor nuisance (#1801)
* Centered the test results

The has been seriously bugging me.

* Aligned columns
2024-10-29 14:55:38 -05:00
Pherring04
9e974e6a9b
Addressed phantom frame log restart jobs (#1787)
* Frame Log DRG now manage their own jobs (no longer add a phantom restart job)

* Actually removed frame log drg restart jobs this time

* Refactored to avoid duplicate code

* Refactor

* Fixed DR constructors

* Fixed some syntax stuff centos was throwing a tantrum about

* More centos whining

* Centos...

* Centos...

* Clean up
2024-10-29 11:05:33 -05:00
dependabot[bot]
a352c821f4
Bump http-proxy-middleware in /trick_source/web/dashboard (#1800)
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.6...v2.0.7)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 10:27:45 -05:00
Marcus Rockwell
17fb0f447d Merge branch 'AssertJ_Swing_Tests' of https://github.com/Mrockwell2/trick into AssertJ_Swing_Tests 2024-10-28 16:39:51 -05:00
Marcus Rockwell
92ca9c382a Figuring out starting the simulation to test Trick View 2024-10-28 12:01:34 -04:00
Marcus Rockwell
31fdd55080 copied DreFixture to create TVFixture 2024-10-25 09:48:57 -05:00
Marcus Rockwell
e1d66dd724 Update Dre Test Suite 2024-10-23 15:21:42 -04:00
Pherring04
419b204c90
Added TRICKIFY_EXT_LIB_DIRS env variable (#1756) 2024-10-22 10:36:01 -05:00
Pherring04
981deff397
Taking CentOS to the glue factory (#1796)
* Old yellering CentOS

* CentOS is still haunting TrickOPs

* Begone spirit of CentOS

* CentOS's ghost has been laid to rest
2024-10-22 10:21:33 -05:00
dependabot[bot]
4f00d92d10
Bump cookie and express in /trick_source/web/dashboard (#1798)
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-22 10:18:01 -05:00
Marcus Rockwell
d7a58f56d1 test suite uipdate 2024-10-21 07:45:02 -05:00
bnwalla1
7bc6ab74a8
added SIM_singlerigidbody (#1762)
* added SIM_singlerigidbody

* Removed a few sections in the README file

* Removed the sims directory

* Added shutdown job and made minor changes to body.cpp

---------

Co-authored-by: Wallace <bnwalla1@scooby.trick.gov>
2024-10-16 14:37:48 -05:00
Mrockwell2
b2403dcfc6
Fixed debug_pause semaphore name (#1793) 2024-10-15 10:50:33 -05:00
Hong Chen
5a5379b975
Added _swig_setattr_nondynamic_instance_variable function call back for struct and moved it to right after struct declaration instead of at the end of the swig interface file. (#1795) 2024-10-15 10:41:17 -05:00
Hong Chen
48029fe031
Updated to use FileEntryRef to get name instead of FileEntry for clang18+ due the corresponding function is deprecated for the applicable clang versions. (#1792) 2024-10-15 10:37:03 -05:00
Marcus Rockwell
40023501c2 Tested options menu 2024-10-12 17:02:31 -05:00
Marcus Rockwell
d7f9b8a516 Added getters to dre fixture 2024-10-10 12:14:21 -04:00
Marcus Rockwell
79e68136ba temporary change to pom.xml to disable sim control tests 2024-10-09 19:30:27 -05:00
Marcus Rockwell
6ece3a2d9a Completed DRE Fixture 2024-10-09 19:29:59 -05:00
Marcus Rockwell
65d637f7ef Standardized Dre Component creation for testing 2024-10-09 19:29:19 -05:00
Marcus Rockwell
4725c97c1a Added option interface to DreFixture 2024-10-09 10:25:36 -04:00
Marcus Rockwell
0992e52f22 Refactored menu bar generation to use existing methods. 2024-10-07 15:38:33 -04:00
Marcus Rockwell
eace2216bf Renamed SimControl Test suite 2024-10-06 19:31:58 -05:00
Marcus Rockwell
dc9559e131 Set up DRE AssertJ Fixture 2024-10-06 19:31:31 -05:00
Marcus Rockwell
d5dcc315ac Implemented the skeleton of the DataRecording test suite 2024-10-03 12:09:34 -04:00
Marcus Rockwell
90feb68a5f Fixed constructor issue with StubbedSimControlApplication 2024-10-02 16:11:17 -04:00
Marcus Rockwell
671b7dc065 Moved font chooser fixtures into sim control test directory 2024-10-02 16:04:16 -04:00
Pherring04
1bdabadcbe
Fixed new job index calc (#1791)
* Fixed new job index calc

* Added additional index test
2024-09-30 13:53:02 -05:00
dependabot[bot]
ab2c5b2290
Bump rollup from 2.79.1 to 2.79.2 in /trick_source/web/dashboard (#1788)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 09:11:23 -05:00
Sean Harmeyer
d34844e76c
1746 trick view variable search causes large spike in cpu usage (#1786)
* Add new "greedy search" option to toggle multi-threaded variable search

* Back down to a single thread

* Fixed a typo.

---------

Co-authored-by: Hong Chen <hong.chen-1@nasa.gov>
2024-09-27 08:25:43 -05:00
Mrockwell2
c007cfc88a
Fixed error message for sims with the same port number (#1776)
* Fixed error message for same port number

* Fixed return values
2024-09-26 11:47:45 -05:00
Pherring04
c9cec718b4
Preserved job queue currant index after pushing a job. (#1781)
* Peserved job queue current index after pushing a job.

* Reconciled the heinous offense of using tabs.
2024-09-26 11:40:04 -05:00
Thomas Brain
1a842a6b89
Add deletions to tracking list if malloc or new (#1778)
* Add deletions to tracking list if malloc or new

* Add all TRICK_LOCAL deletions to deletion_list
2024-09-26 11:23:50 -05:00
Hong Chen
077064f225
Fixed one warning message at shutdown after checkpoint load and kept the current multicast group after checkpoint load. (#1784)
* Added a check before calling MM delete_var in ExternalApplication destructor;
Made sure that the MulticastGroup is not initialized before initializing it in VariableServerListenThread.cpp;

* Updated to call multicast group initialization to be consistent for the unit test.

* Removed unnecessary command c str pointer.

* Removed unnecessary command c str pointer.
2024-09-26 11:17:57 -05:00
Hong Chen
eed8707638
Added sub second information to message time stamps. (#1773)
* Added sub second information to message time stamps.

* Removed "0." for sub-second portion of time stamp.
2024-09-17 11:03:40 -05:00
Hong Chen
b46ba50fd0
Added optional remote shell config file for the remote startup command. (#1771)
* Added optional remote sheel config file for the remote startup command.

* Updated to cd to the sim directory after sourcing a config file in case the config file changed pwd.
2024-09-17 10:59:52 -05:00