idsc-frazzoli / retina

interfaces and algorithms for event based cameras, lidars, and actuators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[SP] Davis240C IMU watchdog

datahaki opened this issue · comments

Background

The IMU measurements from the Davis240C are likely to become a component of the lidar-based localization method. That means, a continued absence of the IMU measurements should prevent the gokart from accelerating.

Task Description

Create a safety module that subscribes to DavisImuFrame messages. The module tracks the time of the last message. If no message was received in an interval of 150[ms] then the safety module flags an emergency, and from then on commands RimoPutEvent.PASSIVE.
Remark: The logic is similar to Vlp16ClearanceModule.

Related Material

20180226_davis240c_imu_timings.pdf