Configuration for trajectory export

interface TrajectoryExportConfig {
    fields?: string[];
    filter?: ((agent) => boolean);
    includePosition?: boolean;
    includeTimestamps?: boolean;
    includeVelocity?: boolean;
    maxRecords?: number;
    sampleRate?: number;
}

Properties

fields?: string[]

Fields to include in export

filter?: ((agent) => boolean)

Filter function for agents

Type declaration

    • (agent): boolean
    • Parameters

      Returns boolean

includePosition?: boolean

Include position data

includeTimestamps?: boolean

Include timestamps

includeVelocity?: boolean

Include velocity data

maxRecords?: number

Maximum records to export

sampleRate?: number

Sample rate (export every N steps)