Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Odometre: Continuously add the velocity, could be in a function block that adds to itself.
Well I got it working. I changed absolutely nothing for acceleration except for the time interval between readings (delta t) to match 1/60th of a second, which made it work perfectly.
I still don't understand why adding velocity to itself and dividing by 60 works to get distance, but hey, it does, so I won't question it. I was trying to multiply speed times delta t and add it to itself every interval, which worked for larger intervals at constant speed, but for some reason lost accuracy over small intervals.