# init

initialize the controller object

## Contents

- Syntax
- Description
- Input Arguments
- See Also

## Syntax

init(obj)

## Description

Initializes the controller object before it is used in online control. This function can for example be used to precalculate variables to save computation time.

## Input Arguments

obj | object of class comfContrLQR storing the control law computed in the offline-phase

## See Also

`safetyNetControl`, `simulate`, `comfContrLQR`

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