22 lines
512 B
C++
22 lines
512 B
C++
#pragma once
|
|
#include <memory>
|
|
#include <thread>
|
|
#include <atomic>
|
|
|
|
namespace ViewerDebug {
|
|
|
|
// Inicia o viewer em thread separada. Retorna false se falhar.
|
|
bool start(bool usar_slam_inicial);
|
|
|
|
// Pede para encerrar e aguarda thread.
|
|
void stop();
|
|
|
|
// (Opcional) atualiza flags (ex.: alternar caixas, cor por distância/altura)
|
|
void set_draw_boxes(bool on);
|
|
void set_color_by_distance(bool on);
|
|
void set_mode_map(bool map_on);
|
|
void set_use_slam(bool on);
|
|
bool get_mode_map();
|
|
|
|
} // namespace ViewerDebug
|