Classes | Public Member Functions | Public Attributes
kobuki::Current Class Reference

#include <current.hpp>

Inheritance diagram for kobuki::Current:
Inheritance graph
[legend]

List of all members.

Classes

struct  Data

Public Member Functions

bool constrain ()
bool deserialise (ecl::PushAndPop< unsigned char > &byteStream)
bool serialise (ecl::PushAndPop< unsigned char > &byteStream)
void showMe ()

Public Attributes

struct kobuki::Current::Data data

Detailed Description

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.


Member Function Documentation

bool kobuki::Current::constrain ( ) [inline]

Definition at line 80 of file current.hpp.

bool kobuki::Current::deserialise ( ecl::PushAndPop< unsigned char > &  byteStream) [inline, virtual]

Implements packet_handler::payloadBase.

Definition at line 64 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 85 of file current.hpp.


Member Data Documentation


The documentation for this class was generated from the following file:


kobuki_driver
Author(s): Daniel Stonier , Younghun Ju , Jorge Santos Simon
autogenerated on Mon Oct 6 2014 01:31:10