Module util

Source
Expand description

Common utilities used by all APIs.

Modules§

color_map
Google’s Turbo color map adapted from here.
touch_detector
A simple touch detector based on depth data.

Structs§

Counter
A counter to be used in the main loop to get fps and frame count info. The print_fps_frame_count_info() function will be called every info_intervalth loop.
KeyboardEvent
Simple keybord event handler.

Functions§

new_fixed_vec
Creates a new vector of length size with capacity set to size and initializes it with init.
normalize_u16_to_u8
normalize [u16] vector to [u8] given min and max value.