Commit Graph

2263 Commits

Author SHA1 Message Date
f8a432c8a0 Bump path-to-regexp and express in /trick_source/web/dashboard (#1780)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10)

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

---
updated-dependencies:
- dependency-name: path-to-regexp
  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-09-17 10:14:03 -05:00
cca503a6ec Updated trickops.yml to use a newer Ubuntu (#1769)
* Updated to use ubuntu22 instead of ubuntu20 due to the koviz update that removed deprecated calls from an older Qt on ubuntu20.

* Changed perl-modules-5.30 to perl-modules-5.34 as ubuntu20 uses perl 5.30 and ubuntu22 uses perl 5.34.
2024-09-05 14:51:19 -05:00
55f055eb70 Update README.md
Coveralls provides no value
2024-09-05 14:42:29 -05:00
052d0bfedb Bump webpack from 5.88.2 to 5.94.0 in /trick_source/web/dashboard (#1766)
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  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-05 14:26:44 -05:00
1f1a935228 Bump micromatch from 4.0.5 to 4.0.8 in /trick_source/web/dashboard (#1767)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  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-05 14:25:26 -05:00
b794aba68d Update Input-File.md to describe the Factory Function method of alloc… (#1763)
* Update Input-File.md to describe the Factory Function method of allocating objects from the input file.

* Fix issues caught during review. #1763
2024-08-28 10:39:54 -05:00
d2ec14dc02 Wiki button (#1755)
* Added a wiki button

* Removed commented code

* Updated SCP image

---------

Co-authored-by: Pherring04 <plherrin@JSLRL0523040929.ndc.nasa.gov>
2024-08-27 15:03:33 -05:00
de1cb6740b Fixed the warning and error messages when toggling monte carlo (#1761) 2024-08-20 10:47:05 -05:00
b87598c80c Updated to use default-jdk package instead of openjdk-11-jdk for ubuntu. (#1757)
* Updated to use default-jdk package instead of openjdk-11-jdk for ubuntu.

* Added a note for using a specific JDK version for ubuntu.

* Fixed typo
2024-08-20 10:36:16 -05:00
26f6a02e44 Added "target_integ_time" to Integrator class. It can be useful to know the integration time. (#1760)
Co-authored-by: Thomas Brain <thomas.a.brain@nasa.gov>
2024-08-13 10:51:24 -05:00
446f1fa757 1747 create a document page for simulation control panel (#1750)
* Created a basic outline for the documentation

* Filled in outline more

* Created the reference images

* Documentation update

* Finish rough draft of Sim Control Panel documentation

* Updated the Throttle documentation

* Documentation updates

* Standardized punctuation

* Update

* Updated Docs

* update control panel

* Unseasoned Simulation Connection

* Shenanigans

* Fixed the shenanigans

* Changed to passive voice, updated graphic

* Update SimControlPanel.md for consistency and clean-up
2024-08-06 10:19:02 -05:00
92b0168b7b Speed up Trick::ScheduledJobQueue::push (#1694)
* Speed up Trick::ScheduledJobQueue::push

* Make comparator a static function

* Use upper_bound instead

* Use explicit types

* Update comment

* Fix formatting
2024-07-23 12:16:57 -05:00
f892b41d2d Added TRICK_LDFLAGS to the rule for linking shared library for jit input. (#1745)
* Added TRICK_LDFLAGS to the rule for linking shared library so user can use TRICK_LDFLAGS for linking shared library if necessary.

* Removed the new line added by accident.
2024-07-23 11:53:33 -05:00
a9aa7088ad SWIG 4 Template Directive Changes (#1741)
* Updated convert_swig to account for template directive changes in SWIG 4

* Fixed merge issues

* Merge cleanup
2024-07-23 11:45:37 -05:00
7b4253d703 Added swig support for templates with array parameters (#1742)
* Added support for templates with array parameters

* Added test case for array templates
2024-07-16 10:44:04 -05:00
f2e93ac490 Fix for assigning to non-existent variables (#1708) (#1718)
* Fix for assigning to non-existent variables (#1708)

This fix modifies Trick's convert_swig script.  It
adds a directive to not accept dynamic attributes.
The directive will ensure that modelers do not
assign to non-existent parameter in their input files.

The prior fix (issues #1288 and/or #1603) did not
cover C structures, so this commit is really an
addendum to that fix.  With this commit, the convert_swig
script will generate a non-dynamic directive foreach
class and structure.

This fix also stops generating swig interface code
for typedef structure definitions since swig only
produces an interface to the actual typedef name.
For example, with this typedef:

typedef struct StructureName {
   double  main_engine_thrust;  /* N Thrust of main engine */
   struct StructureName* next;  /* ** Next pointer */
} TypeDefName;

swig creates an interface for "TypeDefName", and not
"StructureName", so there is no need for Trick to
produce anything in regards "StructureName".

* Fix for issue with classes defined in ifndef SWIG block

convert_swig takes in the raw header and does no preprocessing,
so blocks of c/c++ header code which are meant to be skipped
by Swig are processed by convert_swig.  This causes an issue
with the generated python code that try to access classes
that are ifndef SWIGed out.

To fix this, check for class existence in the generated python
code e.g:

if 'MomMom' in globals():
    MomMom.__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)

* Fix for assignment to swig_double and swig_int primitives

The previous commit(s) on this branch fixed bad assignments
like (misspell position an attribute of BSTATE_IN):
ball.state.input.positiaaaan = 4.0

This commit fixes bad assignments to leaf/primitive attributes
like (try to add attribute to primitive/leaf double type):

ball.state.input.position.fred = 4.0

* Moved _swig_setattr_nondynamic_instance_variable to right after each class in process_class and removed duplicate _swig_setattr_nondynamic_instance_variable blocks for classes that are not in a namespace.

* Add the call for __setattr__ for class templates.

---------

Co-authored-by: Hong Chen <hong.chen-1@nasa.gov>
2024-07-16 10:34:02 -05:00
f666708374 Repurposed -OO for all sim run outputs including S_sie.resource being saved in the specified directory. (#1714)
* Repurposed -OO so all sim run outputs including S_sie.resource are saved to the specified folder. The files are placed in the sub-dir either RUN_xxx or DP_Product of the specified folder.

* Updated for repurposed -OO.

* Added quoting code markdown for such as in order to show <name> as is.

* Added quoting code for missing items.

* Updated to raise an error when the --read-only-sim flag is used without the -O or -OO. Also made updates to the related document accordingly.

* Fixed the error message to be more clear.
2024-07-16 10:31:52 -05:00
bc44a652b9 Merge pull request #1739 from nasa/CentOS-7-CI-round2
CentOS 7 CI Failures - Run CentOS CI with Node 16 instead of 20
2024-07-11 11:03:55 -05:00
c75a71579c Clean up 2024-07-10 15:15:10 -05:00
928bec15b0 CentOS 7 CI Testing 2024-07-10 14:52:50 -05:00
21458bf30e CentOS 7 CI Testing 2024-07-10 12:09:56 -05:00
3686191e6a CentOS 7 CI Testing 2024-07-10 11:52:33 -05:00
d0a12c885f CentOS 7 CI Testing 2024-07-10 11:32:35 -05:00
29cb2ad7d5 Changed checkout from v3 to v4 2024-07-10 11:25:58 -05:00
03246a5137 CentOS 7 CI Testing 2024-07-10 09:17:58 -05:00
3835379acb Merge pull request #1738 from nasa/CentOS-Mirrorlink-Fix
CentOS CI Fix
2024-07-02 14:59:31 -05:00
5ff32b1622 CI testing 2024-07-02 13:02:36 -05:00
7d663a7f32 CI testing 2024-07-02 12:47:00 -05:00
1f6cebfc3c CI testing 2024-07-02 12:42:38 -05:00
f3c0fbd0a6 CI testing 2024-07-02 12:40:53 -05:00
2b3718e112 Change CentOS to base url 2024-07-02 12:36:06 -05:00
3030603298 Change CentOS to base url 2024-07-02 12:33:43 -05:00
47dad0028b Change CentOS to base url 2024-07-02 12:21:24 -05:00
03c6729819 Change CentOS to base url 2024-07-02 12:18:13 -05:00
69326b6279 Change CentOS to base url 2024-07-02 10:51:34 -05:00
3fb87b8f9c ci testing 2024-07-02 09:16:04 -05:00
37e273a024 Corrected .d file path for the clean target in Makefile.input file. (#1735) 2024-06-27 10:34:44 -05:00
7bc531273c 1720 websocket freeze issue (#1724)
* fixed web server freeze issue

* Revert "fixed web server freeze issue"

This reverts commit 7883453f6a.

* Fixed Webserver freeze issue

---------

Co-authored-by: Marcus Rockwell <marcusrockwell@gmail.com>
2024-06-27 10:25:22 -05:00
abddad8424 Bump braces from 3.0.2 to 3.0.3 in /trick_source/web/dashboard (#1734)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 15:22:52 -05:00
aab65cf803 Merge pull request #1733 from nasa/Fix-MacOS-CI-dependencies-install
Updated the MacOS CI workflow so that bash won't exit with brew upgrade exits with non-zero exit code.
2024-06-20 13:36:28 -05:00
23b1c7d74d Updated the MacOS CI workflow so that bash won't exit with brew upgrade exits with non-zero exit code. 2024-06-19 10:03:14 -05:00
b3c825d026 Fix typo in Realtime Best Practices (#1732)
Remove a duplicate _frame from a plain text version of a filename
2024-06-18 15:05:58 -05:00
c2c068a04a Made updates for macOS especially for Apple Silicon. (#1721) 2024-06-05 11:58:03 -05:00
10831cee66 Merge pull request #1723 from nasa/1722-documentation-placeholder-instead-of-link
1722 documentation placeholder instead of link
2024-05-29 11:13:44 -05:00
e044d1f13a Fixed links 2024-05-29 10:41:04 -05:00
982a434957 Update Simulation-Definition-File.md
Added an actual link instead of a placeholder
2024-05-29 10:29:58 -05:00
a1d151c4c3 Updated not to always pass disown flag for swig pointer conversion instead base on "own" value of the input object. (#1690) 19.7.2 2024-05-23 10:37:27 -05:00
d997759a6d Water Clock Cleanup (#1711)
* Cleaned up Water Clock and added C interface support for message subscriptions

* Added support for message publishers in C interface

* Revert "Added support for message publishers in C interface"

This reverts commit e3233891d7.
2024-05-23 10:30:56 -05:00
5219c1d279 message (#1712) 2024-05-23 10:29:53 -05:00
27e4264c2a Removed double quotes for port number and added some inline code syntax highlighting with back-ticks. (#1717)
* Removed double quotes for port number and added some inline code syntax highlighting with back-ticks.

* Added one more inline code syntax highlighting.
2024-05-23 10:13:50 -05:00