leon e31879344d new 3 years ago
..
.DS_Store 637e985bdb backup 3 years ago
DanceFoot.cpp e31879344d new 3 years ago
DanceFoot.h 637e985bdb backup 3 years ago
DanceGame.cpp e31879344d new 3 years ago
DanceGame.h 637e985bdb backup 3 years ago
FootStep.cpp 637e985bdb backup 3 years ago
FootStep.h 637e985bdb backup 3 years ago
Game.cpp e31879344d new 3 years ago
Game.h e31879344d new 3 years ago
GameObjc.h 637e985bdb backup 3 years ago
GameObjc.mm 637e985bdb backup 3 years ago
InertialTrajProcess.cpp 637e985bdb backup 3 years ago
InertialTrajProcess.h 637e985bdb backup 3 years ago
Interaction.cpp 637e985bdb backup 3 years ago
Interaction.h 637e985bdb backup 3 years ago
OriginTraj.cpp 637e985bdb backup 3 years ago
OriginTraj.h 637e985bdb backup 3 years ago
ReadMe.txt 637e985bdb backup 3 years ago
RunGame.cpp 637e985bdb backup 3 years ago
RunGame.h 637e985bdb backup 3 years ago
SingleFootAction.cpp 637e985bdb backup 3 years ago
SingleFootAction.h 637e985bdb backup 3 years ago
jumpH5.cpp e31879344d new 3 years ago
jumpH5.h e31879344d new 3 years ago
pub.h e31879344d new 3 years ago

ReadMe.txt



1、sdk 简例:

Game myGame = Game(RUNGAME);

int result[4];

myGame.GameProcess(right_pos_data, right_att_data, s_zupt, left_pos_data, left_att_data, h_zupt, jump, down, rssi);

myGame.getGameResult(result);


2, 结果解释

result[0] 管左脚的方向,见pub.h 里面的定义_CMD_MOTION MOTION_LEFT

result[1] 管右脚的方向,见pub.h 里面的定义_CMD_MOTION MOTION_RIGHT

result[2]:跳 见pub.h 里面的定义_CMD_MOTION MOTION_JUMP

result[3]: 蹲 见pub.h 里面的定义_CMD_MOTION MOTION_DOWN

----------------------------------------------------------------------------------------------------------

2021 /01 /13 新增步数 步频 步频快慢的接口

获取方法:

#define LEFT_FOOT 1
#define RIGHT_FOOT 2

int getStepStatus(int left_or_right); // 0 为停止 1为正常速度 2为快速

int getStepFreq(int left_or_right); //输出为步频

int getStepCount(int left_or_right); //输出创建对象后的步数统计

接口输入异常参数,均输出-1
----------------------------------------------------------------------------------------------
2021/02/08 优化跳舞毯的参数调整,包括跳舞毯的边界值,往后也需要迭代修改

1、本次修改的参数包括 边界的大小,大范围移动的检测后的落地值优化

2、将RSSI判断小范围移动的信号阈值改至5以内