# animateTruck

animate the simulated trajectories

## Contents

- Syntax
- Description
- Input Arguments
- See Also
- References

## Syntax

animateTruck(x,t)
animateTruck(x,t,statObs,dynObs,goalSet)
animateTruck(x,t,statObs,dynObs,goalSet,lanelets)

## Description

Shows an animation that visualizes the given trajectory for the truck benchmark together with static and dynamic obstacles.

## Input Arguments

x | states of the trajectory (dimension: [N,nx])
t | times for the trajectory (dimension: [N,1])
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
goalSet | goal set for the motion planning problem
lanelets | cell-array storing the lanelets of the road

## See Also

`animate`

## References

- [1] Althoff et al. (2020), CommonRoad: Vehicle Models

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