Added the pgrep utility to aid with searching for state field names. An example usage is given below which looks for all attitude fields within the simulation:
@jezero ~/git/pan/psim git:(feature/pgrep) venv:(3.9.2)
% ./tools/pgrep --verbose '.*attitude.*'
[INFO] Searching now with ".*attitude.*" ...
fc.{satellite}.attitude.is_valid
type: Integer
source: include/psim/fc/attitude_estimator.yml
comment:
Flag specifying whether or not the estimator is currently initialized. Zero
indicated the estimator isn't initialized while one indicates it has been
initialized.
fc.{satellite}.attitude.q.body_eci
type: Vector4
source: include/psim/fc/attitude_estimator.yml
comment:
Current attitude estimate.
fc.{satellite}.attitude.q.body_eci.error
type: Lazy Vector4
source: include/psim/fc/attitude_estimator.yml
comment:
Current attitude estimate error.
fc.{satellite}.attitude.q.body_eci.error.degrees
type: Lazy Real
source: include/psim/fc/attitude_estimator.yml
comment:
Current attitude estimate error represented as a scalar in degrees.
fc.{satellite}.attitude.p.body_eci.error
...
Summary of changes
Added the
pgrep
utility to aid with searching for state field names. An example usage is given below which looks for all attitude fields within the simulation:r in the more verbose mode: