Skip to content

Commit

Permalink
firmware: app: structs: Adding the orbit prediction parameters to the…
Browse files Browse the repository at this point in the history
… satellite data structure #336
  • Loading branch information
mgm8 committed Jul 19, 2023
1 parent ef90c86 commit 8767a7e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion firmware/app/structs/obdh_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
* \author Gabriel Mariano Marcelino <[email protected]>
*
* \version 0.8.39
* \version 0.10.7
*
* \date 2020/07/16
*
Expand Down Expand Up @@ -60,6 +60,11 @@
#define OBDH_PARAM_ID_INITIAL_HIB_TIME_COUNTER 17 /**< Initial hibernation time counter in minutes. */
#define OBDH_PARAM_ID_ANT_DEPLOYMENT_EXECUTED 18 /**< Antenna deployment executed flag. */
#define OBDH_PARAM_ID_ANT_DEPLOYMENT_COUNTER 19 /**< Antenna deployment counter. */
#define OBDH_PARAM_ID_TLE_LINE1 20 /**< TLE line 1. */
#define OBDH_PARAM_ID_TLE_LINE2 21 /**< TLE line 2. */
#define OBDH_PARAM_ID_LATITUDE 22 /**< Latitude in degrees. */
#define OBDH_PARAM_ID_LONGITUDE 23 /**< Longitude in degrees. */
#define OBDH_PARAM_ID_ALTITUDE 24 /**< Altitude in kilometers. */

/* Operation modes */
#define OBDH_MODE_NORMAL 0
Expand Down Expand Up @@ -95,6 +100,11 @@ typedef struct
uint8_t initial_hib_time_count; /**< Initial hibernation time counter in minutes. */
bool ant_deployment_executed; /**< Antenna deployment executed flag. */
uint8_t ant_deployment_counter; /**< Antenna deployment counter. */
uint8_t tle_line1[70]; /**< TLE line 1 in ASCII. */
uint8_t tle_line2[70]; /**< TLE line 2 in ASCII. */
uint16_t latitude; /**< Latitude in degrees. */
uint16_t longitude; /**< Lontitude in degrees. */
uint16_t altitude; /**< Altitude in kilometers. */
} obdh_data_t;

#endif /* OBDH_DATA_H_ */
Expand Down

0 comments on commit 8767a7e

Please sign in to comment.