Skip to content

Visible and hidden OpenBikeSensor readings #72

@selphiron

Description

@selphiron

When a user presses the hardware button of the OpenBikeSensor connected to the SimRa App via Bluetooth, the following should happen:

At the nearest GPS position of the SimRa ride, a near miss incident with the incident type "Close Pass" should be created with the following description:

OpenBikeSensor
l: <OpenBikeSensor left sensor value in cm>
r: <OpenBikeSensor right sensor value in cm>

Please mind the line breaks after OpenBikeSensor and .

If either the right or left sensor readings are between -100cm and 150 cm (inclusive in both cases), the incident should be visible to the user and be uploaded, whether the user annotates that incident or not. Such incidents start with a key value of 2000 (,2001, 2002, ...). Their incident type is 1.

Otherwise, the incident should still be created and uploaded but not shown to the user as an incident. Such incidents start with a key value of 3000 (,3001, 3002, ...). Their incident type is -2.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions