![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
Provides data logging capabilities. Data is logged in CSV format. More...
Static Public Member Functions | |
| static void | LogParameter (Parameters parameter, bool log) |
| Moves parameters between availableParams and selectedParams lists. More... | |
| static void | Start () |
| Start logging. More... | |
| static void | Settings () |
| Serialize the current simulation settings and write to XML file. More... | |
| static void | Stop (Simulation.StopCode stopcode) |
| Stop logging with Simulation.Stopcode and write log to CSV file. More... | |
Static Public Attributes | |
| static float | timeStep = 0.05f |
| The time between log entries in seconds. More... | |
| static List< Parameters > | availableParams = new List<Parameters>() |
| List of parameters that haven't been selected for logging. More... | |
| static List< Parameters > | selectedParams = new List<Parameters>() |
| List of parameters selected for logging. More... | |
Properties | |
| static bool | logging [get, private set] |
| Gets a value indicating whether this Log is logging. More... | |
Static Private Member Functions | |
| static | Log () |
| static IEnumerator | LogRoutine () |
| logging routine More... | |
| static string | GetData (Parameters parameter) |
| Gets the data for a specified parameter More... | |
Static Private Attributes | |
| static string | header |
| metadata to write to the top of the CSV file More... | |
| static Queue< string > | log = new Queue<string>() |
| FIFO timeframe data buffer to be written to file More... | |
Provides data logging capabilities. Data is logged in CSV format.
| enum Log.Parameters |
| Enumerator | |
|---|---|
| SimulationTime |
The simulation time (float). |
| SimulationTimeScale |
The simulation time scale (float). |
| RobotPosition |
The robot current position (Vector3). |
| RobotIsStuck |
Indication of robot stuck detection as percentage (0 to 100). |
| DestinationPosition |
The destination position (Vector3). |
| NavigationPathFound |
Bool output from INavigation.pathFound |
| NavigationMoveDirection |
Vector3 output from INavigation.PathDirection |
Definition at line 13 of file Log.cs.
|
staticprivate |
Definition at line 79 of file Log.cs.

|
staticprivate |
Gets the data for a specified parameter
| parameter | Parameter. |
Definition at line 209 of file Log.cs.

|
static |
Moves parameters between availableParams and selectedParams lists.
| parameter | Parameter. |
| log | If set to true parameter is added to selectedParams for logging. |
Definition at line 95 of file Log.cs.

|
staticprivate |
logging routine
Definition at line 188 of file Log.cs.


|
static |
Serialize the current simulation settings and write to XML file.
Definition at line 146 of file Log.cs.

|
static |
Start logging.
Definition at line 117 of file Log.cs.


|
static |
Stop logging with Simulation.Stopcode and write log to CSV file.
| stopcode | Stopcode. |
Definition at line 161 of file Log.cs.

|
static |
|
staticprivate |
|
staticprivate |
|
static |
|
static |
|
staticgetprivate set |