agrobot_base/AgroBase/livox_visual_debugger/viewer_debug.hpp

22 lines
512 B
C++
Raw Normal View History

2025-11-05 20:03:46 +00:00
#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<73>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