#include <firmware.hpp>
Classes | |
struct | Data |
Public Member Functions | |
int | checkMajorVersion () const |
int | checkRecommendedVersion () const |
bool | constrain () |
bool | deserialise (ecl::PushAndPop< unsigned char > &byteStream) |
Firmware () | |
int | majorVersion () const |
int | minorVersion () const |
int | patchVersion () const |
bool | serialise (ecl::PushAndPop< unsigned char > &byteStream) |
void | showMe () |
const uint32_t & | version () const |
Public Member Functions inherited from packet_handler::payloadBase | |
payloadBase (const bool is_dynamic_=false, const unsigned char length_=0) | |
virtual | ~payloadBase () |
Static Public Attributes | |
static const uint32_t | COMPATIBLE_MAJOR_VERSION = 1 |
static const std::vector< uint32_t > | RECOMMENDED_VERSIONS = { 0x010104, 0x010200 } |
Private Attributes | |
Data | data |
Additional Inherited Members | |
Public Attributes inherited from packet_handler::payloadBase | |
const bool | is_dynamic |
const unsigned char | length |
bool | yes |
Protected Member Functions inherited from packet_handler::payloadBase | |
template<typename T > | |
void | buildBytes (const T &V, ecl::PushAndPop< unsigned char > &buffer) |
template<> | |
void | buildBytes (const float &V, ecl::PushAndPop< unsigned char > &buffer) |
template<typename T > | |
void | buildVariable (T &V, ecl::PushAndPop< unsigned char > &buffer) |
template<> | |
void | buildVariable (float &V, ecl::PushAndPop< unsigned char > &buffer) |
Definition at line 36 of file firmware.hpp.
|
inline |
Definition at line 42 of file firmware.hpp.
int kobuki::Firmware::checkMajorVersion | ( | ) | const |
Definition at line 87 of file firmware.cpp.
int kobuki::Firmware::checkRecommendedVersion | ( | ) | const |
Definition at line 95 of file firmware.cpp.
|
inline |
Definition at line 56 of file firmware.hpp.
|
virtual |
Implements packet_handler::payloadBase.
Definition at line 44 of file firmware.cpp.
|
inline |
Definition at line 66 of file firmware.hpp.
|
inline |
Definition at line 67 of file firmware.hpp.
|
inline |
Definition at line 68 of file firmware.hpp.
|
inlinevirtual |
Implements packet_handler::payloadBase.
Definition at line 45 of file firmware.hpp.
|
inline |
Definition at line 61 of file firmware.hpp.
|
inline |
Definition at line 65 of file firmware.hpp.
|
static |
Definition at line 39 of file firmware.hpp.
|
private |
Definition at line 77 of file firmware.hpp.
|
static |
Definition at line 40 of file firmware.hpp.