Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for actuators and remote control using PB messages #120

Conversation

ecourtois
Copy link
Contributor

Add C++ classes to represent servomotors and vacuum pumps.
Initialize all actuators.
Define PB messages to send actuators state to Copilot.
Define PB messages to receive actuator commands from Copilot.
Create a thread to send actuators state.
Add uartpb handlers for actuator commands.

@ecourtois ecourtois added the feature A new feature label Dec 31, 2022
@ecourtois ecourtois self-assigned this Dec 31, 2022
@ecourtois ecourtois linked an issue Dec 31, 2022 that may be closed by this pull request
@ecourtois ecourtois force-pushed the 119-add-support-for-actuators-and-remote-control-using-pb-messages branch from 3cc264a to 3eabfae Compare December 31, 2022 18:11
@ecourtois ecourtois requested a review from gdoffe December 31, 2022 18:20
Copy link
Contributor

@gdoffe gdoffe left a comment

Choose a reason for hiding this comment

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

Typos/comments mainly.

Good job and happy to see arms and pumps back !

To fix warnings breaking compilation using GCC 12.

Remove `#include "shell_comands.h"` as in RIOT-OS/RIOT#18152

Signed-off-by: Eric Courtois <[email protected]>
UART_2 (USART3) was previously used for the LIDAR which support has been
moved on Raspberry Pi4 in a previous commit.
This ISR definition is a deletion oversight as UART_2 is now dedicated
to LX Servomotors using UART5.

Signed-off-by: Eric Courtois <[email protected]>
Use configuration related to robot 2022.

Signed-off-by: Eric Courtois <[email protected]>
Avoid stack overflow when a warning is emitted if a thread iteration
lasts too long.

Signed-off-by: Eric Courtois <[email protected]>
…ssages

Add C++ classes to represent servomotors and vacuum pumps.
Initialize all actuators.
Define PB messages to send actuators state to Copilot.
Define PB messages to receive actuator commands from Copilot.
Create a thread to send actuators state.
Add uartpb handlers for actuator commands.

Signed-off-by: Eric Courtois <[email protected]>
@ecourtois ecourtois force-pushed the 119-add-support-for-actuators-and-remote-control-using-pb-messages branch from 3eabfae to b75b2b4 Compare January 2, 2023 15:35
@ecourtois ecourtois requested a review from gdoffe January 2, 2023 15:35
@ecourtois ecourtois merged commit a1f6725 into master Jan 3, 2023
@ecourtois ecourtois deleted the 119-add-support-for-actuators-and-remote-control-using-pb-messages branch January 3, 2023 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for actuators and remote control using PB messages
2 participants