Revision b4885314 devices/DiWheelDrive/global.hpp

View differences:

devices/DiWheelDrive/global.hpp
55 55
    /* command             */ VCNL4020::ALS_EN | VCNL4020::PROX_EN | VCNL4020::SELFTIMED_EN,
56 56
    /* ambient parameter   */ VCNL4020::AMBIENT_RATE_2 | VCNL4020::AMBIENT_AUTO_OFFSET | VCNL4020::AMBIENT_AVG_32,
57 57
    /* IR LED current [mA] */ 200u,
58
    /* proximity rate      */ VCNL4020::PROX_RATE_7_8125
58
    /* proximity rate      */ VCNL4020::PROX_RATE_125
59 59
  };
60 60

  
61 61
  /**
......
190 190
    increments(&QEID3, &QEID4),
191 191
    motorcontrol(&PWMD2, &increments, GPIOB, GPIOB_POWER_EN, &memory),
192 192
    distcontrol(&motorcontrol, &increments),
193
    odometry(&increments),
193
    odometry(&increments, &l3g4200d),
194 194
    sercanmux1(&SD1, &CAND1, CAN::DI_WHEEL_DRIVE_ID),
195 195
    robot(&CAND1),
196 196
    userThread()

Also available in: Unified diff