plot_relative_truth_and_sensor_plotly: Plot truth and/or sensor data relative to ownship - plotly...

View source: R/plot_relative_truth_and_sensor_plotly.R

plot_relative_truth_and_sensor_plotlyR Documentation

Plot truth and/or sensor data relative to ownship - plotly version

Description

This figure shows the bearing and range of targets and/or tracks relative to the sensor system (ownship).

Usage

plot_relative_truth_and_sensor_plotly(
  scenario,
  offset = 1,
  textSize = 3,
  useDefaultColors = FALSE,
  plotWhich = "both",
  legendOnly = FALSE
)

Arguments

scenario

must contain either or both: targetOwnshipDistance, trackOwnshipDistance

offset

(default = 1) amount to offset labels (in degrees)

textSize

(default = 3) size of label text

useDefaultColors

(default=FALSE) if you DO have platformInfo filled in, but want to ignore the colors and use defaults, set this to true

plotWhich

(default = 'both') also accepts 'sensor' or 'truth'. Plots only truth-ownship or track-ownship or plots both.

legendOnly

(boolean, default = FALSE) Initially populates plot with only the legend. Data can be turned on by selecting the data from the legend. Good for plots with a large number of traces

Value

plotly object

Examples

plot_relative_truth_and_sensor_plotly(example1_scenario, offset = 1, textSize = 3)

battleVerse/scenarioMaker documentation built on July 16, 2024, 4:21 a.m.