12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #pragma once
- #ifndef _IV_COMMON_CONSTANTS_
- #define _IV_COMMON_CONSTANTS_
- namespace iv {
- const std::uint8_t SPEED_MAX = 30;
- const std::uint8_t BRAKING_PRESSURE_PERCENT_MAX = 50;
- const std::uint8_t ACCELERATE_PERCENT_MAX = 1;
- const std::uint8_t CONTROL_SPEED_TOLERANCE = 5;
- const std::uint8_t CONTROL_WHEEL_ANGLE_TOLERANCE = 5;
- const std::uint16_t WHEEL_ZERO = 0x1F4A;
-
- const float SPEED_RATIO = 0.08;
- const float Veh_Width = 2.1;
- const float Veh_Lenth = 4.6;
- const float Esr_Offset = 0;
- const float Esr_Y_Offset = 2.5;
- const std::uint8_t THREAD_EXECUTECONTROL_MAXNUM = 1;
- const double MaxValue = 1.7976931348623157E+308;
- const double MinValue = -1.7976931348623157E+308;
- }
- #endif
|