DataSetPlayer - Sending again first bottle in data.log at the end

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

DataSetPlayer - Sending again first bottle in data.log at the end

Marwin Sorce
Hi hackers,

I am doing an internship at Inserm for my last engineering year of study and I am using "DataSetPlayer" module.
I record bottles of Nao joint angle with dataDumper and replay its.
 I have some troubles with that because when dataSetPlayer has sent all bottles contained in the log file, it send again the first bottle. (so nao is going back to first posture)

It could be possible I am not using dataDumper or dataSetPlayer correctly but I haven't seen anything that could resolve my problem in the wiki doc. (Same problem with example on wiki http://wiki.icub.org/iCub_documentation/group__dataSetPlayerExample.html)
Do you have experienced any error like this ?

Thank you.
Marwin

Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Vadim Tikhanoff-2
Hi Marwin,

I have been trying to reproduce what you are mentioning but it all seems to run ok. I have actually downloaded the files from the wiki and tried it on various machines.
Are you running the latest versions of YARP and iCub? what OS are you using? are you using the installer of getting the source file from the git repository? If you are using the source can you please update?
Best
Vadim


On 03 Apr 2014, at 17:17, Marwin Sorce <[hidden email]> wrote:

> Hi hackers,
>
> I am doing an internship at Inserm for my last engineering year of study and
> I am using "DataSetPlayer" module.
> I record bottles of Nao joint angle with dataDumper and replay its.
> I have some troubles with that because when dataSetPlayer has sent all
> bottles contained in the log file, it send again the first bottle. (so nao
> is going back to first posture)
>
> It could be possible I am not using dataDumper or dataSetPlayer correctly
> but I haven't seen anything that could resolve my problem in the wiki doc.
> (Same problem with example on wiki
> http://wiki.icub.org/iCub_documentation/group__dataSetPlayerExample.html
> <http://wiki.icub.org/iCub_documentation/group__dataSetPlayerExample.html>
> )
> Do you have experienced any error like this ?
>
> Thank you.
> Marwin
>
> <http://robotcub-hackers.2198711.n2.nabble.com/file/n7578755/dataSetPlayer.png>
>
>
>
> --
> View this message in context: http://robotcub-hackers.2198711.n2.nabble.com/DataSetPlayer-Sending-again-first-bottle-in-data-log-at-the-end-tp7578755.html
> Sent from the RobotCub Hackers mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Robotcub-hackers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Marwin Sorce
Hi Vadim,

Thank for the answer, I have generated binaries from git sources, I updated everything (I am using yarp 2.3.62.1 and iCub 1.1.14) and still having this problem.
My OS is windows 7 pro 64bit.

With the wiki example, I see that on right_arm, left_arm, inertial.

Cheers
Marwin
Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Alberto Cardellino
In reply to this post by Marwin Sorce
In your experience, does the dataSetPlayer replays all the sequence or
just the very first item?
The dataSetPlayer in the Option menu has the 'repeat' flag, is it on or off?

Alberto

On 03/04/2014 17:17, Marwin Sorce wrote:

> Hi hackers,
>
> I am doing an internship at Inserm for my last engineering year of study and
> I am using "DataSetPlayer" module.
> I record bottles of Nao joint angle with dataDumper and replay its.
>   I have some troubles with that because when dataSetPlayer has sent all
> bottles contained in the log file, it send again the first bottle. (so nao
> is going back to first posture)
>
> It could be possible I am not using dataDumper or dataSetPlayer correctly
> but I haven't seen anything that could resolve my problem in the wiki doc.
> (Same problem with example on wiki
> http://wiki.icub.org/iCub_documentation/group__dataSetPlayerExample.html
> <http://wiki.icub.org/iCub_documentation/group__dataSetPlayerExample.html>
> )
> Do you have experienced any error like this ?
>
> Thank you.
> Marwin
>
> <http://robotcub-hackers.2198711.n2.nabble.com/file/n7578755/dataSetPlayer.png>
>
>
>
> --
> View this message in context: http://robotcub-hackers.2198711.n2.nabble.com/DataSetPlayer-Sending-again-first-bottle-in-data-log-at-the-end-tp7578755.html
> Sent from the RobotCub Hackers mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Robotcub-hackers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Marwin Sorce
No no, it replays only the first item, but it's not with all the data.log file, I compared one which works properly and one which doesn't but they're the same.

It does not come from the repeat option because it's off but it's interesting to see that with the repeat option the first bottle is not repeated twice at the beginning of each sequence. That is a bit like if the thread was stopped too late in normal mode ? no ?

