STK Components 二次开发- 约束条件

正常的创建地面站与卫星 或者地面站与飞行器之间的关系都是单方向的。

基本都是值考虑地面站与飞行器之间的角度等。有无遮挡。

实际中需要考虑的比较多,比如地形,障碍物,两者之间的距离,雷达卫星功率高度等等,

对源和目的都是有约束条件的。

那么两个约束条件怎么添加呢?

定义地面站和卫星:

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值