vis4d.state.track3d.motion.base

Motion model base class.

Functions

update_array(origin_array, input_array)

Update array according the input.

Classes

BaseMotionModel(num_frames, motion_dims[, ...])

Base class for motion model.

class BaseMotionModel(num_frames, motion_dims, hits=1, hit_streak=0, time_since_update=0, age=0, fps=1)[source]

Base class for motion model.

Creates an instance of the class.

get_state()[source]

Get the state.

Return type:

Tensor

predict(update_state=True)[source]

Predict the state.

Return type:

Tensor

predict_velocity()[source]

Predict velocity.

Return type:

Tensor

update(obs_3d, info)[source]

Update the state.

Return type:

None

update_array(origin_array, input_array)[source]

Update array according the input.

Return type:

Tensor