JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
mcu.h File Reference
#include <goby/middleware/protobuf/io.pb.h>
#include "jaiabot/crc/crc32.h"
Include dependency graph for mcu.h:

Go to the source code of this file.

Namespaces

namespace  jaiabot
namespace  jaiabot::serial

Functions

std::shared_ptr< goby::middleware::protobuf::IOData > jaiabot::serial::encode_for_mcu (const google::protobuf::Message &pb_msg)
template<typename ProtobufMessage>
ProtobufMessage jaiabot::serial::decode_from_mcu (const goby::middleware::protobuf::IOData &io_msg)

Variables

constexpr int jaiabot::serial::bits_in_byte = 8
constexpr int jaiabot::serial::bytes_in_crc32 = 4