-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #576 from AVSLab/refactor-prescribed-messages
Refactor prescribed messages
- Loading branch information
Showing
23 changed files
with
384 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/architecture/msgPayloadDefC/PrescribedRotationMsgPayload.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
ISC License | ||
Copyright (c) 2024, Autonomous Vehicle Systems Lab, University of Colorado at Boulder | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
*/ | ||
|
||
#ifndef prescribedRotationSimMsg_h | ||
#define prescribedRotationSimMsg_h | ||
|
||
|
||
/*! @brief Structure used to define the prescribed motion state effector rotational state data message */ | ||
typedef struct { | ||
double omega_FM_F[3]; //!< [rad/s] Angular velocity of the F frame wrt the M frame in F frame components | ||
double omegaPrime_FM_F[3]; //!< [rad/s^2] B/M frame time derivative of omega_FM_F | ||
double sigma_FM[3]; //!< MRP attitude parameters for the F frame relative to the M frame | ||
}PrescribedRotationMsgPayload; | ||
|
||
|
||
#endif /* prescribedRotationSimMsg_h */ |
32 changes: 32 additions & 0 deletions
32
src/architecture/msgPayloadDefC/PrescribedTranslationMsgPayload.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
ISC License | ||
Copyright (c) 2024, Autonomous Vehicle Systems Lab, University of Colorado at Boulder | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
*/ | ||
|
||
#ifndef prescribedTranslationSimMsg_h | ||
#define prescribedTranslationSimMsg_h | ||
|
||
|
||
/*! @brief Structure used to define the prescribed motion state effector translational state data message */ | ||
typedef struct { | ||
double r_FM_M[3]; //!< [m] Position vector from the M frame origin to the F frame origin expressed in M frame components | ||
double rPrime_FM_M[3]; //!< [m/s] B/M frame time derivative of r_FM_M | ||
double rPrimePrime_FM_M[3]; //!< [m/s^2] B/M frame time derivative of rPrime_FM_M | ||
}PrescribedTranslationMsgPayload; | ||
|
||
|
||
#endif /* prescribedTranslationSimMsg_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.