Skip to content

Java Generator problem with trimPayload in MAVLinkPacket.java #2

@ghost

Description

The trim payload function should just remove trailing zeros when encoding. Unfortunately it causes the packets to not be parsed correctly (I get the parse state MAVLINK_PARSE_STATE_GOT_BAD_CRC1) by the C++ mavlink parser on the other side. When I comment the function out, everything works ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions