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.

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

Creates an instance of the class.

update(obs_3d, info)[source]

Update the state.

Return type:

None

predict_velocity()[source]

Predict velocity.

Return type:

Tensor

predict(update_state=True)[source]

Predict the state.

Return type:

Tensor

get_state()[source]

Get the state.

Return type:

Tensor

update_array(origin_array, input_array)[source]

Update array according the input.

Return type:

Tensor