This project is body motion track software.
- T-body correction gyroscope.
-
Receive hardware signo and calculate motion frame. -
Sending frame motion to blender client script. -
Select key log frame and smooth between keyframes logs.
- smooth keyframes api
/keyframe/smooth_logs. passing value byGETmethod. it will find all keyframes timestamp, each timestamp will add, sub a microsecond then search allaction_login this range and avg the logs vector. range config bytime_range. - smooth keyframes api
/keyframe/smooth_logs. will also calculate between keyframes, and split to multiple parts config bysplit_partsand range bysplit_range. eg:split_parts=[0.25,0.5,0.75]&split_range=0.1it will match 24% to 26% range logs vector in keyframes gap and avg it. - clean up logger
/record/reset_log. you need to passingconfirm=trueto execute it. - batch create logger
/record/api/batch/create/action_log/passing value liketarget_id=1,2,3&target_type=1,1,1&x=1,2,3&y=1,2,3&z=1,2,3×tamp=1,1,1or sametarget_typetarget_id=1,2,3&target_type=1&x=1,2,3&y=1,2,3&z=1,2,3×tamp=1,1,1or same id and typetarget_id=1&target_type=1&x=1,2,3&y=1,2,3&z=1,2,3×tamp=1,1,1 - setup baseline by record action logs
/record/setup/baselineit will average all five seconds vectors. this data not include before three seconds ending data.
init script
filename = "path_project/blender/main.py"
exec(compile(open(filename).read(), filename, 'exec'))- to auto enable, disable hardware signal recording panel
/record/panel - hardware connect panel
/record/hardware/connect/status
