Helios++
Helios software for LiDAR simulations
TrajectorySettings Class Reference

Class representing trajectory settings. More...

#include <TrajectorySettings.h>

Inheritance diagram for TrajectorySettings:
Collaboration diagram for TrajectorySettings:

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...
 
- Public Member Functions inherited from Asset
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.
 
- Public Attributes inherited from Asset
std::string id = ""
 Asset identifier.
 
std::string name = "Unnamed Asset"
 Asset name.
 
std::string sourceFilePath = ""
 Path to asset file.
 

Detailed Description

Class representing trajectory settings.

Author
Alberto M. Esmoris Pena
Version
1.0

Member Function Documentation

◆ hasEndTime()

bool TrajectorySettings::hasEndTime ( ) const
inline

Check whether the end time (tEnd) \(t_b\) of this TrajectorySettings is setted or not.

Returns
True if the end time is setted, false otherwise
See also
TrajectorySettings::tEnd

◆ hasStartTime()

bool TrajectorySettings::hasStartTime ( ) const
inline

Check whether the start time (tStart) \(t_a\) of this TrajectorySettings is setted or not.

Returns
True if the start time is setted, false otherwise
See also
TrajectorySettings::tStart

Member Data Documentation

◆ tEnd

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

◆ tStart

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


The documentation for this class was generated from the following file: