View Single Post
  #12  
Old 05-10-2017, 04:49 AM
Vaquero Vaquero is offline
Member
 
Join Date: Nov 2015
Posts: 62
I'm adding the live character in script with this line:
Code:
live_char = vizmocap.LiveCharacter('localhost', 8050, 8055, model=avatar)
I have to switch the avatar model in the experiment, so I didn't use vizconnect for that. I simply do this with
Code:
live_char.removeModel(avatar)
avatar.remove()
avatar = get_avatar_by_type(objective.avatar_type, participant.height) #own function
live_char.addModel(avatar)
But well, I guess, the switch wouldn't have anything to do with the synchronization problem between the 2 windows, because it's not working even before the switch.
When I get to book the lab again, I'll try the client on an extra laptop and change 'localhost' to the address of the machine where the live characters plugin is running.
Reply With Quote