# mirror

mirror a motion primitive along the given symmetry axis

## Contents

- Syntax
- Description
- Input Arguments
- Output Arguments
- See Also

## Syntax

res = mirror(obj,states,inputs)
res = mirror(obj,states,inputs,occupancy)

## Description

Mirrors a motion primitive along the given symmetry axis for states, inputs, and occupancy set. The function can for example be used to construct a equivlalent "turn-left" motion primitive from a "turn-right" motion primitive without running controller synthesis again. This is especially useful for constructing large maneuver automata.

## Input Arguments

obj | object of class objGenSpaceContr
states | indices of the states that are mirrored
inputs | indices of the inputs that are mirrored
occupancy | indices of the occupancy set dimensions that are mirrored

## Output Arguments

res | mirrored motion primitive (class objGenSpaceContr)

## See Also

`generatorSpaceControl`, `objGenSpaceContr`

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