ProjectNeura / LEADS

Enable your racing car with powerful, data-driven instrumentation, control, and analysis systems, all wrapped up in a gorgeous look.
https://leads.projectneura.org
Apache License 2.0
253 stars 53 forks source link

Implement the G Force Recording System #87

Closed ATATC closed 1 month ago

ATATC commented 7 months ago
qmascarenhas commented 7 months ago

Does the rpi4 have a built-in accelerometer?

ATATC commented 7 months ago

Unfortunately no.

ATATC commented 7 months ago

We need an external at least 6 DoF accelerometer.

qmascarenhas commented 7 months ago

here's where the Phyphox feature would come in handy.

ATATC commented 7 months ago

Bug found: render delay significantly increases after 30 seconds.

ATATC commented 7 months ago

Resources are wasted on unnecessary re-rendering.

ATATC commented 7 months ago

Replacing the dynamically drawn circles with a fixed image is worth trying.

ATATC commented 7 months ago

CPU usage still increases extremely as long as the G force meter is rendered.

ATATC commented 7 months ago

CPU usage still increases extremely as long as the G force meter is rendered.

It is confirmed that this is caused only by the G force meter.

ATATC commented 7 months ago

Investigating.

ATATC commented 7 months ago

Bug fixed. Now it can run at 200 fps.

ATATC commented 1 month ago

https://learn.adafruit.com/adafruit-9-dof-orientation-imu-fusion-breakout-bno085/uart-rvc-for-arduino