Skip to content

Incorrect tf in GPS message #54

@RobinBaruffa

Description

@RobinBaruffa

Hi, I discovered an issue in the construction of the GPS message.

In the createRosNavSatFixMessage function, the header is set using the createRosHeader function, which sets it to frame_id_.

const std_msgs::msg::Header MessageWrapper::createRosHeader(uint32_t device_timestamp) const

But the SDK documentation mentions that ref_sbg_log.gpsPosData is the coordinates expressed in the gps antenna 2 frame.
https://github.com/SBG-Systems/sbgECom/blob/80b121c7714083cc4868c0fdb8c41623c7ef9c93/src/logs/sbgEComLog.c#L112

I temporarly hard set it to my gps_antenna_2 tf and it fixed my issue.

Have a nice day,
Robin

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