gsgr.utils

class gsgr.utils.Timer

Helper class to time things.

started_at

Type:    int

Timestamp of last reset

reset()

Reset the timer.

Rückgabetyp:

None

property elapsed

Elapsed time in seconds.

property elapsed_ms

Elapsed time in milliseconds.

gsgr.utils.zts_to_oeioei(zts)

Helper function to convert 0 to 360deg angle to -180 to 180deg angle.

Rückgabetyp:

int | float

gsgr.utils.oeioei_to_zts(oeioei)

Helper function to convert -180 to 180deg angle to 0 to 360deg angle.

Rückgabetyp:

int | float