#include <ros/console.h>
#include <stdint.h>
#include <boost/call_traits.hpp>
#include <vector>
#include <algorithm>
#include "checksum.h"
#include "serialization_ros.h"
Go to the source code of this file.
Classes | |
class | ublox::Message< T > |
Keeps track of which class and message IDs can be decoded by a given message type. More... | |
struct | ublox::Options |
Options for the Reader and Writer for encoding and decoding messages. More... | |
class | ublox::Reader |
Decodes byte messages into u-blox ROS messages. More... | |
struct | ublox::Serializer< T > |
Encodes and decodes messages. More... | |
struct | ublox::Message< T >::StaticKeyInitializer |
class | ublox::Writer |
Encodes a u-blox ROS message as a byte array. More... | |
Namespaces | |
namespace | ublox |
Defines | |
#define | DECLARE_UBLOX_MESSAGE(class_id, message_id, package, message) |
#define | DECLARE_UBLOX_MESSAGE_ID(class_id, message_id, package, message, name) |
Variables | |
static const uint8_t | ublox::DEFAULT_SYNC_A = 0xB5 |
u-blox message Sync A char | |
static const uint8_t | ublox::DEFAULT_SYNC_B = 0x62 |
u-blox message Sync B char | |
static const uint8_t | ublox::kChecksumLength = 2 |
Number of checksum bytes in the u-blox message. | |
static const uint8_t | ublox::kHeaderLength = 6 |
Number of bytes in a message header (Sync chars + class ID + message ID) |
#define DECLARE_UBLOX_MESSAGE | ( | class_id, | |
message_id, | |||
package, | |||
message | |||
) |
template class ublox::Serializer<package::message>; \ template class ublox::Message<package::message>; \ namespace package { namespace { \ static const ublox::Message<message>::StaticKeyInitializer static_key_initializer_##message(class_id, message_id); \ } } \
Definition at line 424 of file serialization.h.
#define DECLARE_UBLOX_MESSAGE_ID | ( | class_id, | |
message_id, | |||
package, | |||
message, | |||
name | |||
) |
namespace package { namespace { \ static const ublox::Message<message>::StaticKeyInitializer static_key_initializer_##name(class_id, message_id); \ } } \
Definition at line 434 of file serialization.h.