Public Member Functions | Public Attributes
kobuki::Command::Data Struct Reference

Data structure containing data for commands. More...

#include <command.hpp>

List of all members.

Public Member Functions

 Data ()

Public Attributes

Name command
unsigned char duration
unsigned char frame_id
uint16_t gp_out
uint16_t note
int16_t radius
uint16_t request_flags
unsigned char segment_name
int16_t speed

Detailed Description

Data structure containing data for commands.

It is important to keep this state as it will have to retain knowledge of the last known command in some instances - e.g. for gp_out commands, quite often the incoming command is only to set the output for a single led while keeping the rest of the current gp_out values as is.

For generating individual commands we modify the data here, then copy the command class (avoid doing mutexes) and spin it off for sending down to the device.

Definition at line 65 of file command.hpp.


Constructor & Destructor Documentation

Definition at line 67 of file command.hpp.


Member Data Documentation

Definition at line 72 of file command.hpp.

Definition at line 80 of file command.hpp.

Definition at line 91 of file command.hpp.

Definition at line 97 of file command.hpp.

Definition at line 79 of file command.hpp.

Definition at line 76 of file command.hpp.

Definition at line 88 of file command.hpp.

Definition at line 85 of file command.hpp.

Definition at line 75 of file command.hpp.


The documentation for this struct 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