Problem with force plate data streaming
Posted: Mon Aug 07, 2023 12:49 pm
We have 6 Kistler force plates. The data collection inside Motive works. Now I want to stream data and I am using the MATLAB code NatNetPollingSample (using the loopback interface).
The code does stream rigid body data. But for force plate data I have encountered 2 problems:
1- The number of forceplate (channels?) reported by data.nForcePlates varies from 0 to 18 from packet to packet.
2- Even when there does seem to be data streaming, I am not sure how to access the data. Using For example, data.ForcePlates(1).ChannelData returns the result below but I'm not sure how to get the measurement values.
The code does stream rigid body data. But for force plate data I have encountered 2 problems:
1- The number of forceplate (channels?) reported by data.nForcePlates varies from 0 to 18 from packet to packet.
2- Even when there does seem to be data streaming, I am not sure how to access the data. Using For example, data.ForcePlates(1).ChannelData returns the result below but I'm not sure how to get the measurement values.
Code: Select all
>> data.ForcePlates(1).ChannelData
ans =
AnalogChannelData[] with properties:
Length: 32
LongLength: 32
Rank: 1
SyncRoot: [1x1 NatNetML.AnalogChannelData[]]
IsReadOnly: 0
IsFixedSize: 1
IsSynchronized: 0