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
erwin coumans
aae9e509a9
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2016-05-06 13:58:21 -07:00
erwin coumans
0a3efbe349
make standalone versions (console, tinyrender, opengl) of InverseDynamics/InverseDynamicsExample
2016-05-06 13:57:48 -07:00
Erwin Coumans
b0a4e126bf
use cmake FIND_PACKAGE(PythonLibs 2.7 REQUIRED) if pybullet is build
2016-05-04 13:24:06 -07:00
erwin coumans
8360e2e66d
windows fixes
2016-05-04 00:16:53 -07:00
Erwin Coumans
0d3440b388
fixes in Mac resizing example browser (if window size exceeds capability)
2016-05-03 23:46:29 -07:00
Erwin Coumans
938db633df
fixes in build system
2016-05-03 23:34:48 -07:00
Erwin Coumans
7a833a7ac2
fix target link libs in cmake
2016-05-03 22:05:30 -07:00
Erwin Coumans
709a55d5ab
add CMake support for pybullet (still preliminary)
...
requires shared library build:
cmake .. -DBUILD_SHARED_LIBS=on
then create a symbolic link from libpybullet.so to pybullet.so
2016-05-03 13:03:12 -07:00
Erwin Coumans
aa9a276a71
fix typo in texels flip
...
add support to create a cube in TinyRenderer (quick test)
2016-04-28 23:01:49 -07:00
Erwin Coumans
d8da00aa35
re-enable Wavefront .obj loader
2016-04-23 11:06:34 -07:00
Erwin Coumans (Google)
3a8ffebc28
fix possible division-by-zero if the profiler gui is called before stepSimulation is proceeding.
2016-04-18 21:43:42 -07:00
Erwin Coumans
59e0bef988
remove compile errors and some debug code in ExampleBrowser.
2016-04-14 12:19:55 -07:00
Erwin Coumans
2cbfeb9590
run GUI on main thread for Mac OSX/__APPLE__, due to OS limitation
...
add b3CreateInProcessPhysicsServerAndConnectMainThread to test.c
2016-04-14 08:51:20 -07:00
Erwin Coumans
937b6d84e5
re-enable --enable_experimental_opencl flag for
...
premake build of App_BulletExampleBrowser
(not enabled when using cmake!)
(not enabled when using cmake!)
(not enabled when using cmake!)
(not enabled when using cmake!)
(not enabled when using cmake!)
(not enabled when using cmake!)
(not enabled when using cmake!)
(not enabled when using cmake!)
(not enabled when using cmake!)
2016-03-16 09:02:39 -07:00
Erwin Coumans
005ef9d2f1
fixes in SharedMemory unit test, premake build issue on Linux
2016-03-15 18:29:32 -07:00
Erwin Coumans
c69524be9e
fix Lua example
2016-03-10 21:15:23 -08:00
erwincoumans
efbb1edecc
Allow InProcessExampleBrowser to use a malloc allocated memory block, instead of system shared memory.
...
Make shared memory client/server a bit more robust, in case the server is terminated early.
2016-03-10 14:36:46 -08:00
erwincoumans
9be978337f
quick draft implementation for SharedMemoryInProcessPhysicsC_API
2016-03-07 14:56:16 -08:00
Erwin Coumans
b130be46f7
add InProcessExampleBrowser to make it easy to instantiate the ExampleBrowser in its own thread
...
example usage:
int main(int argc, char* argv[])
{
btInProcessExampleBrowserInternalData* data = btCreateInProcessExampleBrowser(argc,argv);
while (!(btIsExampleBrowserTerminated(data)))
{
}
btShutDownExampleBrowser(data);
return 0;
}
2016-03-02 18:01:33 -08:00
Erwin Coumans
d70132a901
only enable Wavefront obj support for URDF when ENABLE_URDF_OBJ is defined.
...
add destructor for SampleJob1
2016-03-01 09:15:55 -08:00
erwin coumans
6c9bfce975
Support btMultiBody soft contact using ERP and CFM. Also support custom relaxation parameter to allow successive over relaxation.
...
Added demos for rigid and multi body soft (compliant) contact.
Will also add simplified Hertz compliant contact, by dynamically modifying the ERP/CFM to mimic a non-linear spring.
Note that btManifoldPoint is growing too big, we need to implement proper contact constraints derived from btTypedConstraint.
2016-02-22 18:40:00 -08:00
Erwin Coumans
6bc3f94f52
add a Pendulum example that is also used as unit test.
...
Gold data is created by numerically solving a second-order non-linear differential equation.
(see examples/MultiBody/pendulum_gold.h)
2016-01-06 18:08:49 -08:00
Erwin Coumans
52f074bcb2
Merge remote-tracking branch 'bp/master'
...
Conflicts:
examples/ExampleBrowser/CMakeLists.txt
examples/OpenGLWindow/CMakeLists.txt
2015-12-07 16:42:45 -08:00
Erwin Coumans
13f314f401
allow CMake to build on Linux without X11/OpenGL system headers (use local one)
2015-12-07 16:38:43 -08:00
Andrew Meadows
c0c1691c25
fix whitespace formatting in cmake files
2015-12-07 14:08:04 -08:00
Erwin Coumans
4c88681479
joint trajectory curves use different colors for each DOF
...
use fewer notch counts in slider GUI
2015-11-26 10:45:51 -08:00
Erwin Coumans
03cc4f0554
add InverseDynamics example for example browser
...
add CMake support for BulletInverseDynamics and BulletInverseDynamicsUtils
2015-11-24 11:12:02 -08:00
Erwin Coumans
b4701613c8
consistent *API.* in examples/SharedMemory
2015-11-23 08:00:42 -08:00
erwincoumans
5589fb03af
Merge branch 'master' of https://github.com/erwincoumans/bullet3
2015-11-22 20:50:41 -08:00
erwincoumans
03bf78ef49
add physics server loopback (both client and server in the same process, using shared memory)
...
add physics server direct (client and server in the same process, directly processing commands without shared memory transport mechanism)
2015-11-22 20:50:32 -08:00
erwincoumans
ad29d27700
add initial inverse dynamics example skeleton, with urdf and programmatically created btMultiBody.
...
disabled in Bullet/examples/ExampleBrowser/ExampleEntries.cpp
2015-11-13 10:37:43 -08:00
erwin coumans
c68c215ead
add rudimentary command logging for shared memory physics server
2015-10-30 10:30:48 -07:00
erwin coumans
f7bbbd88e6
preparation for CommandLogging for PhysicsServer.
2015-10-29 11:25:50 -07:00
erwin coumans
dc81e31e74
upload work-in-progress Collision example using C-API.
2015-10-28 11:48:36 -07:00
erwin coumans
3d9218e07d
Add plane shape and profile timing support in examples/Collide
...
Use View/Profiler in example browser, in optimized build/Release mode
and look for plCollideWorld
2015-10-20 18:30:43 -07:00
Erwin Coumans
abcaa19bc8
make the compiler happy with Collision example
2015-10-19 18:21:45 -07:00
Erwin Coumans
3d3830962a
add a few collision examples to test a C API with various back-ends
2015-10-17 13:44:00 -07:00
erwin coumans
4a29986662
initial support for multiple robots in shared memory API
2015-10-13 11:32:25 -07:00
=
5e4badc099
make PhysicsClient an interface class, and move shared memory implementation
...
of physics client into PhysicsClientSharedMemory class/file.
This will allow implementation of UDP and other transport protocols to a physics server.
2015-09-24 22:50:34 -07:00
=
003a42478b
another step closer to useable shared memory C API
...
(force/torque sensor needs new API)
in a nutshell, users of shared memory physics API should not
directly poke into shared memory, not fill 'SharedMemorCommand'
nor read SharedMemoryStatus directly. The C-API declares 'handles' for those,
to avoid it from happening.
2015-09-16 23:09:10 -07:00
Erwin Coumans
2e7949bb3e
fix some warnings
2015-08-26 15:26:53 -07:00
erwin coumans
faab737738
add a robot joint sensor example, reading joint reaction forces/torques using the shared memory API
2015-08-24 15:26:29 -07:00
Erwin Coumans
74fda9ff85
simple multi threading test
2015-08-21 15:18:18 -07:00
erwincoumans
081a40d254
initial implementation to send debug lines from physics server to client,
...
need to add streaming because memory is too small to store all lines
initial test of PD control in physics server, need to switch to PD control for motor constraint, instead of using external forces.
2015-08-19 22:51:16 -07:00
Erwin Coumans
f89d587a02
update tutorial for SIGGRAPH course
...
allow multiple graphing windows at the same time
2015-08-10 14:30:00 -07:00
Erwin Coumans
edaa92c286
fix retina API
2015-08-07 16:21:33 -07:00
Erwin Coumans
3c0e67298a
add command-line option --disable_retina for Mac
...
improve TimeSeries and Dof6ConstaintTutorial
2015-08-07 16:05:03 -07:00
erwincoumans
de4dcdbb18
more tutorial work
...
add fixed_timestep command-line parameter, 0 means disabled (variable timestep)
2015-08-07 14:18:57 -07:00
erwincoumans
89c2a729ce
Improved simple TimeSeriesCanvas
...
Fixes in RobotControlExample
Disable gravity by default in PhysicsServer
2015-08-07 13:17:33 -07:00