nagyistoce / tin-man

Automatically exported from code.google.com/p/tin-man
GNU General Public License v3.0
0 stars 0 forks source link

Wizard.AgentTransformUpdated event bug #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In WizardExample.cs file in TinMan.Samples.CSharp Project,
comment line 37:
//wizard.BallTransformUpdated += (time, transform) => Console.WriteLine("Ball 
position at {0}: {1}", time, transform.GetTranslation());

2. Run sample project.
3. Press 0 to start WizardExample.
4. Press a key.

What is the expected output? What do you see instead?
AgentTransformUpdated event must fired, but nothing happend.

What version of the product are you using? On what operating system?
0.5.7, Windows 7

Original issue reported on code.google.com by m.za...@gmail.com on 24 Oct 2011 at 3:45

GoogleCodeExporter commented 9 years ago
The reason is in line 108 and 132 of Wizard.cs in TinMan project.
If ballEvent be null, in line 108 the condition will return false, so line 132 
will not been check at all.

Original comment by m.za...@gmail.com on 24 Oct 2011 at 3:48

GoogleCodeExporter commented 9 years ago
Thank you for this report (and the other two you raised around this time).

Indeed you've discovered some great bugs, and I will endeavour to fix them all 
over the next little while.  Thank you for your in-depth analysis into their 
causes as well.

The monitor protocol is quite difficult to work with, so any change in its 
structure causes bugs in the Wizard.

This eventing bug is a nice and clear one though and I'll patch it once I have 
time to verify the patch.  I have to head into work right now.

Thanks for your interest in TinMan :)

Original comment by drewnoakes on 24 Oct 2011 at 6:46

GoogleCodeExporter commented 9 years ago
Hi,
I meet some guys working on robocup-things in Linux last week ;).
So I - as a .Net man :P - just interested if there is a way I can work on it 
with .Net and I found here.

I just want to thank you for your great work, and I will be so glad if I can 
help you. :)

Original comment by m.za...@gmail.com on 24 Oct 2011 at 7:22

GoogleCodeExporter commented 9 years ago
That's great.  You're not in Hatfield are you?  I know some RocoCup/C++/Linux 
work was going on there last week :)

I'm most comfortable with C# as well and wanted a .NET API for building agents. 
 TinMan is currently being used by one team (a joint team between 
Pakistan/Australia) who competed in this year's world cup.  There is still much 
that could be added to TinMan to help new teams get started, but until now I've 
focussed on building a solid base.  Bug reports like yours are particularly 
useful, to that end.

I hope you will continue to find RoboCup fun, and find TinMan useful.  Input 
such as yours is essential for the growth of the TinMan project, so I encourage 
you to continue being a part of it! 

Original comment by drewnoakes on 24 Oct 2011 at 7:40

GoogleCodeExporter commented 9 years ago
Thanks for your kind comments.
Yes, It seems there will be so fun in RoboCup, so I hope I can keep working on 
this. If so, you can count on me. ;)

And again, Thank you for your great work. TinMin will have a big role .Net 
developers enjoying more in RoboCup.
I am enjoying your good work now.
Thank you.

Original comment by m.za...@gmail.com on 24 Oct 2011 at 10:58

GoogleCodeExporter commented 9 years ago
Thanks again for reporting this bug.  I've just applied a fix in code.  I'll 
look into the other issues you raised as well.

Once the other issues are sorted out, I'll release a new version of the 
binaries.

How are you enjoying RoboCup? :)

Original comment by drewnoakes on 3 Dec 2011 at 9:04

GoogleCodeExporter commented 9 years ago
Hi,
Glad to see you are active. :)
Unfortunately I had not enough time last month, But I'm going to restart
enjoying RoboCup next week. :D
I will let you know if I can find any way to improve your great work. ;)

I had some problems/questions last time I was working with Tin-Man, I will
be so thankful if I could use your knowledge/experiences in this field.

Original comment by m.za...@gmail.com on 3 Dec 2011 at 9:25

GoogleCodeExporter commented 9 years ago
I was very busy this last month too, which is why it took me so long to get 
through your great bug reports.

Some progress has been made on the TransformationMatrix issues you uncovered 
too.

I am happy to help in any way I can.  Feel free to ask any question you like!

Original comment by drewnoakes on 3 Dec 2011 at 10:59