Add lat long conversion

This commit is contained in:
Tim Schubert 2020-08-23 21:25:54 +02:00
parent b7f459e36a
commit 70c70a19ce
8 changed files with 171 additions and 16 deletions

17
model/orbit.h Normal file
View file

@ -0,0 +1,17 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
#ifndef LEO_ORBIT_H
#define LEO_ORBIT_H
#include "ns3/uinteger.h"
class Orbit {
public:
Orbit (double a, double i, double p, double s) : alt (a), inc (i), planes (p), sats (s) {}
double alt;
double inc;
uint16_t planes;
uint16_t sats;
};
#endif