Added back the code that set the offset of variables with the offsetof function. This code is running by default. Any code that includes #ifndef TRICK_ICG in classes/structures will want this on. Added a flag to ICG that allows us to turn off writing of these lines. If the flag is present, ICG may write out io_src code for private/protected variables that it could not reach if an offsetof function was required. Code cannot have any #ifndef TRICK_ICG present in classes/structures for this to work.
The Trick Simulation Environment is developed at the NASA Johnson Space Center. Trick's flexible feature set enables users to build applications for all phases of space vehicle development including early vehicle design and performance evaluation, flight software development and testing, flight vehicle dynamic loads analysis, and virtual and hardware in the loop training. Trick's purpose is to provide a common set of simulation capabilities allowing the domain experts to concentrate on their domain specific models, rather than simulation-specific functions like an job ordering, input file processing, or data recording.
Installing Trick
The Installing Trick wiki page includes instructions to install Trick.
User's Guide
The full User's Guide is in the wiki pages.
Tutorial
The Trick Tutorial is located in share/doc/trick/Tutorial. Markdown and PDF versions are available.
Related Projects that use Trick
License
Trick is released under the NASA Open Source Agreement Version 1.3 license.