13 #ifndef KOBUKI_INERTIA_DATA_HPP__ 14 #define KOBUKI_INERTIA_DATA_HPP__ 20 #include "../packet_handler/payload_base.hpp" 21 #include "../packet_handler/payload_headers.hpp" 46 bool serialise(ecl::PushAndPop<unsigned char> & byteStream)
60 if (byteStream.size() <
length+2)
66 unsigned char header_id, length_packed;
70 if( length_packed !=
length )
return false;
const unsigned char length
struct kobuki::Inertia::Data data
Provides base class for payloads.
bool deserialise(ecl::PushAndPop< unsigned char > &byteStream)
payloadBase(const bool is_dynamic_=false, const unsigned char length_=0)
void buildVariable(T &V, ecl::PushAndPop< unsigned char > &buffer)
void buildBytes(const T &V, ecl::PushAndPop< unsigned char > &buffer)
bool serialise(ecl::PushAndPop< unsigned char > &byteStream)