More Linux / build (map[arch:debian arch_ver:10], apt-get install -y libgtest-dev
cd /usr/src/gtest
cmake .
make
cp libgtest* /usr/lib/
) (push) Has been cancelled
More Linux / build (map[arch:debian arch_ver:11], export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y tzdata
) (push) Has been cancelled
* Update send_hs.py to work with the new fields Trick's output produces
* Add unit tests and doctests for send_hs module
* Update TrickOps documentation to include info on send_hs usage
* Remove MonteCarloGenerationhelper.py's unecessary dependency on send_hs
Unrelated:
* Update pip when testing TrickOps per pip best practices
Closes#1807
Co-authored-by: Dan Jordan <daniel.d.jordan@nasa.gov>
* 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>
* 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.
* 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
* 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>
* 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>