mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
Add sat and gnd node helpers
This commit is contained in:
parent
6c154b6d60
commit
c2d69b4d03
11 changed files with 442 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue