Skip to content

Added handling methods through mavlink#244

Merged
Mateusz-Krajewski merged 3 commits into
masterfrom
mima_mavlink_methods
Jul 7, 2025
Merged

Added handling methods through mavlink#244
Mateusz-Krajewski merged 3 commits into
masterfrom
mima_mavlink_methods

Conversation

@Michal-Mankowski
Copy link
Copy Markdown
Contributor

  • Listening loop that read uart for the messages from mavlink.
  • Checks the message id and does corresponding action.
  • Sends ack after every method.

Comment thread apps/fc/radio_service/radio_app.cc Outdated
Comment thread apps/fc/radio_service/radio_app.cc Outdated
Comment thread apps/fc/radio_service/radio_app.cc Outdated
Copy link
Copy Markdown
Collaborator

@Mateusz-Krajewski Mateusz-Krajewski left a comment

Choose a reason for hiding this comment

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

Ack wymaga zmiany dodającej informacje na jaką wiadomosc odpowiada. Pozatym poza kosmetycznymi zmianami jest ok

Comment thread apps/fc/radio_service/radio_app.cc Outdated
Comment thread apps/fc/radio_service/radio_app.cc Outdated
Comment thread apps/fc/radio_service/radio_app.cc Outdated
}
}

void RadioApp::SendAck(uint8_t status) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

To trochę problem z definicja mavlink a nie twoja wina ale brakuje w ack jakiegoś id wiadomości którego ono dotyczy, żeby przy 5 wysłanych ramkach było wiadomo jaki jest status czego. Proponuję żebyś dodał do ack takie pole w definicjach

Comment thread apps/fc/radio_service/radio_app.cc
@Mateusz-Krajewski Mateusz-Krajewski linked an issue Jul 7, 2025 that may be closed by this pull request
@Mateusz-Krajewski Mateusz-Krajewski added this to the V 1.0 milestone Jul 7, 2025
@Mateusz-Krajewski Mateusz-Krajewski added the enhancement New feature or request label Jul 7, 2025
Copy link
Copy Markdown
Collaborator

@Mateusz-Krajewski Mateusz-Krajewski left a comment

Choose a reason for hiding this comment

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

Ok

@Michal-Mankowski Michal-Mankowski marked this pull request as ready for review July 7, 2025 20:21
@Michal-Mankowski Michal-Mankowski requested a review from a team as a code owner July 7, 2025 20:21
@Mateusz-Krajewski Mateusz-Krajewski added this pull request to the merge queue Jul 7, 2025
Merged via the queue into master with commit e3c3541 Jul 7, 2025
7 of 8 checks passed
@Mateusz-Krajewski Mateusz-Krajewski deleted the mima_mavlink_methods branch July 7, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add methods support (FC as Server)

2 participants