Hivemapper / odc-api

Software and APIs used to run the Open Dashcam (ODC) devices that collect data on the Hivemapper Mapping Network
12 stars 6 forks source link

Use Sensor Fusion approach to detect stationary and filter out at motion model (i.e., needs to be moving to add to the model) #202

Open Masaya-RT opened 5 months ago

Masaya-RT commented 5 months ago

We want to filter out data where we have "dancing position" when car has GPS but is stationary

Masaya-RT commented 5 months ago

Kalman filter: Filter wasn't stopping the issue, but was reducing the error radius.

roger-berman commented 5 months ago

Two Problems:

  1. Start of drive motion
  2. During drive stopped motion

Need to operate within loop in motion model in odc api. Near real time processing to attempt to deal with motion vs no motion of vehicle.

Full solution should be implemented in odc api

Masaya-RT commented 5 months ago

Not many updates Question for Alexei: Start of the drives, you query sensor logs and see motion model. Is it filtered out there? Yes

Maybe EOD progress

Masaya-RT commented 5 months ago

Inital experimentation is good. Python is proven

Solid portion converted to TypeScript, but Python Math still needs migration. Trying to figure out low-pass filter implementation.

Needs to be widely-applicable and relatively noise-proof.

Masaya-RT commented 5 months ago

Everything at this point is written and tested in TypeScript. Performance is slower than Python Roger to discuss with Alexei to weave into motion controller (tradeoff implications) Should be ready for testing after

Masaya-RT commented 5 months ago

Gave Alexei PR. Waiting on first test results

Masaya-RT commented 5 months ago

Still waiting on feedback from the branch

roger-berman commented 5 months ago

Got Data from @punov and will be familiarizing myself with @mazar-farran's new test framework to begin debugging performance

Masaya-RT commented 5 months ago

Results still pending - Focusing on Data Logger refactor

Masaya-RT commented 5 months ago

Ran E2E test, was breaking.