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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 154k
  • Answers 154k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer SPGridView is not sealed so certainly it can be extended… May 12, 2026 at 10:29 am
  • Editorial Team
    Editorial Team added an answer Do you have a debugger available to you? If so,… May 12, 2026 at 10:29 am
  • Editorial Team
    Editorial Team added an answer If your team is composed of reasonably smart people, I… May 12, 2026 at 10:29 am

Related Questions

I've been using Git now for a couple of months on a project with
I'm thinking about making a networked game. I'm a little new to this, and
Most dead-tree books and web tutorials address Rails 1.X. I'm wondering if they are
Finding dead code in Delphi is usually real simple: just compile and then scan
I'd like a dead simple explanation of policy injection for less-informed co-workers. Where is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.