| View previous topic :: View next topic |
| Author |
Message |
Joe Fishback
Joined: 11 Jan 2008 Posts: 1 Location: Georgia
|
Posted: Mon Aug 04, 2008 1:23 am Post subject: Saving two voices for same command |
|
|
I am controlling a Robopet with Robodance and everything run fine. My problem is that I have two different people using the same Robopet and their pronucation of the command words are different. I can get things to work by changing the spelling for each person each time they use Robodance. Is there any way to save the two different pronucations of the same command?
Joe Fishback |
|
| Back to top |
|
 |
roschler Site Admin
Joined: 28 Feb 2005 Posts: 953
|
Posted: Tue Aug 05, 2008 10:58 am Post subject: |
|
|
You can't do that with Robodance currently. You can do it in a pretty awkward but simple way outside of Robodance. The pronunciation table is stored in a file called [ROBOT-NAME-codes.txt] in the sub-directory underneath where you installed Robodance called /data/[ROBOT-NAME]. For example, if you installed Robodance to the default location, and in your case for the Robopet, you would find the robopet_v1-codes.txt file here:
C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes.txt
So if you wanted to have different people with their own pronunciations, you would have two separate codes files, one for each user. Let's say you have two users named User1 and User2 (you could use their real names just as well). First you would have User1 use Robodance to modify the command pronunciations. Then you would exit Robodance and copy the file shown above to:
C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER1.txt
Then you would repeat the process for User2 except when you exit Robodance, you would copy the file to:
C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER2.txt
Then you would create two simple batch files that you would call to run Robodance that would copy over the desired users codes file before running Robodance. For example, here's a sample SWITCH-TO-USER-1.BAT batch file:
| Code: | copy C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER1.txt C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes.txt
C:\Program Files\Robodance\robodance.exe
|
And a second example for User2 called SWITCH-TO-USER-2.BAT:
| Code: | copy C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes-USER2.txt C:\Program Files\Robodance\data\ROBOPET_V1\robopet_v1-codes.txt
C:\Program Files\Robodance\robodance.exe |
NOTE: You would have to remember to update the user specific codes files as talked about above whenever you made new changes to the pronunciations for either of the users.
At some point in the future I want to add user profiles to Robodance, but there's a lot of stuff in front of that feature since there hasn't been much call for it.
Thanks,
Robert |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|