-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware: app: structs: Adding the orbit prediction parameters to the…
… satellite data structure #336
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
* | ||
* \author Gabriel Mariano Marcelino <[email protected]> | ||
* | ||
* \version 0.8.39 | ||
* \version 0.10.7 | ||
* | ||
* \date 2020/07/16 | ||
* | ||
|
@@ -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 | ||
|
@@ -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_ */ | ||
|