Skip to content

Please, refresh the augmentation method #2

Closed

Description

@halmaia

Dear Kenneth,

My name is Ákos Halmai, I write the SL3Reader, we had an e-mail exchange a few years ago. You used the idea from it and I see this part in your code:

c = 1.4326
lim = 1.2

for i in range(1, len(self.df)):
t1 = self.df.loc[i, 'seconds']
v1 = self.df.loc[i, 'gps_speed']
d1 = math.tau - self.df.loc[i, 'gps_heading'] + (math.pi / 2)

Please, check the new version in my repo, the original idea was totally wrong! Now I wrote a correct one. The c does not account the curvature of the earth causing various issues outside Hungary. If you try the new approach, you should get a much better result.
In the next few days I going to polish it a little bit, but the idea is ready to use.

Best regards,
Ákos Halmai

Activity

  1. KennethTM commented on Jan 20, 2025

    @KennethTM
    Owner

    Hi Ákos

    Thanks for the very nice SL3Reader - and thanks a lot for the update on the coordinate augmentation!

    I will update the implementation as soon as possible.

    All the best,
    Kenneth

  2. KennethTM commented on Jan 20, 2025

    @KennethTM
    Owner

    Coordinate augmentation updated in 0.1.7 - thanks @halmaia!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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