Robot
The embedded systems for UTRA's autonomous humanoid soccer-playing robot
UARTcmd_t Struct Reference

The container type for motor commands. The control thread sends these to the various UART handlers through the UART queues. The container provides all the information needed to generate the appropriate motor action (reading from or writing to motor command registers) More...

#include <UART_Handler.h>

Collaboration diagram for UARTcmd_t:

Public Attributes

eUARTcmd_t type
 
Dynamixel_HandleTypeDefmotorHandle
 
float value
 
QueueHandle_t qHandle
 

Detailed Description

The container type for motor commands. The control thread sends these to the various UART handlers through the UART queues. The container provides all the information needed to generate the appropriate motor action (reading from or writing to motor command registers)

Definition at line 55 of file UART_Handler.h.

Member Data Documentation

◆ motorHandle

Dynamixel_HandleTypeDef* UARTcmd_t::motorHandle

Pointer to the motor container

Definition at line 58 of file UART_Handler.h.

◆ qHandle

QueueHandle_t UARTcmd_t::qHandle

Pointer to the queue for this motor's commands

Definition at line 63 of file UART_Handler.h.

◆ type

eUARTcmd_t UARTcmd_t::type

Indicates the type of motor command

Definition at line 56 of file UART_Handler.h.

◆ value

float UARTcmd_t::value

The value to be written in the case of a write instruction

Definition at line 60 of file UART_Handler.h.


The documentation for this struct was generated from the following file: