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
3b9b803683
b3CreateBoxCommandSetColorRGBA: allow to specify color when creating bodies through shared memory API
...
Parse and use colors from URDF file (single rgba color per link, not per visual)
Rename btMultiBody 'stepVelocities' to 'computeAccelerationsArticulatedBodyAlgorithmMultiDof'
btHashMap, add const Value* operator[]
remove a few more obsolete btMultiBody methods (on the non-multi-dof path)
fix spelling typo in fillConstraintJacobianMultiDof (fil -> fill)
Add mention to Jakub Stepien for his work on btMultiBody
2015-11-06 17:11:15 -08:00
erwin coumans
c68c215ead
add rudimentary command logging for shared memory physics server
2015-10-30 10:30:48 -07:00
erwin coumans
2d5d89d999
Allow to request the state of a rigid body (position, orientation, lin/ang velocity) through shared memory API
...
PhysicsClientC_API: b3RequestActualStateCommandInit requires a body unique Id as second argument
2015-10-27 15:46:13 -07:00
erwin coumans
9cc2b1ec12
Physics SharedMemory:
...
Add flags BOX_SHAPE_HAS_MASS and BOX_SHAPE_HAS_COLLISION_SHAPE_TYPE to CMD_CREATE_RIGID_BODY
(which maps to CMD_CREATE_BOX_COLLISION_SHAPE for backward compatibility for now)
Need to add way to receive world transform
2015-10-27 14:55:46 -07:00
Erwin Coumans
21b7a47129
although still not implemented, IMU enum had wrong value, thanks JF
2015-10-17 20:12:50 -07:00
erwin coumans
a0e507280c
Implement CMD_INIT_POSE to set base position, base orientation and joint position (angle).
...
See PhysicsClientExample for example use of CMD_INIT_POSE.
Change: CMD_INIT_POSE uses m_initPoseArgs and not m_sendDesiredStateCommandArgument
2015-10-13 22:23:28 -07:00
=
e05825f639
improvements to the shared memory physics API:
...
support picking in C API etc.
2015-09-24 22:42:22 -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
f75df90d82
Allow batches of debug lines. The PhysicsClientExample rendering is still slow (one line at a time, instead of batches)
...
Prepare for IMU sensor in Shared Memory Server
2015-09-03 14:18:22 -07:00
Erwin Coumans
2e7949bb3e
fix some warnings
2015-08-26 15:26:53 -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
03d991c92b
add command-line argument for example browser and shared memory app, --shared_memory_key=<int>
...
fix some shared memory issues, client uses attach/detach, server uses create/remove shared memory
implement CMD_RESET_SIMULATION
2015-08-07 00:13:26 -07:00
=
eb6663ed4b
further work on shared memory API
...
fix dependency of BulletDynamics to Bullet3Common (b3Printf)
2015-08-02 14:00:43 -07:00
erwincoumans
19c5be5646
small progress towards shared memory C-api and test.c.
2015-07-30 23:22:44 -07:00
=
3fe9138e8c
minor refactoring
2015-07-23 11:51:25 -07:00
erwin coumans
0fe6d343bc
move m_updateFlags to command, and make it 64bit
2015-07-23 10:51:09 -07:00
Erwin Coumans
05fc203ec1
Separate SharedMemoryStatus from SharedMemoryCommand
...
Added CMD_CMD_SEND_PHYSICS_SIMULATION_PARAMETERS (set gravity as example)
and CMD_INIT_POSE, not fully implemented yet.
2015-07-21 21:46:28 -07:00
Erwin Coumans
8e163c984d
allow to control of powered joints after loading a URDF file, through shared memory
...
more refactor of shared memory joint control API
2015-07-20 23:35:29 -07:00
erwin coumans
b563c7c8ce
add additional example using server and client for future simple robot control of simulated robot
...
(load urdf, get state, set desired state, step simulation)
Create SharedMemoryCommand and put that into the queue
move arrays for Q, Qdot etc into the command
2015-07-15 15:23:40 -07:00
erwin coumans
54a76f6e0c
Refactor of PhysicsClient/PhysicsServer, to separate from the example browser code.
...
(as usual, work-in-progress)
2015-07-14 15:30:17 -07:00
=
482f31597b
implement preliminary CMD_SEND_DESIRED_STATE with CONTROL_MODE_VELOCITY and
...
CONTROL_MODE_TORQUE.
2015-07-14 08:34:02 -07:00
=
7452df0964
Pass initial position and orientation for CMD_LOAD_URDF. (public github commit)
2015-07-12 14:48:43 -07:00
erwincoumans
285ac286fa
some work towards streaming Bullet data over shared memory for client/server
2015-07-09 14:04:58 -07:00
erwin coumans
b14afba350
more work-in-progress on joint-torque sensor sample and server/client shared memory API
2015-06-22 15:30:57 -07:00
Erwin Coumans
4688540a98
minor update for shared memory interface
2015-06-21 13:24:36 -07:00