#include <UValue.hpp>
◆ sendBothEncoderValues()
void UValue::sendBothEncoderValues |
( |
float |
speed_right, |
|
|
float |
speed_left, |
|
|
float |
pos_right, |
|
|
float |
pos_left |
|
) |
| |
|
static |
send both encoder values via uart
sends the current speed of both motors
- Parameters
-
value_left | encoder value left |
value_right | encoder value right |
speed_right | speed of right motor |
speed_left | speed of left motor |
pos_right | current integrated position of right rotor |
pos_left | current integrated position of left rotor |
◆ sendEncoderValue()
void UValue::sendEncoderValue |
( |
U_Component |
cp, |
|
|
float |
value |
|
) |
| |
|
static |
sends encoder value via uart
sends the current speed of both motors
- Parameters
-
cp | component to which the value refers to |
value | encoder value |
cp | component |
value | speed of motor |
The documentation for this class was generated from the following files: