`
`
`CyWee Motion Fusion
`Solution
`(Middleware only)
`
`
`
`
`
`
`
`
`
`
`
`- 1 -
`
` Confidential (Internal Use Only)
`
` Limited Release
`
` Normal
`
`
`
`
`速位互動股份有限公司
`
`
`
` Cywee Group Ltd.
`
`CyWee Handset Total Solution
`
`(cid:122) CyWee motion middleware supporting Gyro, Accelerometer and magnetic sensors
`(cid:122) CyWee patented inclined gyro to simulate from 2-axis to 3-axis gyro output
`(cid:122) Provide sensor fusion motion library and API
`(cid:122) Other content provided by CyWee
`(cid:122) CyWee games(console, online game)
`(cid:122) Any existing PC game’s motion mapping
`(cid:122) Any existing cell phone’s games motion mapping
`(cid:122) New user interface on handset
`(cid:122) Mobile console and mobile dongle for real time video transmission from the
`handset to TV
`
`
`
`
`
`Fig. 1 Block diagram on handset
`
`
`
`
`速位互動股份有限公司
`
`
`
`- 2 -
`
`
`
` Cywee Group Ltd.
`
`Easy for Software Integration
`
`
`
`(cid:122) CyWee library for handset solution is O.S independent
`(cid:122) All pure C/C++ code
`(cid:122) Easily to integrate with other sensors: ex: G sensor, Gyro and MR sensor…etc. through I2C bus
`(cid:122) Customized motion recognition API for specific application on handset
`
`
`
`Fig. 2 Example: CyWee sensor fusion total solution on Android platform
`
`
`
`
`CyWee Motion Recognition Tech.
`
`(cid:122) Usage
`
`The CyWee motion recognition technology can provide the motion recognition result by using a 3-axis
`accelerometer (Ax, Ay, Az), a 2-axis gyroscope (Gwy, Gwz) and a 3-axis (Mx, My, Mz) magnetic sensor.
`The phone coordinate is shown in Figure 1:
`
`
`速位互動股份有限公司
`
`
`
`- 3 -
`
`
`
` Cywee Group Ltd.
`
`Fig. 3 Coordination of the phone
`
`
`
`3-axis accelerometer (Ax, Ay, Az) contains Ax, Ay and Az sensing axes. Each sensing axis aligns to the
`phone coordinate. The Ax’s “x” means aligning to phone coordinate +x. The Ay’s “y” means aligning to
`phone coordinate +y. The Az’s “z” means aligning to phone coordinate +z. The gyroscope’s
`Gwy means aligning to phone coordinate +wy. Gwz means aligning to phone coordinate +wz. The magnetic
`sensor’s Mx means aligning to phone coordinate +x. My means aligning to phone coordinate +y and Mz
`means aligning to phone coordinate +z.
`
`(cid:122) Protocol
`
` All sensors’ rawdata can be got from the CyWee library. These data’s format maybe become different
`from the original rawdata got directly from each sensor through I2C interface.
`
`The rule of usage can be found as blow:
`
`1. CyweeDataTypes.h
`2. CyweeApi.h
`CyweeDataTypes.h contains the parameters used in the program and the CyweeApi.h contains the
`functions definition of all the algorithms.
`
`
`速位互動股份有限公司
`
`
`
`- 4 -
`
`
`
` Cywee Group Ltd.
`
`(cid:122)
`
` API introduction
`
`CyWee library is a library of algorithm to detect the human motion and recognize it as a special status
`to interact with games. By this library, you can connect to the API with games on phone. You can also send
`the sensor data to PC side to use the phone as an air mouse and as a game controller to play the PC game.
`This API of CyWee library is in support of the usage of five modes. They are Rawdata mode, Sports
`mode, flying mode, racing mode and PC application mode.
`
`Rawdata mode:
`In this kind of API, CyWee will provide the API with all the sensors rawdata. It contains accelerometer,
`gyroscope and magnetic rawdata.
`
`Sports mode:
` In this kind of API, CyWee will provide the motion recognition results due to the motion of waving the
`phone in several directions. The motion can be as Figure 2 showing:
`
`
`Fig. 4 Sport mode
`
`
`
`Flying mode:
`In this mode, CyWee will provide with Roll, Pitch and Yaw three absolutely angle and relative Yaw and
`
`
`速位互動股份有限公司
`
`
`
`- 5 -
`
`
`
` Cywee Group Ltd.
`
`relative Pitch angle calculated by gyroscope. As Figure 3 showing:
`
`Fig. 5 Flying mode
`
`
`
`Racing mode:
`In this mode CyWee will provide racing steering motion to send moving forward, moving backward,
`turning left and turning right four motion output. As Figure 4 showing:
`
`
`Fig. 6 Racing mode
`
`
`
`PC application mode:
` In this mode, CyWee will prepare for all sensors’ information to the buffer of this API, and content
`developer can send to the PC side through WiFi or Bluetooth. Sensor’s rawdata is sent for PC motion game
`development. Air mouse’s displacement dx and dy on the screen are used for air mouse pointing function.
`
`
`(cid:122) API functions:
`
`#include “cyweeapi.h”
`
`
`
`速位互動股份有限公司
`
`
`
`- 6 -
`
`
`
` Cywee Group Ltd.
`
`1.
`
`
`2.
`
`3.
`
`4.
`
`5.
`
`int CywGetAllSensorRawdata(unsigned short* p_ushGsensor, unsigned short* p_ushGyroSensor,
`double* p_dbMSensor);
`
`int CywGetSportStatus(char* p_chSportStatus);
`
`int CywGetFlyingStatus(unsigned short* p_ushFlyingStatus);
`
`int CywGetRacingStatus(char* p_chRacingStatus);
`
`int CywGetPCAppStatus(cywee_data_t* );
`
` (cid:122)
`
` API function calling flow chat:
`
`Cywee API library intended to export all necessary data and status information for user APK in the
`corresponding format.
`Cywee API library mechanism implemented as a shared library which can be used by any Android APK
`or middleware processes.
`The name of the library in Android system is api_cwee.so.
`The library can provide different types of data such as continues stream of raw data or single variable data
`such as status.
`For example to get the continuous raw data stream, the APK can call CywGetAllSensorRawdata API
`periodically or APK can call CywGetSportStatus to get the game status if it’s necessary. Refer Fig. 2 in
`detail.
`
`
`
`速位互動股份有限公司
`
`
`
`- 7 -
`
`
`
` Cywee Group Ltd.
`
`
`
`More Fun on Handset for UI Control
`and Gaming
`
`Intuitive and easy gesture based UI control interface.
`Six degree of freedom and no angle limitation motion game experience.
`(cid:122) Sensor fusion Rawdata mode
`(cid:122) Sports mode
`(cid:122) Flying mode
`(cid:122) Racing mode
`
`Fig 7 CyWee gesture-based UI control with sensor fusion Tech
`
` (cid:122)
`
`
`(cid:122)
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`速位互動股份有限公司
`
`
`
`- 8 -
`
`
`
` Cywee Group Ltd.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Fig 8 Six degree of freedom no angle limitation motion game experience
`
`
`速位互動股份有限公司
`
`
`
`- 9 -
`
`
`
` Cywee Group Ltd.
`
`
`
`Link the Handset to TV for Air Mouse
`and PC Motion Gaming
`
`(cid:122) Using handset to be as an air mouse.
`(cid:122) The air mouse can support Window 7 multi-touch function.
`(cid:122) Using the handset to play PC motion game on TV.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Fig 9 Using the handset to be as an air mouse
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Fig 10 Using the handset to support Window 7 multi-touch function
`
`
`速位互動股份有限公司
`
`
`
`
`
`- 10 -
`
`
`
` Cywee Group Ltd.
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`
`Fig 11 Using the handset to play PC motion game on TV
`
`
`速位互動股份有限公司
`
`
`
`- 11 -
`
`