Commit Graph

45 Commits

Author SHA1 Message Date
Erwin Coumans
150a6a0880 Qualify calls to certain functions from the cmath library. 2019-03-14 16:57:50 -07:00
erwincoumans
c44471c38c preparation for block solver btRigidBody. 2019-02-26 20:24:15 -08:00
erwincoumans
63784dab5f
Update NN3DWalkersTimeWarpBase.h
Fix issue #1940, see https://github.com/bulletphysics/bullet3/issues/1940
2018-10-17 20:08:06 -07:00
erwincoumans
ab8f16961e Code-style consistency improvement:
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files.
make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type.
This commit contains no other changes aside from adding and applying clang-format-all.sh
2018-09-23 14:17:31 -07:00
Erwin Coumans
b5962ab148 revert due to crashes on windows, when simulation speed is increased 2017-06-05 14:15:51 -07:00
erwincoumans
444f206c7c Merge pull request #849 from benelot/3D-NN-walkers-example
Improvements to 3DNNWalkers example
2017-06-05 13:31:07 -07:00
Benjamin Ellenberger
4a169d180e Call reset right before using the clock. 2017-06-04 20:47:31 +02:00
Benjamin Ellenberger
b5a80a08aa Revert b3Clock changes and use reset method instead. 2017-06-04 20:39:10 +02:00
yunfeibai
e6d1a8cf97 Swap yaw and pitch in camera computation. Add functions to convert view matrix to camera position, and camera position to camera yaw pitch roll. 2017-06-01 15:30:37 -07:00
Benelot
cd153eb6a5 Remove graphic instances from previous runs. Still non-deterministic unfortunately. 2017-05-29 23:55:27 +02:00
Benelot
dad9bf40a4 Merge branch 'master' into 3D-NN-walkers-example 2017-05-28 17:16:54 +02:00
Erwin Coumans
c0c4c8ba3f fix many warnings
remove btMultiSapBroadphase.*
make collisionFilterGroup/collisionFilterMark int (instead of short int)
2017-01-15 22:26:11 -08:00
Benelot
10eb8d63f8 [WIP] Fix some add/remove issues. 2016-12-30 01:46:36 +01:00
Benelot
3add00631f Merge branch 'master' into 3D-NN-walkers-example 2016-12-27 21:09:49 +01:00
Benelot
3a424079f3 [WIP] Implementing recreating the world to reset it. 2016-12-27 21:00:22 +01:00
erwincoumans
a5eda81e47 Merge pull request #867 from lunkhound/pr-slider-widget
example browser: slider widget improvements
2016-11-29 21:08:48 -08:00
erwincoumans
d4a18c5634 Update NN3DWalkers.cpp
the excessive stack-space requirements in printWalkerConfigs breaks some proprietary/internal build systems.
2016-11-21 10:18:48 -08:00
Lunkhound
49b27f30bd example browser: slider widget improvements 2016-11-20 16:38:11 -08:00
Benjamin Ellenberger
a76187fea5 Extend b3Clock to expose the system current time in milliseconds. Replace #include time.h with b3Clock. 2016-11-08 22:16:08 +01:00
Benelot
1fc36d0a9f Only create graphics if not headless. 2016-11-02 00:00:24 +01:00
Benelot
e10ca70944 Fix and reconfigure demo by rebuilding walkers every time. 2016-11-01 22:52:19 +01:00
Benelot
4559de6c11 Modify TimeSeriesCanvas to be defined by yMin and yMax instead of yScale. 2016-11-01 22:52:06 +01:00
Benelot
d051685060 Various improvements of NNWalkers demo. 2016-11-01 22:51:46 +01:00
erwincoumans
79d9e6b15e move CommonTimeWarpBase.h to Evolution/NN3DWalkersTimeWarpBase, it is not a common interface. 2016-10-22 13:50:08 -07:00
erwincoumans
ebc7692a78 Update NN3DWalkers.cpp
delete m_timeSeriesCanvas, otherwise the windows accumulate at restart
make text a little bit smaller, too much overlap. If this has issues, please add a dropdown menu for text ;-)
2016-10-21 08:52:11 -07:00
Benelot
09d2e9afa7 Replace std::map with btHashMap. 2016-10-19 22:33:59 +02:00
Benjamin Ellenberger
453b0f9e29 Fix uninitialized transform. Increase performance string. Remove unused method signature. 2016-10-19 21:20:57 +02:00
Benjamin Ellenberger
134c788f93 Change all btVector/btTransform to const btVector/btTransform& for SIMD alignment. 2016-10-19 18:35:01 +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
46af3ddc54 Normal settings. 2016-07-31 16:07:38 +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
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