Revision b4885314 devices/PowerManagement/userthread.cpp

View differences:

devices/PowerManagement/userthread.cpp
14 14
bool running;
15 15

  
16 16
uint16_t constexpr proxThresholdLow = 0x0000;
17
uint16_t constexpr proxThresholdHigh = 0x2000;
17
uint16_t constexpr proxThresholdHigh = 0x1000;
18 18
uint16_t constexpr proxRange = proxThresholdHigh - proxThresholdLow;
19 19

  
20 20
std::array< std::array<float, 2>, 8> constexpr namMatrix = {
......
28 28
    std::array<float, 2>/* ESE */{ 0.25f,  0.25f},
29 29
    std::array<float, 2>/* SSE */{ 0.00f,  0.00f}
30 30
};
31
uint32_t constexpr baseTranslation = 50e3; // 2cm/s
31
uint32_t constexpr baseTranslation = 100e3; // 2cm/s
32 32
uint32_t constexpr baseRotation = 1e6; // 1rad/s
33 33
types::kinematic constexpr defaultKinematic = {
34 34
    /*  x  [µm/s]   */ baseTranslation,
......
161 161
            global.robot.setTargetSpeed(kinematic);
162 162
        }
163 163

  
164
        this->sleep(MS2ST(100));
164
        this->sleep(MS2ST(10));
165 165
    }
166 166

  
167 167
  return RDY_OK;

Also available in: Unified diff