Go to the documentation of this file.
13 #ifndef KOBUKI_THREE_AXIS_GYRO_DATA_HPP__
14 #define KOBUKI_THREE_AXIS_GYRO_DATA_HPP__
20 #include "../packet_handler/payload_base.hpp"
21 #include "../packet_handler/payload_headers.hpp"
27 #define MAX_DATA_SIZE (3*8) //derived from ST_GYRO_MAX_DATA_SIZE in firmware
72 unsigned char header_id, length_packed;
76 if(
length > length_packed )
return false;
struct kobuki::ThreeAxisGyro::Data data
const unsigned char length
bool deserialise(ecl::PushAndPop< unsigned char > &byteStream)
payloadBase(const bool is_dynamic_=false, const unsigned char length_=0)
Provides base class for payloads.
void buildVariable(T &V, ecl::PushAndPop< unsigned char > &buffer)
void buildBytes(const T &V, ecl::PushAndPop< unsigned char > &buffer)
unsigned short data[MAX_DATA_SIZE]
bool serialise(ecl::PushAndPop< unsigned char > &byteStream)
unsigned char followed_data_length
unsigned int size() const
kobuki_driver
Author(s): Daniel Stonier
, Younghun Ju , Jorge Santos Simon
autogenerated on Wed Mar 2 2022 00:26:14