I will try to fix this problem and give you an update later..
any suggestions are welcome.
sylvi
This configuration is the maximum update rate that we can use in CAVE
computer.
<module class="nvmVirtualPhysics" id="physics"
simulation_factor="4" ... >
<cluster updateFrequency="500">
...
<module class="nvmVRPNClient" id="VRPN">
<device id="Spidar" name="Spi...@161.122.38.198"
updateFrequency="500">
it means update for physics will be called 500Hz. and update for
SPIDAR will be called 500Hz.
if we increase the updateFrequency or simulation factor (in the
physics module), this may effect the performance.
for example:
if we increase the simulation factor = 10, the callback function in
nvmVRPNClient may never been called as the result SPIDAR will never
send force value to the device.
I have tested that configuration, I think 500Hz is enough for the
SPIDAR, the force feedback is smooth enough.
Unfortunately, I've found another problem related with shared state.
sylvi