ME 507 Romi++
Cylindrical Differential Drive Robot created for ME 507 at Cal Poly in Spring 2025
Loading...
Searching...
No Matches
command_parser.h File Reference

Header for UART command parsing module. More...

#include "stm32f4xx_hal.h"
#include <stdint.h>

Go to the source code of this file.

Macros

#define BUFFER_SIZE   64
 Maximum buffer size for incoming UART command stream.

Variables

uint8_t rx_buffer [BUFFER_SIZE]
 DMA-compatible receive buffer for UART.
uint8_t buffer_index
 Current write index into rx_buffer.
volatile uint8_t command_ready
 Flag indicating a complete command is available.

Detailed Description

Header for UART command parsing module.

Provides a C++ class for interpreting control messages received via DMA UART from an external controller. Includes setpoint extraction for motors and heading.