(constrain value min-value max-value)
Return value if between min-value and max-value. If below min-value return min-value. If above max-value return max-value.
Return value if between min-value and max-value. If below min-value return min-value. If above max-value return max-value.
(pd-actuation {:keys [proportional-error derivative-error] :as pd}
{:keys [proportional-factor derivative-factor] :as pd-parameters})
Use PD to select actuation (such as steering angle).
Use PD to select actuation (such as steering angle).
(pd-steering-estimate state)
Given a state, what steering angle does a PD controller recommend?
Given a state, what steering angle does a PD controller recommend?
(policy state)
Given current state, determine next actuation. Each element of the result vector is a probability distribution to represent the uncertainty in which actuation would be the best.
Given current state, determine next actuation. Each element of the result vector is a probability distribution to represent the uncertainty in which actuation would be the best.
(predict state actuation coord dt)
Given current state and actuation, determine how the state will change.
Given current state and actuation, determine how the state will change.
(value state)
Measure of how 'good' a state is. A plan will be chosen that maximizes the average result of this function across each state in the plan.
Measure of how 'good' a state is. A plan will be chosen that maximizes the average result of this function across each state in the plan.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close