Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 323571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:02:36+00:00 2026-05-12T09:02:36+00:00

Dead reckoning is the process of estimating one’s current position based upon a previously

  • 0

“Dead reckoning is the process of estimating one’s current position based upon a previously determined position and advancing that position based upon known or estimated speeds over elapsed time, and course.” (Wikipedia)

I’m currently implementing a simple server that makes use of dead reckoning optimization, which minimizes the updates required by making logical assumptions on both the clients and the server.

The objects controlled by users can be said to be turning, or not turning. This presents an issue with dead reckoning (the way I see it.)

For example, say you have point A in time defined by [position, velocity, turning: left/right/no]. Now you want point B after t amount of time. When not turning, the new position is easy to extrapolate. The resulting direction is also easy to extrapolate. But what about when these two factors are combined? The direction of the velocity will be changing along a curve as the object is turning over t amount of time.

Should I perhaps go with another solution (such as making the client send an update for every new direction rather than just telling the server “I’m turning left now”)?

This is in a 2D space, by the way, for the sake of simplicity.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:02:36+00:00Added an answer on May 12, 2026 at 9:02 am

    For simplicity let’s say that your vehicles have a turning radius r that’s independant of speed. So to compute the new position given the initial coords and the time:

    • compute the distance (that’s velocity * time)
    • compute how much you turned (that’s distance / (2*pi*r))
    • add that arc to the original position.

    The last steps needs elaboration.

    Given the angle a computed in step 2, if you started at (0,0) with a due north heading (i.e. pi/2 radians) and are turning left then your new positions is: (rcos(a)-1, rsin(a)).

    If your original heading was different, say it was “b”, then simply rotate the new position accordingly, i.e. multiply by this rotation matrix:

     [ cos b , -sin b ]
     [ sin(b), cos(b) ]
    

    Finally, add the initial position and you’re done. Now you only need to send an update if you change the velocity or turning direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say that you want to create a dead simple BlogEditor and, one of
The Apple Developer Documentation (link is dead now) explains that if you place a
Dead silence! Not often you experience that on Stackoverflow... I've added a small bounty
I recently came into some blogs saying that Linq to Sql is dead. and
I hit the dead end with this one, scratching my head for half a
How to mask an unwanted Dead Store warning in XCode? That is I have
I've got a full-heap core dump from a dead process on an x86 Linux
Most dead-tree books and web tutorials address Rails 1.X. I'm wondering if they are
I'd like a dead simple explanation of policy injection for less-informed co-workers. Where is
If its dead, is there a successor? For those who didn't know: The Network

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.