Skip to content

# Update Function for Receiving Serial Data - #11

Merged
7emotions merged 2 commits into
omnifrom
serial_develop
May 19, 2024
Merged

7emotions merged 2 commits into
omnifrom
serial_develop

Conversation

@7emotions

@7emotions 7emotions commented May 16, 2024 •

Copy link
Copy Markdown
Member

Synopsis

Feature:

  • Receive robotic color, id and auto_rune from Serial.

Refactor:

  • Rewrite update_quaternion to update additional data.
  • Adopt static const variables to describe package header.

New Output Interface

/robot_id

  • Type: uint8_t
  • Value Description: 1 for Hero, 2 for Engineer, etc.

/auto_rune

  • Type: uint8_t
  • Value Description: 0 for shooting rune while 1 for not.

/robot_color

  • Type: rmcs_core::msgs::RoboticColor
  • Value Description: rmcs_core::msgs::RoboticColor::Blue = 0, rmcs_core::msgs::RoboticColor::Red = 1

 1- Receive robotic color, id and auto_rune from uart.
 2- Define robotic color descriptor.
# Refactor:
 1- Rewrite update_quaternion to update additional data.
 2- Adopt static const variables to describe package header.
@7emotions
7emotions requested a review from qzhhhi May 16, 2024 20:02
@7emotions 7emotions self-assigned this May 17, 2024
@7emotions
7emotions merged commit 96670b2 into omni May 19, 2024
@7emotions
7emotions deleted the serial_develop branch May 20, 2024 09:34
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.

1 participant