DCAITI Robot Hardware  1.0
UValue.hpp
Go to the documentation of this file.
1 #ifndef U_VALUE_HPP
2 #define U_VALUE_HPP
3 
15 #include "constants.h"
16 
17 
18 class UValue {
19 private:
20  /* functions */
21 
22 public:
23  /* variables */
24 
25  /* functions */
26 
33  static void sendEncoderValue (U_Component cp, float value);
40  static void sendBothEncoderValues(float speed_right, float speed_left, float pos_right, float pos_left);
41 };
42 
43 #endif
Definition: UValue.hpp:18
static void sendBothEncoderValues(float speed_right, float speed_left, float pos_right, float pos_left)
send both encoder values via uart
Definition: UValue.cpp:36
static void sendEncoderValue(U_Component cp, float value)
sends encoder value via uart
Definition: UValue.cpp:13
enum components U_Component