liangjianbo 733b334cfd 添加dancegame getResult的接口 há 4 anos atrás
..
DanceGame.cpp 733b334cfd 添加dancegame getResult的接口 há 4 anos atrás
DanceGame.h 733b334cfd 添加dancegame getResult的接口 há 4 anos atrás
Game.cpp 733b334cfd 添加dancegame getResult的接口 há 4 anos atrás
Game.h fc49aa7303 提交手机用的sdk(已经验证跑酷游戏的功能) há 4 anos atrás
InertialTrajProcess.cpp fc49aa7303 提交手机用的sdk(已经验证跑酷游戏的功能) há 4 anos atrás
InertialTrajProcess.h fc49aa7303 提交手机用的sdk(已经验证跑酷游戏的功能) há 4 anos atrás
ReadMe.txt 38cb8d5584 添加SDK简单的解释 há 4 anos atrás
RunGame.cpp fc49aa7303 提交手机用的sdk(已经验证跑酷游戏的功能) há 4 anos atrás
RunGame.h fc49aa7303 提交手机用的sdk(已经验证跑酷游戏的功能) há 4 anos atrás
pub.h fc49aa7303 提交手机用的sdk(已经验证跑酷游戏的功能) há 4 anos atrás

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