Safemotion Lib
Loading...
Searching...
No Matches
Functions
motion_builder Namespace Reference

Functions

 build_motion (args)
 

Function Documentation

◆ build_motion()

motion_builder.build_motion ( args)

Definition at line 7 of file motion_builder.py.

7def build_motion(args):
8 assert args.type in __motion_builders__, \
9 f'not found motion model type : {args.type}'
10
11 motion_builder = __motion_builders__[args.type]
12 motion_args = args.copy()
13 motion_args.pop('type')
14 return motion_builder(**motion_args)