Commit Graph
33 Commits
Author SHA1 Message Date
Benelot 09d2e9afa7 Replace std::map with btHashMap. 2016-10-19 22:33:59 +02:00
Benelot 062236af70 Fix running headless to be nearly completely headless. 2016-09-18 01:03:41 +02:00
Benelot 51e51ca848 Print out effective speedup. Reduce application tick to 60/s. 2016-09-18 00:52:08 +02:00
Benelot 7cf4a2352c Simplify the parameter interface for NNWalkers. Keys 1-9 cause speedup. 2016-09-18 00:42:34 +02:00
Benelot f0f694145d Implement TimeWarpBase.
-------------------------------------
This commit implements speeding up and slowing down examples. The
example can be influenced by the parameters. A separate example will be
added to show off the capabilities of the TimeWarpBase for other
examples. 

The walkers work quite well, a successful evolution was run over night
and reached a walker distance of 7.2m.
2016-09-16 09:49:18 +02:00
Benelot faada023be Fix error happening when using btQuaternion() to create Unit quaternion
instead of btQuaternion::getIdentity(). Fix problems raised by Bullet CI.
2016-09-13 09:48:45 +02:00
Benelot c0285bc425 Add slider to control number of parallel evaluations. 2016-09-12 19:42:07 +02:00
Benelot 229d2501af Add 2m ground circles. Make population config printable. Add timeseries
plot of individual fitnesses of each generation.
2016-09-12 16:36:37 +02:00
Benelot 88edbf8524 Implement basic evoluationary algorithm. 2016-09-11 22:25:22 +02:00
Benelot d9a2113b28 Implement simple body part drop strategy to resolve body
interpenetrations
2016-09-06 22:30:46 +02:00
Benjamin Ellenberger dcfa5a3ee2 Clear gContactProcessedCallback on exiting physics. 2016-08-02 20:38:36 +02:00
Benjamin Ellenberger 4622ab4299 Merge commit. 2016-07-31 16:22:50 +02:00
Benjamin Ellenberger 46af3ddc54 Normal settings. 2016-07-31 16:07:38 +02:00
Benjamin Ellenberger b73bcead4b Merge remote-tracking branch 'upstream/master 2016-07-11 23:31:49 +02:00
Benjamin Ellenberger 5f03b039a5 Change btVector3/btQuaternion to const btVector3&/btQuaternion&.
------------------------------------------------------------------
Parameters such as btVector3/btQuaternion need to be passed as const reference, not by value (it causes SIMD alignnment errors on Windows).
2016-07-11 23:22:17 +02:00
Benjamin Ellenberger ed13cc6c26 Add a slider to displace pendula via GUI.
------------------------------------------------
The slider applies the selected displacement force according to the chosen scalar and falls back to zero when moved below an absolute value of 0.2.
2016-07-11 23:07:48 +02:00
Benjamin Ellenberger 5112de3e3f Fix premake.lua missing includes.
---------------------------------------------------------------------
Due to using Cmake for the creation of the example, the premake.lua file was not correctly updated. This commit adds the missing includes by including all files using a wildcard.
2016-07-11 21:50:32 +02:00
Benjamin Ellenberger a5b55e8fbf Randomize the dimensions of the creature within a certain dimension range. 2016-07-05 18:57:51 +02:00
Benjamin Ellenberger a71810e76f Change scalings of different body parts. 2016-07-04 19:43:26 +02:00
Benjamin Ellenberger 34ae030c72 Fix CMake references. 2016-07-04 19:27:18 +02:00
Benjamin Ellenberger 40175b4700 Changed header guard name. 2016-07-04 19:26:27 +02:00
Benjamin Ellenberger 74aba8b8fd Correct the build files and fix the name of the create method in header
file.
2016-07-04 19:17:50 +02:00
Benjamin Ellenberger 277e103b7b Move NN3DWalkers to the evolution folder. 2016-07-04 19:17:10 +02:00
Benjamin Ellenberger e652863baa Working random walkers. 2016-07-03 19:54:47 +02:00
Benjamin Ellenberger 2bf17a7a81 Initial commit.
------------
Simplifying the walker generation code and making it more understandable

SQUASH THIS LATER.
2016-07-01 19:35:27 +02:00
Benjamin Ellenberger 50b6003470 Merge remote-tracking branch 'upstream/master' 2016-06-27 15:14:47 +02:00
Benjamin Ellenberger e16082a7cd Refactor Newton's Cradle. Implement Newton's Cradle with Softbody ropes. 2016-06-27 15:14:36 +02:00
Benjamin Ellenberger e46a718807 Add btScalar fixes and correct M_PI to SIMD_PI. 2016-06-06 23:47:33 +02:00
Benjamin Ellenberger 9872d2b20f Create InclinedPlane,Newton's Cradle and Multi-Pendulum examples for the Bullet Example Browser. 2016-06-04 12:09:37 +02:00
Benjamin Ellenberger dfb2c51dc7 Merge remote-tracking branch 'upstream/master' 2016-06-04 11:36:43 +02:00
Benjamin Ellenberger 79be214d08 Merge resolve. 2016-05-15 14:19:01 +02:00
Benjamin Ellenberger 4f169b4d8f Add missing m_callback call in SliderMove().
-------
The MySliderEventHandler is missing the m_callback whereas the SliderParams contains the m_callback field. Therefore, the m_callback is never called if the slider position is changed. This commit adds the missing m_callback field and call in SliderMove().
Fixes #613.
2016-05-08 20:26:05 +02:00
Benjamin Ellenberger e39bf6c4cd Fix the Bullet Raycast sample. Closes #450. 2015-08-25 15:56:46 +02:00