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
packet.h
1// 01010101
2#define PAGE_SIZE 128
3#define PACKET_HEADER 0x55
4#define PACKET_SIZE PAGE_SIZE+4
5enum {
6 PACKET_STOP,
7 PACKET_LEDTOGGLE,
8 PACKET_FORWARDMSG,
9 PACKET_FORWARDRAWMSG,
10 PACKET_BOOTPAGE
11};
12
13typedef enum {
14 NORMAL = 0,
15 GPS,
16 SPECIAL = 0x80,
17 BOOT = 0x80,
18 BOOTPGM_PAGE,
19 BOOTPGM_SIZE,
20 RESET,
21 SLEEP,
22 WAKEUP,
23 CHARGE,
24 VOLTAGE,
25 RUN,
26 READUID,
27 CALIB
28} message_type_t;
29
30enum {
31 CALIB_SAVE,
32 CALIB_UID,
33 CALIB_TURN_LEFT,
34 CALIB_TURN_RIGHT,
35 CALIB_STRAIGHT
36};
37
38#pragma pack(1)
39typedef struct __attribute__((__packed__)) {
40 uint8_t mode;
41 uint16_t uid;
42 uint8_t turn_left;
43 uint8_t turn_right;
44 uint8_t straight_left;
45 uint8_t straight_right;
46 uint16_t unused;
47} calibmsg_t;