kartkraft-telemetry icon indicating copy to clipboard operation
kartkraft-telemetry copied to clipboard

Angular Velocity/Acceleration

Open saxxon66 opened this issue 5 years ago • 5 comments

Thank You

First of all I would like to say thank you, excellent job. Very nice approach to give us all of these sample impl.

For our motion simulator (https://github.com/SimFeedback/SimFeedback-AC-Servo) we use telemetry data in different ways.

We use

  • roll, pitch and yaw to represent the position of the kart in the world (like going uphill, ...).
  • acceleration vector data by using the rate of change over time, we call it jerk, to get the acceleration feeling. This data will be lowpass filtered.
  • rate of change from angular data, highpass filtered to support the acceleration feeling.

Can you implement angular velocity or acceleration?

Again, thank you for your support.

Some thoughts about ...

FlatBuffer

Problem is, the framework is a black box for the client. It will send only binary data and you can not debug the network stream due to the serialization. This is why most of the services use JSON in a not serialized binary form.

I do like the FlatBuffer framework but not for a public interface. The performance gain will not be much, most cpu time will go into the network stream handling anyway. It is all good for the happy path, but if something goes wrong, ... .

So if you like the performance, latency aspect what about shared memory?

Or if you like to support a variety of different clients why not use JSON? It has a ECMA data interchange standard and is supported by almost all programming languages (http://www.json.org/).

saxxon66 avatar May 10 '19 10:05 saxxon66