psmoveservice / PSMoveService

A background service that communicates with the psmove and stores pose and button data.
Apache License 2.0
593 stars 147 forks source link

Empty PhysicsData field in PSMoveState #751

Open DavidDiazGuerra opened 3 years ago

DavidDiazGuerra commented 3 years ago

Hi all,

I asked this question in the Google Group a couple of weeks ago but I did not get any answer. I guess it was too "code related", so I will ask it here too.

Thanks, David

Hello all!

I'm developing an openFrameworks (OF) addon to make it easier to control and interact with an OF application using a PlayStation Move controller through PSMoveService. You can find it in my GitHub repository: https://github.com/DavidDiazGuerra/ofxPSMoveService

The project is doing well and I'm pretty happy with the PSMoveClient CAPI, but I'm having troubles with the PhysicsData field inside the PSMoveState class. Even including the PSMStreamFlags_includePhysicsData flag when calling PSM_StartControllerDataStream, LinearVelocityCmPerSec, LinearAccelerationCmPerSecSqr, AngularVelocityRadPerSecand AngularAccelerationRadPerSecSqrtare always 0.

Any idea about what can I be doing wrong?

Best regards, David