Add sat and gnd node helpers

This commit is contained in:
Tim Schubert 2020-07-16 22:37:18 +02:00
parent 6c154b6d60
commit c2d69b4d03
11 changed files with 442 additions and 20 deletions

View file

@ -30,7 +30,7 @@ LeoWaypointInputFileStreamContainer::GetTypeId (void)
LeoWaypointInputFileStreamContainer::LeoWaypointInputFileStreamContainer () :
m_filePath (),
m_input ()
m_lastTime (0)
{
}
@ -66,7 +66,7 @@ LeoWaypointInputFileStreamContainer::GetNextSample (Waypoint &sample)
sample.time = Time (0);
sample.position = Vector (0.0, 0.0, 0.0);
bool updated = false;
while (sample.time < m_lastTime && (m_input >> sample))
while (sample.time <= m_lastTime && (m_input >> sample))
{
updated = true;
}