gusimplewhiteboard
WalkData.hpp
Go to the documentation of this file.
1/*
2 * File: WalkDaata.h
3 * Author: eugene
4 *
5 * Created on 5 December 2013, 11:19 AM
6 */
7#include <string>
8
9#ifndef WalkData_DEFINED
10#define WalkData_DEFINED
11
12namespace guWhiteboard {
16class WalkData {
17public:
21 float data[4][7];
29 WalkData(std::string s) {
30 from_string(s);
31 }
32
33 void from_string(const std::string) {
34 for(int i = 0; i<3; ++i) {
35 for(int j = 0; j<4; ++j) {
36 data[j][i] = static_cast<float>(i*j);
37 }
38 }
39 }
40
45 std::string description() {
46 return std::string("NYI");
47 }
48};
49}
50
51#endif /* WalkData_DEFINED */
52
Class contain information about the Nao's Walk for debug purposes Contains sensors readings while the...
Definition: WalkData.hpp:16
float data[4][7]
The sensor data.
Definition: WalkData.hpp:21
int numPoints
Number of data points in the message.
Definition: WalkData.hpp:23
WalkData(std::string s)
String Constructor NYI.
Definition: WalkData.hpp:29
void from_string(const std::string)
Definition: WalkData.hpp:33
std::string description()
convert message to a serialized string.
Definition: WalkData.hpp:45
WalkData()
Constructor.
Definition: WalkData.hpp:25
/file APM_Interface.h