Skip to content

Conversation

@fabianglz-tec
Copy link
Contributor

No description provided.

@fabianglz-tec fabianglz-tec requested a review from JorgePerC March 29, 2025 23:17
void UART_Init(void) {}

void sbus_translate(control_data* _control, uint8_t* _buffer) {
_control->joystickA = (_buffer[0] >> 1) & 0x7F; // 7bits
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Estos son los correctos
image

UART_HandleTypeDef huart1;
uint8_t UART1_rxBuffer;

osMessageQDef(remoteQueue, 16, unsigned int);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Faltan los message pools

extern osMessageQId outputQueueChassis;
extern osMessageQId inputQueueChassis;

extern osMessageQId remoteQueue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Falta el message pool

#include "usart.h"

control_data control1;
UART_HandleTypeDef huart1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Este, en teoría debe de estar declarado en el robot config... no hay necesidad de redeclararlo.

@fabianglz-tec fabianglz-tec requested a review from JorgePerC April 3, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants