6 #ifndef __SPEEDCONTROL__ 7 #define __SPEEDCONTROL__ 38 std::int8_t
calcDistance4ms(std::int32_t curAngleL, std::int32_t curAngleR);
44 std::int32_t preAngleL;
46 std::int32_t preAngleR;
48 std::array<std::int16_t, 25> speed_value;
50 std::uint8_t speedCount;
54 std::int8_t distance4ms;
std::int8_t calcDistance4ms(std::int32_t curAngleL, std::int32_t curAngleR)
std::int32_t calculateSpeedForPid(std::int32_t curAngleL, std::int32_t curAngleR)
std::int16_t speed_value_all
std::int16_t getSpeed100ms()