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

core: refactor MAVLink command queue #1546

Merged
merged 3 commits into from
Sep 14, 2021
Merged

core: refactor MAVLink command queue #1546

merged 3 commits into from
Sep 14, 2021

Commits on Sep 14, 2021

  1. core: refactor MAVLink command queue

    This changes the command queue, so that:
    - Only one queue is required instead of a queue and a sent map
    - SET_MESSAGE_INTERVAL (511) and REQUEST_MESSAGE (512) commands are only
      denied if also param1 (msgid) match, otherwise they are kept in the
      queue until later. This should help with initial requests of messages.
    julianoes committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    b0ccce6 View commit details
    Browse the repository at this point in the history
  2. commands: param1 is a float

    JonasVautherin authored and julianoes committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    9351798 View commit details
    Browse the repository at this point in the history
  3. core: use uint32_t for param1 but round to it

    This way the comparison is easy later.std::round
    julianoes committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    3b453d9 View commit details
    Browse the repository at this point in the history