Code center > Darwinbots3

Collision detection tests

(1/10) > >>

Numsgil:
I'm working on collision detection for physics right now.  I've redone the basic underlying algorithm, and as a result a lot of the old tests I have, while still useful, aren't fully testing what I need them to test.

If anyone has any time and interest in helping out, I basically need a whole suite of tests updated, and maybe some new ones written.  You can see the current tests here.  The old tests are only testing for the first intersection after some time, but the new algorithm finds all the intersections in an interval of time simultaneously, and I need to update the tests to reflect that.

I need tests that test each different part of a motion (linear velocity, linear acceleration, angular velocity, angular acceleration, that sort of thing), and there's a certain amount of combinatorial complexity that makes writing all the tests kinda a pain.

I can walk through it in more detail if anyone is interested.  I'll probably do it myself sometime in the next two weeks if no one volunteers, but I'm sort of dreading it.

Botsareus:
I kinda still want to work on DB2. I am still waiting on getting good hardware and most of this stuff is over my head anyway.

Peter:
Willing to help, but afraid it'll go over my head. Especially if you say it'll be a pain.

Numsgil:
If you've completed an entry level physics course in University you should be good.  It's stuff like: if a box is falling at 10 m/s/s, how long does it take to impact another box rotating at Pi/2 radians/s.  Only the starting conditions don't matter; only the impact time.  So I've just been starting at the impact time with an arbitrary configuration and working backwards 2 or 3 seconds.

As a first step, can you try syncing to the DB3 SVN and grabbing the code?  Try building Azimuth.sln and Annulus.sln locally, and let me know if you have any issues.  There's going to be some unit test failures in both of those solutions, but it should compile at least.

Peter:
When compiling Azimuth.

Error list
Error   193   The command "call L:\darwinbots3\source\Modules\Azimuth\..\..\3rdParty\mcpp\bin\release\mcpp L:\darwinbots3\source\Modules\Azimuth\Azimuth\DenseLinearAlgebra\DenseVectorPre.cs L:\darwinbots3\source\Modules\Azimuth\Azimuth\DenseLinearAlgebra\DenseVector.cs
call L:\darwinbots3\source\Modules\Azimuth\..\..\bin\release\Reformatter L:\darwinbots3\source\Modules\Azimuth\Azimuth\DenseLinearAlgebra\DenseVector.cs" exited with code 1.   Azimuth

Output
1>------ Build started: Project: Azimuth, Configuration: Debug x86 ------
1>  The system cannot find the path specified.
1>  'L:\darwinbots3\source\Modules\Azimuth\..\..\bin\release\Reformatter' is not recognized as an internal or external command,
1>  operable program or batch file.
1>c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: The command "call L:\darwinbots3\source\Modules\Azimuth\..\..\3rdParty\mcpp\bin\release\mcpp L:\darwinbots3\source\Modules\Azimuth\Azimuth\DenseLinearAlgebra\DenseVectorPre.cs L:\darwinbots3\source\Modules\Azimuth\Azimuth\DenseLinearAlgebra\DenseVector.cs
1>c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1063,5): error MSB3073: call L:\darwinbots3\source\Modules\Azimuth\..\..\bin\release\Reformatter L:\darwinbots3\source\Modules\Azimuth\Azimuth\DenseLinearAlgebra\DenseVector.cs" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

:dry:

Navigation

[0] Message Index

[#] Next page

Go to full version