I am working on a game where, with every update of the game cycle, AI is executed. During this update, I have a chance to turn an object controlled by AI and / or speed it up in the direction it is. I want it to reach its final location (within a reasonable range) and in this place have a certain speed and direction (again, this does not need to be exact) That is, given the current:
Choose Immediate:
Thus, they are minimized:
. 1000 , , , , ( - ):
Pic http://public.blu.livefilestore.com/y1p6zWlGWeATDQCM80G6gaDaX43BUik0DbFukbwE9I4rMk8axYpKwVS5-43rbwG9aZQmttJXd68NDAtYpYL6ugQXg/words.gif
α τ Δt (Δt → 0 ) / , ( , , , ):
http://public.blu.livefilestore.com/y1p6zWlGWeATDTF9DZsTdHiio4dAKGrvSzg904W9cOeaeLpAE3MJzGZFokcZ-ZY21d0RGQ7VTxHIS88uC8-iDAV7g/equations.gif
(EDIT: θ = θ 0 + τΔt)
, α τ (, , > 100 )? , , , - :
, , :
, (, , ) , P f, V f θ f (.. / ), .
? , ?
,
, PD. . , . - . Eh. ( ), , KpEh + d/dt EhKd. .
thats
- ", , ". , , .
, , , , PD . PID, . Matlab. , , , , " ", , . , " , ". , . , "", , , , , . , . , , . PD , , . Kd Kp , Matlab. ( )
, , , ;)
.
: ... , . , , google , .
http://en.wikipedia.org/wiki/Bang%E2%80%93bang_control ( Bang-bang), PID PD. , , , , , , , , , . , - .