-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
268 additions
and
179 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
/// \file CNbSatDelay.cpp | ||
/// | ||
/// \brief | ||
/// | ||
/// \date creation : 12/10/2024 | ||
/// \date modification : 12/10/2024 | ||
/// | ||
|
||
#include "../BertheVarioTac.h" | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
/// \brief Renvoi le temps en secondes d'attente apres un changement de nombre | ||
/// de satellites en vue. | ||
/// \return m_sat_sec : si 4 satellites. | ||
/// \return 0 : si 26 satellites. | ||
int CNbSatDelay::GetNbSatDelay(int NbSat) const | ||
{ | ||
float SecDelay = -((float)(g_GlobalVar.m_Config.m_sat_sec))*((float)NbSat)/22. + ((float)(g_GlobalVar.m_Config.m_sat_sec))*26./22. ; | ||
return (int)SecDelay ; | ||
} |
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,21 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
/// \file CNbSatDelay.h | ||
/// | ||
/// \brief | ||
/// | ||
/// \date creation : 12/10/2024 | ||
/// \date modification : 12/10/2024 | ||
/// | ||
|
||
#ifndef _NBSATDELAY_ | ||
#define _NBSATDELAY_ | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
/// \brief Temps d'attente decroissant avec le nombre de satelittes en vue. | ||
class CNbSatDelay | ||
{ | ||
public : | ||
int GetNbSatDelay( int NbSat ) const ; | ||
} ; | ||
|
||
#endif |
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.