正常的创建地面站与卫星 或者地面站与飞行器之间的关系都是单方向的。
基本都是值考虑地面站与飞行器之间的角度等。有无遮挡。
实际中需要考虑的比较多,比如地形,障碍物,两者之间的距离,雷达卫星功率高度等等,
对源和目的都是有约束条件的。
那么两个约束条件怎么添加呢?
定义地面站和卫星:
AccessComputation access = new AccessComputation();
access.Transmitter = satellitePlatform;
access.Receiver = facilityPlatform;
添加CentralBodyObstructionConstraint 约束
An Access constraint that requires that the view from one object to another not be obstructed by a central body such as the Earth or another planet. Only the spheroidal shape of the central body is considered. That is, terrain and the mean sea level surface are NOT considered.
access.TransmitterConstraints.Add(new CentralBodyObstructionConstraint());
在添加ElevationAngleConstraint 约束
An Access constraint that requires that the object at the other end of the