亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? phasewindup.cpp

?? linux的gps應用
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
#pragma ident "$Id: PhaseWindup.cpp 293 2006-11-10 16:39:56Z rickmach $"//============================================================================////  This file is part of GPSTk, the GPS Toolkit.////  The GPSTk is free software; you can redistribute it and/or modify//  it under the terms of the GNU Lesser General Public License as published//  by the Free Software Foundation; either version 2.1 of the License, or//  any later version.////  The GPSTk is distributed in the hope that it will be useful,//  but WITHOUT ANY WARRANTY; without even the implied warranty of//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the//  GNU Lesser General Public License for more details.////  You should have received a copy of the GNU Lesser General Public//  License along with GPSTk; if not, write to the Free Software Foundation,//  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA//  //  Copyright 2004, The University of Texas at Austin////============================================================================//============================================================================////This software developed by Applied Research Laboratories at the University of//Texas at Austin, under contract to an agency or agencies within the U.S. //Department of Defense. The U.S. Government retains all rights to use,//duplicate, distribute, disclose, or release this software. ////Pursuant to DoD Directive 523024 //// DISTRIBUTION STATEMENT A: This software has been approved for public //                           release, distribution is unlimited.////=============================================================================/** * @file PhaseWindup.cpp * Implement computations of phase windup, solar ephemeris, satellite attitude * and eclipse at the satellite. */ // -----------------------------------------------------------------------------------// GPSTk includes#include "Position.hpp"#include "Matrix.hpp"#include "geometry.hpp"             // DEG_TO_RAD#include "icd_200_constants.hpp"    // TWO_PIusing namespace std;using namespace gpstk;// -----------------------------------------------------------------------------------void SolarPosition(DayTime t, double& lat, double& lon, double& R, double& AR);Matrix<double> SatelliteAttitude(DayTime& tt, Position& SV, double& sf);double shadowFactor(double Rearth, double Rsun, double dES);static double GMST(DayTime t);// -----------------------------------------------------------------------------------// Given a Position, compute unit (ECEF) vectors in the Up, East and North directions// at that position. Use geodetic coordinates, i.e. 'up' is perpendicular to the// geoid. Return the vectors in the form of a 3x3 Matrix<double>, this is in fact the// rotation matrix that will take an ECEF vector into an 'up-east-north' vector.Matrix<double> UpEastNorth(Position& P){try {   Matrix<double> R(3,3);   P.transformTo(Position::Geodetic);   double lat = P.getGeodeticLatitude() * DEG_TO_RAD;      // rad N   double lon = P.getLongitude() * DEG_TO_RAD;             // rad E   double ca = ::cos(lat);   double sa = ::sin(lat);   double co = ::cos(lon);   double so = ::sin(lon);   // This is the rotation matrix which will take X=(x,y,z) into (R*X)(up,east,north)   R(0,0) =  ca*co;  R(0,1) =  ca*so;  R(0,2) = sa;   R(1,0) =    -so;  R(1,1) =     co;  R(1,2) = 0.;   R(2,0) = -sa*co;  R(2,1) = -sa*so;  R(2,2) = ca;   // The rows of R are also the unit vectors, in ECEF, of up,east,north;   //  R = (U && E && N) = transpose(U || E || N).   //Matrix<double> U = R.rowCopy(0);   //Matrix<double> E = R.rowCopy(1);   //Matrix<double> N = R.rowCopy(2);   return R;}catch(Exception& e) { GPSTK_RETHROW(e); }catch(exception& e) { Exception E("std except: "+string(e.what())); GPSTK_THROW(E); }catch(...) { Exception e("Unknown exception"); GPSTK_THROW(e); }}// -----------------------------------------------------------------------------------// Generate a 3x3 rotation Matrix, for direct rotations about one axis// (for XYZ, axis=123), given the rotation angle in radians;// @param angle in radians.// @param axis 1,2,3 as rotation about X,Y,Z.// @return Rotation matrix (3x3).// @throw InvalidInput if axis is anything other than 1, 2 or 3.Matrix<double> SingleAxisRotation(double angle,                                  int axis)   throw(Exception){try {   if(axis < 1 || axis > 3) {      Exception e(string("Invalid axis (1,2,3 <=> X,Y,Z): ")            + StringUtils::asString(axis));      GPSTK_THROW(e);   }   Matrix<double> R(3,3,0.0);   int i1=axis-1;                      // axis = 1 : 0,1,2   int i2=i1+1; if(i2 == 3) i2=0;      // axis = 2 : 1,2,0   int i3=i2+1; if(i3 == 3) i3=0;      // axis = 3 : 2,0,1   R(i1,i1) = 1.0;   R(i2,i2) = R(i3,i3) = ::cos(angle);   R(i3,i2) = -(R(i2,i3) = ::sin(angle));   return R;}catch(Exception& e) { GPSTK_RETHROW(e); }catch(exception& e) { Exception E("std except: "+string(e.what())); GPSTK_THROW(E); }catch(...) { Exception e("Unknown exception"); GPSTK_THROW(e); }}// -----------------------------------------------------------------------------------// Compute the satellite attitude, given the time and the satellite position SV.// Return a 3x3 Matrix which contains, as rows, the unit (ECEF) vectors X,Y,Z in the// body frame of the satellite, namely//    Z = along the boresight (i.e. towards Earth center),//    Y = perpendicular to both Z and the satellite-sun direction, and//    X completing the orthonormal triad. X will generally point toward the sun.// Also return the shadow factor = fraction of the sun's area visible to satellite.Matrix<double> SatelliteAttitude(DayTime& tt, Position& SV, double& sf){try {   int i;   double d,svrange,lat,lon,DistSun,Radsun,Radearth,dES;   Position X,Y,Z,T;   Matrix<double> R(3,3);   // Z points from satellite to Earth center - along the antenna boresight   Z = SV;   Z.transformTo(Position::Cartesian);   svrange = Z.mag();   d = -1.0/Z.mag();   Z = d * Z;                                // reverse and normalize Z   // T points from satellite to sun   SolarPosition(tt, lat, lon, DistSun, Radsun);   Radsun *= DEG_TO_RAD;                     // angular radius of sun at satellite   Radearth = ::asin(6378137.0/svrange);     // angular radius of earth at sat   T.setGeocentric(lat,lon,DistSun);         // vector earth to sun   T.transformTo(Position::Cartesian);   T = T - SV;                               // sat to sun=(E to sun)-(E to sat)   d = 1.0/T.mag();   T = d * T;                                // normalize T   dES = ::acos(Z.dot(T));                   // apparent angular distance, earth                                             // to sun, as seen at satellite   sf = shadowFactor(Radearth, Radsun, dES); // is satellite in eclipse?   //if(sf > 0.999) { ;    // total eclipse }   //else if(sf > 0.0) { ; // partial eclipse }   //else { ;              // no eclipse }   // Y is perpendicular to Z and T, such that ...   Y = Z.cross(T);   d = 1.0/Y.mag();   Y = d * Y;                                // normalize Y   // ... X points generally in the direction of the sun   X = Y.cross(Z);                           // X will be unit vector   if(X.dot(T) < 0) {                        // need to reverse X, hence Y also      X = -1.0 * X;      Y = -1.0 * Y;   }   // fill the matrix and return it   for(i=0; i<3; i++) {      R(0,i) = X[i];      R(1,i) = Y[i];      R(2,i) = Z[i];   }   return R;}catch(Exception& e) { GPSTK_RETHROW(e); }catch(exception& e) { Exception E("std except: "+string(e.what())); GPSTK_THROW(E); }catch(...) { Exception e("Unknown exception"); GPSTK_THROW(e); }}// -----------------------------------------------------------------------------------// Compute the phase windup, in cycles, given the time, the unit vector from receiver// to transmitter, and the west and north unit vectors at the receiver, all in ECEF.// YR is the West unit vector, XR is the North unit vector, at the receiver.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
伊人开心综合网| 久久午夜免费电影| 国产精品资源站在线| 亚洲国产日日夜夜| 亚洲摸摸操操av| 亚洲少妇最新在线视频| 自拍偷自拍亚洲精品播放| 久久久精品欧美丰满| 26uuu欧美| 久久中文字幕电影| 久久久久久**毛片大全| 国产欧美一区二区精品秋霞影院| 日韩女优视频免费观看| 精品国产一区二区三区忘忧草 | 欧美妇女性影城| 欧美亚洲动漫精品| 在线欧美一区二区| 欧美日韩一区二区三区不卡| 91精品久久久久久蜜臀| 欧美一级欧美三级在线观看| 日韩一区二区三区高清免费看看| 欧美变态tickling挠脚心| 欧美tickling挠脚心丨vk| 久久久91精品国产一区二区精品 | 日韩视频免费观看高清完整版在线观看 | 美女在线视频一区| 韩国女主播一区| 丰满白嫩尤物一区二区| 日本乱人伦aⅴ精品| 欧美日韩一区二区在线观看| 欧美日韩国产影片| 日韩欧美一区在线观看| 国产精品三级久久久久三级| 亚洲精品视频观看| 美女在线观看视频一区二区| 粉嫩在线一区二区三区视频| 欧美三级日韩在线| 久久久美女毛片 | 欧美亚州韩日在线看免费版国语版| 欧美午夜精品久久久久久孕妇| 日韩一区二区三| 1024成人网色www| 日韩电影一二三区| k8久久久一区二区三区| 日韩一级完整毛片| 亚洲色欲色欲www| 蜜桃视频在线观看一区二区| 91影院在线免费观看| 日韩欧美中文字幕精品| 亚洲精选视频免费看| 日产欧产美韩系列久久99| 97se亚洲国产综合在线| 久久久久久亚洲综合影院红桃| 中文字幕日韩一区| 日本欧美大码aⅴ在线播放| 成年人国产精品| 日韩一级片网站| 亚洲一区在线看| 成人在线视频一区二区| 91精品国产欧美一区二区| 亚洲视频在线一区二区| 国产精品一区在线观看乱码 | 欧美日韩的一区二区| 国产精品久久久一区麻豆最新章节| 日本欧美在线看| 欧美撒尿777hd撒尿| 亚洲精品欧美二区三区中文字幕| 国产精品99久| 精品欧美乱码久久久久久1区2区| 亚洲va韩国va欧美va| 972aa.com艺术欧美| 欧美高清在线视频| 国产传媒欧美日韩成人| 精品国产免费人成电影在线观看四季| 一区二区三区日韩在线观看| va亚洲va日韩不卡在线观看| 中文字幕av免费专区久久| 国产在线精品一区二区| 久久这里只有精品首页| 极品尤物av久久免费看| 欧美va亚洲va在线观看蝴蝶网| 日本不卡视频在线观看| 4hu四虎永久在线影院成人| 五月天精品一区二区三区| 欧美日韩久久一区| 亚洲图片欧美色图| 欧美高清www午色夜在线视频| 亚洲韩国精品一区| 欧美另类变人与禽xxxxx| 日韩精品免费视频人成| 在线播放欧美女士性生活| 日本sm残虐另类| 久久综合久久综合久久综合| 国产精品资源在线观看| 日本一区二区在线不卡| av电影在线不卡| 亚洲自拍偷拍欧美| 8v天堂国产在线一区二区| 老司机免费视频一区二区| 精品va天堂亚洲国产| 成人免费的视频| 亚洲自拍另类综合| 777亚洲妇女| 国产精品一区二区免费不卡| 最新国产の精品合集bt伙计| 欧美日韩大陆一区二区| 黑人巨大精品欧美黑白配亚洲| 欧美激情综合五月色丁香| 日本韩国一区二区| 麻豆91免费观看| 亚洲欧洲精品一区二区三区| 欧美在线短视频| 国内精品国产三级国产a久久| 亚洲婷婷在线视频| 欧美一级免费大片| av一区二区三区| 日韩制服丝袜先锋影音| 国产欧美1区2区3区| 欧美视频一区二区三区| 国产精品亚洲成人| 天天综合网天天综合色 | 成人黄色电影在线| 午夜av区久久| 中文字幕一区二区在线播放 | 九一九一国产精品| 亚洲另类在线视频| 久久免费电影网| 555www色欧美视频| 91网站黄www| 精品一区二区三区久久| 亚洲电影一级黄| 亚洲同性gay激情无套| 久久午夜国产精品| 欧美一卡二卡三卡四卡| 色综合久久九月婷婷色综合| 国产精品77777| 美女性感视频久久| 日韩精品一级中文字幕精品视频免费观看 | 色婷婷国产精品久久包臀| 国产精品1024| 蜜桃视频在线观看一区| 亚洲一区二区三区国产| 最新中文字幕一区二区三区| 国产午夜久久久久| 精品久久久久久亚洲综合网| 欧美男人的天堂一二区| 在线观看不卡视频| 色综合久久久网| 99久久免费视频.com| 成人av在线播放网址| 成人免费高清在线| 成人美女视频在线观看| 国产成人免费视频| 国产91富婆露脸刺激对白| 国产最新精品免费| 国产美女一区二区三区| 国产美女一区二区| 丰满少妇在线播放bd日韩电影| 国产风韵犹存在线视精品| 国产精品18久久久久久久久| 国产福利不卡视频| av高清久久久| 91久久奴性调教| 欧美系列日韩一区| 91超碰这里只有精品国产| 91精品国产麻豆国产自产在线| 欧美日韩视频一区二区| 91精品国产乱码久久蜜臀| 欧美tickle裸体挠脚心vk| 久久综合色鬼综合色| 国产精品全国免费观看高清| 国产精品久久久久一区 | 在线观看亚洲a| 欧美日韩高清在线| 精品久久人人做人人爰| 久久久噜噜噜久噜久久综合| 最新不卡av在线| 午夜欧美电影在线观看| 狠狠狠色丁香婷婷综合久久五月| 国产精品综合二区| 91福利视频久久久久| 91麻豆精品国产91久久久资源速度 | 久久久精品影视| 亚洲视频在线观看一区| 婷婷开心激情综合| 精品在线免费观看| 成人av资源在线| 欧美精品777| 久久久99精品久久| 亚洲超碰97人人做人人爱| 韩国三级电影一区二区| 99re热这里只有精品视频| 91精品黄色片免费大全| 日本一区二区免费在线| 亚洲与欧洲av电影| 国产精一品亚洲二区在线视频| 色呦呦国产精品| 精品国产乱码久久久久久久久| 亚洲色图都市小说| 激情都市一区二区|