by romayiii » Tue May 17, 2011 4:15 pm
by romayiii
Tue May 17, 2011 4:15 pm
Hi ChrisVo!
Thank you for your fast response!
latest version of libkondo4
I'm pretty sure we are using tha latest version of libkondo, we had an issue with analog devices and updated to commit 32 where it was fixed.
printing the value of the options (ki->opt)
Unfortunately we have printed this value and never changed. This is a recent problem, tha last weeks we had been working fine. So I will try to check the settings in H2H4 to see if there is something I can check or unckeck there.
but it took more than 3 months!
We don't think we can wait that time for a replacement
placing an additional block at the end of your motion which sets a counter value
I think this could really be our solution, I think I will have no problem adding this counter value at the end of the motion, however,
which you can then read in lieu of the options string to determine that a motion is complete
I'm not pretty sure how to read this from libkondo. I have found this function: int kondo_get_counter(KondoRef ki, UCHAR * result, UINT num)
If I put in counter C1 a value of "1" in H2H block, I then read from "num = 1" and will have in "result" this "1"? so maybe
I will have to initialize this counter at the begining of my motion to for example a value of "0"? or
do you know if this counters are automatically initilized to a value when ever a new motion is played?
Thank you very much for your time, I think with this we will be able to handle the problem.
P.S. I have read that you were participating with RoboPatriots in RoboCup 2010, I was also there participating with Cyberlords, maybe we can meet in Istambul this year
.
Hi ChrisVo!
Thank you for your fast response!
latest version of libkondo4
I'm pretty sure we are using tha latest version of libkondo, we had an issue with analog devices and updated to commit 32 where it was fixed.
printing the value of the options (ki->opt)
Unfortunately we have printed this value and never changed. This is a recent problem, tha last weeks we had been working fine. So I will try to check the settings in H2H4 to see if there is something I can check or unckeck there.
but it took more than 3 months!
We don't think we can wait that time for a replacement
placing an additional block at the end of your motion which sets a counter value
I think this could really be our solution, I think I will have no problem adding this counter value at the end of the motion, however,
which you can then read in lieu of the options string to determine that a motion is complete
I'm not pretty sure how to read this from libkondo. I have found this function: int kondo_get_counter(KondoRef ki, UCHAR * result, UINT num)
If I put in counter C1 a value of "1" in H2H block, I then read from "num = 1" and will have in "result" this "1"? so maybe
I will have to initialize this counter at the begining of my motion to for example a value of "0"? or
do you know if this counters are automatically initilized to a value when ever a new motion is played?
Thank you very much for your time, I think with this we will be able to handle the problem.
P.S. I have read that you were participating with RoboPatriots in RoboCup 2010, I was also there participating with Cyberlords, maybe we can meet in Istambul this year
.