struct mrpt::obs::gnss::Message_TOPCON_SATS

Overview

TopCon mmGPS devices: SATS, a generic structure for statistics about tracked satelites and their positions.

See also:

mrpt::obs::CObservationGPS

#include <mrpt/obs/gnss_messages_topcon.h>

struct Message_TOPCON_SATS: public mrpt::obs::gnss::gnss_message
{
    // enums

    enum
    {
        msg_type = TOPCON_SATS,
    };

    // fields

    std::vector<uint8_t> USIs;
    std::vector<int8_t> ELs;
    std::vector<int16_t> AZs;

    // construction

    Message_TOPCON_SATS();

    // methods

    virtual void dumpToStream(std::ostream& out) const;
    bool isOfType(const gnss_message_type_t type_id) const;

    template <class MSG_CLASS>
    bool isOfClass() const;
};

Inherited Members

public:
    // fields

    gnss_message_type_t message_type;

    // methods

    void writeToStream(mrpt::serialization::CArchive& out) const;
    void readFromStream(mrpt::serialization::CArchive& in);
    virtual void dumpToStream(std::ostream& out) const = 0;
    virtual void fixEndianness();
    virtual void dumpToConsole(std::ostream& o) const;
    virtual bool getAllFieldDescriptions(] std::ostream& o) const;
    virtual bool getAllFieldValues(] std::ostream& o) const;
    const std::string& getMessageTypeAsString() const;
    static gnss_message* readAndBuildFromStream(mrpt::serialization::CArchive& in);
    static gnss_message* Factory(const gnss_message_type_t msg_id);
    static bool FactoryKnowsMsgType(const gnss_message_type_t msg_id);

Fields

std::vector<uint8_t> USIs

The list of USI (Universal Sat ID) for the detected sats (See GRIL Manual, pag 4-31).

std::vector<int8_t> ELs

Elevation (in degrees, 0-90) for each satellite in USIs.

std::vector<int16_t> AZs

Azimuth (in degrees, 0-360) for each satellite in USIs.

Methods

virtual void dumpToStream(std::ostream& out) const

Dumps the contents of the observation in a human-readable form to a given output stream.

See also:

dumpToConsole()