Six crescent shaped legs

Dependencies:   mbed

Committer:
sim642
Date:
Tue Jun 21 14:43:44 2016 +0000
Revision:
47:4f418a4b0051
Parent:
18:1437610bea8b
Byte based communication

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sim642 18:1437610bea8b 1 #ifndef SYNC_GROUP_H
sim642 18:1437610bea8b 2 #define SYNC_GROUP_H
sim642 18:1437610bea8b 3
sim642 18:1437610bea8b 4 #include <map>
sim642 18:1437610bea8b 5
sim642 18:1437610bea8b 6 class EncoderMotor;
sim642 18:1437610bea8b 7
sim642 18:1437610bea8b 8 class SyncGroup
sim642 18:1437610bea8b 9 {
sim642 18:1437610bea8b 10 public:
sim642 18:1437610bea8b 11 float update(EncoderMotor *motor, float factor);
sim642 18:1437610bea8b 12
sim642 18:1437610bea8b 13 private:
sim642 18:1437610bea8b 14 float getMinimum(EncoderMotor *exclude);
sim642 18:1437610bea8b 15
sim642 18:1437610bea8b 16 std::map<EncoderMotor*, float> factors;
sim642 18:1437610bea8b 17 };
sim642 18:1437610bea8b 18
sim642 18:1437610bea8b 19 #endif // SYNC_GROUP_H