Revision 3c3c3bb9 include/amiro/Constants.h

View differences:

include/amiro/Constants.h
50 50
  MSG_TEST_MAP_STATE = 11
51 51
};
52 52

  
53
enum ut_states : int8_t {
54
  UT_IDLE = 0,
55
  UT_FOLLOW_LINE = 1,
56
  UT_DETECT_STATION = 2,
57
  UT_REVERSE = 3,
58
  UT_PUSH_BACK = 4,
59
  UT_CHECK_POSITIONING = 5,
60
  UT_CHECK_VOLTAGE = 6,
61
  UT_CHARGING = 7,
62
  UT_RELEASE = 8,
63
  UT_RELEASE_TO_CORRECT = 9,
64
  UT_CORRECT_POSITIONING = 10,
65
  UT_TURN = 12,
66
  UT_INACTIVE = 13,
67
  UT_CALIBRATION = 14,
68
  UT_CALIBRATION_CHECK = 15,
69
  UT_DEVIATION_CORRECTION = 16,
70
  UT_TEST_MAP_STATE = 17,
71
  UT_TEST_MAP_AUTO_STATE = 18,
72
  UT_DOCKING_ERROR = -1,
73
  UT_REVERSE_TIMEOUT_ERROR = -2,
74
  UT_CALIBRATION_ERROR = -3,
75
  UT_WHITE_DETECTION_ERROR = -4,
76
  UT_PROXY_DETECTION_ERROR = -5,
77
  UT_NO_CHARGING_POWER_ERROR = -6,
78
  UT_UNKNOWN_STATE_ERROR = -7
79
};
80

  
53 81
namespace CAN {
54 82

  
55 83
  const uint32_t UPDATE_PERIOD        = US2ST(10000);  // 100 Hz

Also available in: Unified diff