create_ASI_platforms: Create an ASI platform

View source: R/create_ASI_platforms.R

create_ASI_platformsR Documentation

Create an ASI platform

Description

Gives text for platform instantiation

Usage

create_ASI_platforms(
  header,
  scenario,
  persistPosition = FALSE,
  drawSensorTracks = FALSE
)

Arguments

header

output from create_ASI_header (can be piped into this function)

scenario

must have targetTruth and/or ownShipTruth as well as platformInfo:

platformData (targetTruth and/or ownShipTruth) position data on all the platforms. This is the Nautilus truth format. Requires the following columns:

  • time: (double) time of measurement. We currently recommend POSIX

  • lon: (double) longitude of target at time of measurement

  • lat: (double) latitude of target at time of measurement

  • alt: (double) altitude of target at time of measurement

  • truthID: (factor) name or identifier for target. We recommend letters or names

  • heading: (double) sensor system heading in degrees azimuth

platformInfo display info for all platforms. Requires the following columns:

  • truthID: (factor) name or identifier for target

  • platformIcon: (string) name of platform icon (must choose from valid SIMDIS options)

  • platformType: (string) type of platform (e.g., ship) (must choose from valid SIMDIS options)

  • trackColor: (string) color of the track (must be a valid SIMDIS choice)

persistPosition

(boolean) if true, will persist all platforms until this time (and gray out the title at their last position) (default=false)

drawSensorTracks

(default=FALSE) if the scenario includes sensorData, the tracks will be drawn in the asi file (it's okay if drawSensorTracks=TRUE but no sensorData exists in the scenario)

Value

text


battleVerse/sandTable documentation built on July 16, 2024, 4:20 a.m.