ArduPilot / ArduPilot/pymavlink

`packet_rx_drop_count` in pymavlink/generator/C/include_v1.0/mavlink_types.h is always 0

Open
#562 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
728
Forks
739
Avg merge
4d 10h
Merged PRs (30d)
7

Description

The only usage is in the `generator/C/include_v1.0/mavlink_helpers.h` is at line 378 and it is an initialization. The code actually counting the number of dropped packed is commented out (and not working). I can try to fix it and make PR but I am using this library for the first day, so I will need someone to check it after me. Should I give it a try?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in pymavlink/generator/C/include_v1.0/mavlink_types.h and inspect the initialization in generator/C/include_v1.0/mavlink_helpers.h at line 378, along with the commented-out packet-drop counting code. Determine how the counter should be updated and verify that the reported drop count is no longer always zero.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.