From c291fe55842835668065eab79a4c1d334cef659c Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Sun, 21 Oct 2018 20:05:29 -0700 Subject: [PATCH] PyBullet/BulletRobotics: increase max #degree of freedom from 128 to 256. --- examples/SharedMemory/SharedMemoryCommands.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/SharedMemory/SharedMemoryCommands.h b/examples/SharedMemory/SharedMemoryCommands.h index 1504a69f6..c2efaee4b 100644 --- a/examples/SharedMemory/SharedMemoryCommands.h +++ b/examples/SharedMemory/SharedMemoryCommands.h @@ -30,7 +30,7 @@ typedef unsigned long long int smUint64_t; #endif #define SHARED_MEMORY_SERVER_TEST_C -#define MAX_DEGREE_OF_FREEDOM 128 +#define MAX_DEGREE_OF_FREEDOM 256 #define MAX_NUM_SENSORS 256 #define MAX_URDF_FILENAME_LENGTH 1024 #define MAX_SDF_FILENAME_LENGTH 1024 @@ -943,7 +943,7 @@ struct b3CreateUserShapeResultArgs int m_userShapeUniqueId; }; -#define MAX_CREATE_MULTI_BODY_LINKS 128 +#define MAX_CREATE_MULTI_BODY_LINKS MAX_DEGREE_OF_FREEDOM enum eCreateMultiBodyEnum { MULTI_BODY_HAS_BASE = 1,