Asked
— Edited
Hallo,
da mein english eine Katastrophe ist bin ich auf der suche nach einem EZ-Robot Bastler aus Deutschland zum austauschen. Hat jemand Interesse?
Hello there,
because my English is a disaster I am to replace hobbyists from Germany looking for an EZ-Robot. Is someone interested?
Greetings Sven
weder
$SpeechConfidence <= (0,6)
noch
$SpeechConfidence ( <= 0,6 )
funktioniert
ich habe jetzt stt dem Komma einen Punkt gesetzt, komischerweise funktioniert es jetzt manchmal aber nur wenn er es verstanden hat. Können wir morgen Abend noch mal telefonieren?
VG Sven
kein Ding könne wir machen so ab 20... wie immer?
Boris
sorry voll verpennt. Hatte heute soviel zu tun ich bin um 19 kurz eingeschlafen.
Morgen probieren wir es noch mal ;-)
Sorry
Boris
Im Grunde ja ganz einfach aber es funktioniert nicht.
Hier mal eine Überischt der Variablen die funktionieren oder eben nicht:
$date funktioniert
$month funktioniert
$year funktioniert
$day funktioniert
$dayName funktioniert nicht
$hour funktioniert
$minute funktioniert
$second funktioniert
$monthName funktioniert nicht
Hast Du eine Idee weshalb alle Variablen mit Name hinter der Variable nicht gehen? Muss ich diese noch bestimmen wenn ja aber wie?
VG Sven
welche Kamera nutzt Du, kannst Du mir da etwas empfehlen? Ich nutze ja bisher nur die von EZ-Robot.
Danke
Yes, there are variables, but what should I do so the robot says this Variable?
SayWait ("$date") is working
SayWait ("$month") is working
SayWait ("$year") is working
SayWait ("$day") is working
SayWait ("$dayName") not working
SayWait ("$hour") is working
SayWait ("$minute") is working
SayWait ("$second") is working
SayWait ("$monthName") not working
Alle Variablen mit (Name) funktionieren nicht.
Here another Test:
Code:
The Robot dont say the Day (Freitag).
In Variable Watcher I see that it is set correctly.
Do you know what I mean?
You will need to remove the quotes around the $W variable:
Code:
Testing it in various voices, I find none of them can seem to pronounce Friday correctly. Anna comes closest but adds something to the end of the word. I'm not sure how it is in German. Maybe it is pronounced correctly then. I mention this in case you find it does not pronounce it correctly in German either. It is a fault in the voice algorithm and not in the script itself.
EDIT I found the cause of the pronunciation problem. There needs to be a space at the end of the first part:
Code:
It was treating it as all one word before (istFreitag).
EDIT AGAIN
I forgot to mention that, if you remove the quotes around the original variables, such as $DayName, it will also work without having to use the $W variable. Such as:
Code:
Basically, the rule is, never put quotes around a variable when using it in a script.
Thanks for the help now it works always. To me it was not about the debate but it just did not work, the robot did not say anything. This is my script works great:
Code:
You have noted that even without an additional variable works, unfortunately this is not the case with me:
Code:
Dont work, but this work:
Code:
It's sometimes not that easy. Thanks to you and greetings from Germany.
Sven
This is not good:
Code:
This is good:
Code:
*Note how there is a space at end of "day is "
You're doing good!
PS, there is are many example projects in the EXAMPLES folder of ARC. One in particular that could be useful for this conversation is called VARIABLES.EZB. I would recommend viewing that example project. It demonstrates how to use variables, spaces, etc...
I'm very glad to hear you have it working. Still, it's strange that adding the space after 'ist' did not work for you. It may be just an odd language difference.
Would you run a test to satisfy my curiosity? Please try adding a period after ist, like this:
Code:
to see what happens. Thanks.
with 2 periods after (ist) works also.
I thank you all for the help, that was exactly my fault, the space was missing.
Great, thank you!
Code:
It works great!
Yes I try a lot and most also have a lot of problems just getting to be active because of the language in the forum. Please forgive me this also many questions that should not be basically. I try to learn everything.
They are very helpful thanks a lot.
I have now also equal a new problem to which I have just uploaded a video. I'm going to build a new small robot, this I use multi-rotation servos and does not work properly. Explore the video:
https://youtu.be/wwaaWDcvSrg
It is probably not the servos because I have tested 6 such servos.
One more point. There should be spaces before and after der and te also. This makes them separate words. Also a space between the varaibles $MonthName and $year. It seems to work out ok now because the speech generator automatically breaks up the speech sent to it if it sees a number at the end of a word. This is what you are actually sending to the 'SayWait' command now:
Heute ist freitagder30teJanuar2016
This is what you really want to send:
Heute ist freitag der 30 te Januar 2016
Adding those spaces will do that.
In this particular case it will sound much the same either way, however, that will not always be the case.
Unfortunately, I've never worked with the continuous rotation servos so I have no advice for your on that but I'm sure someone will.
Please excuse my late reply, I have a lot of business to do at the moment. Thank you for your renewed instructions. I will implement them in the next few days and hope that someone will help me with the servo problem.
Welcher servos benützt du in die "servofehler" video?
Claus
Danke für Deine Kontaktaufnahme, ich habe vor 2 oder 3 Jahren mal 2 EZ-B Sets (V3) bestellt, da waren die Servos mit dabei, sind also Original Ez-Robot Rotation Servos welche ich jetzt zum ersten mal an der V4 benutzen wollte.
VG Sven