Marwin
Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Vadim Tikhanoff-2
Hi Marwin,

I am currently doing some test on the data available from the site. Could you please also send me your data.log and info.log so in order for me to replicate it ?
Best
Vadim

On 10 Apr 2014, at 09:41, Marwin Sorce <[hidden email]> wrote:

> No no, it replays only the first item, but it's not with all the data.log
> file, I compared one which works properly and one which doesn't but they're
> the same.
>
> It does not come from the repeat option because it's off but it's
> interesting to see that with the repeat option the first bottle is not
> repeated twice at the beginning of each sequence. That is a bit like if the
> thread was stopped too late in normal mode ? no ?
>
> Marwin
>
>
>
> --
> View this message in context: http://robotcub-hackers.2198711.n2.nabble.com/DataSetPlayer-Sending-again-first-bottle-in-data-log-at-the-end-tp7578755p7578768.html
> Sent from the RobotCub Hackers mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> Robotcub-hackers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Marwin Sorce
 Hi Vadim,

In left_arm log of hold directory, I replace the first item in data.log by "first bottle" to check easily with yarp web interface if dataSetPlayer plays back the first item at the end.

I also check if I execute only the left_arm data, there's no problem, dataSetPlayer works properly in this case ..

Marwin


On Thursday, April 10, 2014 09:47 CEST, Vadim Tikhanoff <[hidden email]> wrote:

> Hi Marwin,
>
> I am currently doing some test on the data available from the site. Could you please also send me your data.log and info.log so in order for me to replicate it ?
> Best
> Vadim
>
> On 10 Apr 2014, at 09:41, Marwin Sorce <[hidden email]> wrote:

>
> > No no, it replays only the first item, but it's not with all the data.log
> > file, I compared one which works properly and one which doesn't but they're
> > the same.
> >
> > It does not come from the repeat option because it's off but it's
> > interesting to see that with the repeat option the first bottle is not
> > repeated twice at the beginning of each sequence. That is a bit like if the
> > thread was stopped too late in normal mode ? no ?
> >
> > Marwin
> >
> >
> >
> > --
> > View this message in context: http://robotcub-hackers.2198711.n2.nabble.com/DataSetPlayer-Sending-again-first-bottle-in-data-log-at-the-end-tp7578755p7578768.html
> > Sent from the RobotCub Hackers mailing list archive at Nabble.com.

> >
> > ------------------------------------------------------------------------------
> > Put Bad Developers to Shame
> > Dominate Development with Jenkins Continuous Integration
> > Continuously Automate Build, Test & Deployment
> > Start a new project now. Try Jenkins in the cloud.
> > http://p.sf.net/sfu/13600_Cloudbees
> > _______________________________________________
> > Robotcub-hackers mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
>




------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers

hold.zip (30K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Vadim Tikhanoff-2
Hi Marwin,

please update the icub repository, compile and try again. I have made a quick fix that will avoid this issue. I have tested it with your data and the test one on different machines and seems to be ok. 
Please try it yourself and let me know, thank you for the bug notification. 
Best
Vadim

On 10 Apr 2014, at 10:04, SORCE Marwin <[hidden email]> wrote:

Hi Vadim,

In left_arm log of hold directory, I replace the first item in data.log by "first bottle" to check easily with yarp web interface if dataSetPlayer plays back the first item at the end.

I also check if I execute only the left_arm data, there's no problem, dataSetPlayer works properly in this case ..

Marwin


On Thursday, April 10, 2014 09:47 CEST, Vadim Tikhanoff <[hidden email]> wrote: 

Hi Marwin, 

I am currently doing some test on the data available from the site. Could you please also send me your data.log and info.log so in order for me to replicate it ?
Best
Vadim

On 10 Apr 2014, at 09:41, Marwin Sorce <[hidden email]> wrote:


No no, it replays only the first item, but it's not with all the data.log
file, I compared one which works properly and one which doesn't but they're
the same.

It does not come from the repeat option because it's off but it's
interesting to see that with the repeat option the first bottle is not
repeated twice at the beginning of each sequence. That is a bit like if the
thread was stopped too late in normal mode ? no ?

Marwin



--
View this message in context: http://robotcub-hackers.2198711.n2.nabble.com/DataSetPlayer-Sending-again-first-bottle-in-data-log-at-the-end-tp7578755p7578768.html
Sent from the RobotCub Hackers mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers





<hold.zip>


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|

Re: DataSetPlayer - Sending again first bottle in data.log at the end

Marwin Sorce
Hi Vadim,

Your fix works perfectly, thank you very much.

Cheers
Marwin