1. be able to calculate the sat pos of BDS & Galileo
2. be able to Single postiting by GPS & Galileo
This commit is contained in:
KenanZhu111 committed 2024-10-14 21:24:01 +08:00
1 parent f29614d834
commit aba6c009ab
13 files changed
+1830 -947

No files matched your search

+9 -9
View File
@@ -2,16 +2,16 @@
#define _2GPST_H_
/* -------------------------------------------------------------------------- */
/// @brief 将世界协调时转换为GPS周内秒
/// @param y 年
/// @param m 月
/// @param d 日
/// @param h 时
/// @param min 分
/// @param sec 秒
/// @return 返回GPS周内秒
/// @brief convert UTC to GPS Second of week
/// @param y year
/// @param m month
/// @param d day
/// @param h hour
/// @param min minute
/// @param sec second
/// @return return GPS Second of week
/* -------------------------------------------------------------------------- */
double Time2GPSsec(int y, int m, int d, double h, int min, double sec)
double Time2Weeksec(int y, int m, int d, double h, int min, double sec)
{
if (m > 2)
{