Controlor for Humanoid. Walking trajectory generator, sensor reflection etc.
Dependencies: Adafruit-PWM-Servo-Driver MPU6050 RS300 mbed
CSV.h@23:0927e605af4b, 2013-11-22 (annotated)
- Committer:
- syundo0730
- Date:
- Fri Nov 22 00:30:42 2013 +0000
- Revision:
- 23:0927e605af4b
- Parent:
- 12:6cd135bf03bd
first commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
syundo0730 | 12:6cd135bf03bd | 1 | #ifndef CSV_H_2013_02_02_ |
syundo0730 | 12:6cd135bf03bd | 2 | #define CSV_H_2013_02_02_ |
syundo0730 | 12:6cd135bf03bd | 3 | |
syundo0730 | 12:6cd135bf03bd | 4 | #include <iostream> |
syundo0730 | 12:6cd135bf03bd | 5 | #include <fstream> |
syundo0730 | 12:6cd135bf03bd | 6 | #include <sstream> |
syundo0730 | 12:6cd135bf03bd | 7 | #include <string> |
syundo0730 | 12:6cd135bf03bd | 8 | #include <vector> |
syundo0730 | 12:6cd135bf03bd | 9 | #include "mbed.h" |
syundo0730 | 12:6cd135bf03bd | 10 | |
syundo0730 | 12:6cd135bf03bd | 11 | class CSV { |
syundo0730 | 12:6cd135bf03bd | 12 | private: |
syundo0730 | 12:6cd135bf03bd | 13 | std::vector<std::string> split(std::string &src, std::string key); |
syundo0730 | 12:6cd135bf03bd | 14 | public: |
syundo0730 | 12:6cd135bf03bd | 15 | bool read(std::string filename, uint16_t* p, int* servo_size, int* motion_size, int* pose_size); |
syundo0730 | 12:6cd135bf03bd | 16 | }; |
syundo0730 | 12:6cd135bf03bd | 17 | |
syundo0730 | 12:6cd135bf03bd | 18 | #endif |