1.星链数据下载
CelesTrak: Current GP Element Sets
下载二根数就可以。
2.处理数据
下载下来的数据是这样,要将字符串转为 二根数对象
TwoLineElementSet tle = new TwoLineElementSet(tleString);
Sgp4Propagator propagator = new Sgp4Propagator(tle);
3.批量创建卫星 设置名称和轨迹线
var issPoint = new Sgp4Propagator(tleList).CreatePoint();
var satellite = new Platform
{
Name = tleList.Name,
LocationPoint = issPoint,
OrientationAxes = new AxesVehicleVelocityLocalHorizontal(m_earth.FixedFrame, issPoint),
};
satellite.Extensions.Ad