LARS
LARS (Light Augmented Reality System) is an open-source framework for light-based interaction and real-time tracking in multi-robot experiments. Inspired by ARK, LARS extends the augmented reality paradigm to robotic collectives by projecting dynamic visual cues and environments onto the arena, enabling new experimental possibilities for collective robotics research, education, and outreach. LARS features integrated tracking, light projection, and modular experiment control with a user-friendly Qt GUI.
Loading...
Searching...
No Matches
MainWindow Class Reference

Main application window for the LARS system. More...

#include <mainwindow.h>

Inheritance diagram for MainWindow:

Signals

void QImageProcReady (QImage image)
void imageProcReady (cv::Mat image)
void imageRawReceived (cv::Mat image)
void clicked (const QString &text)
void broadcastMessage (kilobot_broadcast msg)
void sendKiloMessage (kilobot_message msg)
void kilobotPosVecReady (QVector< QPoint > posVec)

Public Member Functions

 MainWindow (QWidget *parent=0)
 Constructs the main application window.
 ~MainWindow ()
 Destructor for MainWindow.

Public Attributes

WorldModel wm

Detailed Description

Main application window for the LARS system.

Handles all GUI events, robot tracking, data logging, and interface to the overhead controller.

Constructor & Destructor Documentation

◆ MainWindow()

MainWindow::MainWindow ( QWidget * parent = 0)
explicit

Constructs the main application window.

Main constructor for the MainWindow class.

Parameters
parentPointer to parent widget (default nullptr).

Initializes the GUI, sets up the camera environment, tracking modules, and the arena window. Handles conditional compilation for different camera types, UI setup, and initial state definitions. Assumes a multi-screen setup; positions main window on primary screen and maximizes it.

Initialize the marker detection containers.

Ensures that marker data is in a known default state to avoid crashes if detection fails.

◆ ~MainWindow()

MainWindow::~MainWindow ( )

Destructor for MainWindow.

Cleans up allocated resources including UI and camera handles. Prevents memory leaks and ensures a clean shutdown.


The documentation for this class was generated from the following files: