-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Car oscillates a lot. #4
Comments
Hey @anupdey99 thank you for noticing. I too noticed the behavior and try to resolve this. I am trying to setting a interpolator (not a linearInterpolator) and running animation more smoothly when there are turns or the car is more likely to oscillate. What is your opinion? |
First of all, Thank you for your wonderful project. |
did you get solution for this issue. Please give the answer for this issue if you know the solution. |
@lakmalz No sir, I am on it will update the code as soon as I will find the solution. Do try at your end also. |
@anupdey99 calculating bearing is necessary for every pair of point because that will tell about the heading angle of the car and car will actually move at turns with angle. Without that you will see the car as straight and there will be no turning effects at the turn. |
@anupdey99 thanks for solution.but in real time tracking marker animating on builds.how to show marker animation on road only |
Has this been resolved? |
Hey @vladdoster no, this has not been resolved. I am still working and trying to solve this. Will update the code as soon as I get a solution. Thanks :] |
Will look into this. Seems like a threshold value might help smooth it out. 👍 |
The same issue is happening, did anyone found the solution? |
@amanjeetsingh150 @Moseqi I think I got the solution. |
Hey @mobilegeekkk that's awesome. Can you suggest the solution for this and maybe raise a PR also? That'll be awesome 👍 |
@mobilegeekkk Hey I saw your PR. Appreciating your early response. It would be great if you change the base branch to dev for all of the PR's and maybe a little explanation that how you resolved the issue through a GIF or images would be awesome. |
@amanjeetsingh150 I'll explain this after sometime. But It won't be possible for me to show a GIF or image. Sorry for that. I hope so that it would help you guys. |
Hey @mobilegeekkk no problem, that works just an explanation would work for me before merging the PR. |
@amanjeetsingh150 Hey Let me know if this can help you or not. |
@anupdey99 @lakmalz @amanjeetsingh150 Don't animate marker and change bearing on every emit of latitude longitude. If there will be proper distance between two location then only animate. It will help you to sort out this issue. |
Hey @amanjeetsingh150, Thanks for the wonderful project. |
@amanjeetsingh150 Any update on this? I am also facing the same issue. |
During animation car oscillates a lot. How to smooth that part?
The text was updated successfully, but these errors were encountered: