Helios++
Helios software for LiDAR simulations
|
Class representing trajectory settings. More...
#include <TrajectorySettings.h>
Public Member Functions | |
TrajectorySettings () | |
Trajectory settings default constructor. | |
bool | hasStartTime () const |
Check whether the start time (tStart) \(t_a\) of this TrajectorySettings is setted or not. More... | |
bool | hasEndTime () const |
Check whether the end time (tEnd) \(t_b\) of this TrajectorySettings is setted or not. More... | |
![]() | |
std::string | getLocationString () |
Obtain asset location string. More... | |
virtual bool | isEgg () const |
Check whether the asset is an EggAsset or not. More... | |
Public Attributes | |
double | tStart |
The start time \(t_a\) of the trajectory. More... | |
double | tEnd |
The end time \(t_b\) of the trajectory. More... | |
bool | teleportToStart |
When true, the platform will be teleported to the start point of the next leg's trajectory when starting the leg. When false (default), the platform will continue from its last position. | |
![]() | |
std::string | id = "" |
Asset identifier. | |
std::string | name = "Unnamed Asset" |
Asset name. | |
std::string | sourceFilePath = "" |
Path to asset file. | |
Class representing trajectory settings.
|
inline |
Check whether the end time (tEnd) \(t_b\) of this TrajectorySettings is setted or not.
|
inline |
Check whether the start time (tStart) \(t_a\) of this TrajectorySettings is setted or not.
double TrajectorySettings::tEnd |
The end time \(t_b\) of the trajectory.
For instance, when the trajectory is interpolated from given data, the end position of that leg will be the one resulting from evaluating the interpolation function at given end time \(t_b\)
NOTICE a value of std::numeric_limits<double>::max means the end time is the last known time
double TrajectorySettings::tStart |
The start time \(t_a\) of the trajectory.
For instance, when the trajectory is interpolated from given data, the start position of that leg will be the one resulting from evaluating the interpolation function at given start time \(t_a\)
NOTICE a value of std::numeric_limits<double>::lowest means the start time is the first known time