# plotObstacles

plot static and dynamic obstacles

## Contents

- Syntax
- Description
- Input Arguments
- See Also

## Syntax

plotObstacles(statObs)
plotObstacles(statObs,dynObs,time)
plotObstacles(statObs,dynObs,time,color,options)

## Description

Plot static and dynamic obstacles for the given time frame.

## Input Arguments

statObs | cell-array storing the static obstacles
dynObs | cell-array storing the dynamic obstacles. Each dynamic obstacle is represented as a struct with fields .set and .time
time | time interval for which the trajectory is plotted (class: interval)
color | color for the plot specified as a string (e.g. `'r'`) or as a vector of RGB-values (e.g. [0 1 0])
options | additional MATLAB plot options specified as name-value pairs (e.g. `'LineWidth'`,2)

## See Also

`animate`

© 2018-2023 I6 Technische Universität München `•` Website `•` License