#include <current.hpp>
Classes | |
struct | Data |
Public Member Functions | |
bool | constrain () |
Current () | |
bool | deserialise (ecl::PushAndPop< unsigned char > &byteStream) |
bool | serialise (ecl::PushAndPop< unsigned char > &byteStream) |
void | showMe () |
Public Attributes | |
struct kobuki::Current::Data | data |
This comes back in the streamed feedback. It has two values (left and right) indicating the supplied current which can be useful for detecting when the robot is blocked.
Definition at line 39 of file current.hpp.
kobuki::Current::Current | ( | ) | [inline] |
Definition at line 42 of file current.hpp.
bool kobuki::Current::constrain | ( | ) | [inline] |
Definition at line 77 of file current.hpp.
bool kobuki::Current::deserialise | ( | ecl::PushAndPop< unsigned char > & | byteStream | ) | [inline, virtual] |
Implements packet_handler::payloadBase.
Definition at line 57 of file current.hpp.
bool kobuki::Current::serialise | ( | ecl::PushAndPop< unsigned char > & | byteStream | ) | [inline, virtual] |
Implements packet_handler::payloadBase.
Definition at line 48 of file current.hpp.
void kobuki::Current::showMe | ( | ) | [inline] |
Definition at line 82 of file current.hpp.