* 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>
* 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.
* 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.
* 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.
* 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
* Speed up Trick::ScheduledJobQueue::push
* Make comparator a static function
* Use upper_bound instead
* Use explicit types
* Update comment
* Fix formatting
* 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.
* 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>
* 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.