public class MultiBodyTree extends BulletBase
className| Constructor and Description |
|---|
MultiBodyTree() |
MultiBodyTree(long cPtr,
boolean cMemoryOwn)
Construct a new MultiBodyTree, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
int |
addBody(int body_index,
int parent_index,
int joint_type,
SWIGTYPE_p_vec3 parent_r_parent_body_ref,
SWIGTYPE_p_mat33 body_T_parent_ref,
SWIGTYPE_p_vec3 body_axis_of_motion,
float mass,
SWIGTYPE_p_vec3 body_r_body_com,
SWIGTYPE_p_mat33 body_I_body,
int user_int,
long user_ptr) |
int |
addUserForce(int body_index,
SWIGTYPE_p_vec3 body_force) |
int |
addUserMoment(int body_index,
SWIGTYPE_p_vec3 body_moment) |
int |
calculateInverseDynamics(SWIGTYPE_p_vecx q,
SWIGTYPE_p_vecx u,
SWIGTYPE_p_vecx dot_u,
SWIGTYPE_p_vecx joint_forces) |
int |
calculateKinematics(SWIGTYPE_p_vecx q,
SWIGTYPE_p_vecx u,
SWIGTYPE_p_vecx dot_u) |
int |
calculateMassMatrix(SWIGTYPE_p_vecx q,
boolean update_kinematics,
boolean initialize_matrix,
boolean set_lower_triangular_matrix,
SWIGTYPE_p_matxx mass_matrix) |
int |
calculateMassMatrix(SWIGTYPE_p_vecx q,
SWIGTYPE_p_matxx mass_matrix) |
int |
calculatePositionAndVelocityKinematics(SWIGTYPE_p_vecx q,
SWIGTYPE_p_vecx u) |
int |
calculatePositionKinematics(SWIGTYPE_p_vecx q) |
void |
clearAllUserForcesAndMoments() |
int |
finalizeInternal() |
boolean |
getAcceptInvalidMassProperties() |
int |
getBodyAngularAcceleration(int body_index,
SWIGTYPE_p_vec3 world_dot_omega) |
int |
getBodyAngularVelocity(int body_index,
SWIGTYPE_p_vec3 world_omega) |
int |
getBodyAxisOfMotion(int body_index,
SWIGTYPE_p_vec3 axis) |
int |
getBodyCoM(int body_index,
SWIGTYPE_p_vec3 world_com) |
int |
getBodyFirstMassMoment(int body_index,
SWIGTYPE_p_vec3 first_mass_moment) |
int |
getBodyLinearAcceleration(int body_index,
SWIGTYPE_p_vec3 world_acceleration) |
int |
getBodyLinearVelocity(int body_index,
SWIGTYPE_p_vec3 world_velocity) |
int |
getBodyLinearVelocityCoM(int body_index,
SWIGTYPE_p_vec3 world_velocity) |
int |
getBodyMass(int body_index,
FloatBuffer mass) |
int |
getBodyOrigin(int body_index,
SWIGTYPE_p_vec3 world_origin) |
int |
getBodySecondMassMoment(int body_index,
SWIGTYPE_p_mat33 second_mass_moment) |
int |
getBodyTParentRef(int body_index,
SWIGTYPE_p_mat33 T) |
int |
getBodyTransform(int body_index,
SWIGTYPE_p_mat33 world_T_body) |
static long |
getCPtr(MultiBodyTree obj) |
int |
getDoFOffset(int body_index,
IntBuffer q_offset) |
int |
getJointType(int body_index,
SWIGTYPE_p_btInverseDynamicsBullet3__JointType joint_type) |
int |
getJointTypeStr(int body_index,
SWIGTYPE_p_p_char joint_type) |
int |
getParentIndex(int body_index,
IntBuffer parent_index) |
int |
getParentRParentBodyRef(int body_index,
SWIGTYPE_p_vec3 r) |
int |
getUserInt(int body_index,
IntBuffer user_int) |
int |
getUserPtr(int body_index,
SWIGTYPE_p_p_void user_ptr) |
int |
numBodies() |
int |
numDoFs() |
void |
operatorDelete(long ptr) |
void |
operatorDelete(long arg0,
long arg1) |
void |
operatorDeleteArray(long ptr) |
void |
operatorDeleteArray(long arg0,
long arg1) |
long |
operatorNew(long sizeInBytes) |
long |
operatorNew(long arg0,
long ptr) |
long |
operatorNewArray(long sizeInBytes) |
long |
operatorNewArray(long arg0,
long ptr) |
void |
printTree() |
void |
printTreeData() |
void |
setAcceptInvalidMassParameters(boolean flag) |
int |
setBodyFirstMassMoment(int body_index,
SWIGTYPE_p_vec3 first_mass_moment) |
int |
setBodyMass(int body_index,
float mass) |
int |
setBodySecondMassMoment(int body_index,
SWIGTYPE_p_mat33 second_mass_moment) |
int |
setGravityInWorldFrame(SWIGTYPE_p_vec3 gravity) |
int |
setUserInt(int body_index,
int user_int) |
int |
setUserPtr(int body_index,
long user_ptr) |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic MultiBodyTree(long cPtr,
boolean cMemoryOwn)
public MultiBodyTree()
public static long getCPtr(MultiBodyTree obj)
public long operatorNew(long sizeInBytes)
public void operatorDelete(long ptr)
public long operatorNew(long arg0,
long ptr)
public void operatorDelete(long arg0,
long arg1)
public long operatorNewArray(long sizeInBytes)
public void operatorDeleteArray(long ptr)
public long operatorNewArray(long arg0,
long ptr)
public void operatorDeleteArray(long arg0,
long arg1)
public int addBody(int body_index,
int parent_index,
int joint_type,
SWIGTYPE_p_vec3 parent_r_parent_body_ref,
SWIGTYPE_p_mat33 body_T_parent_ref,
SWIGTYPE_p_vec3 body_axis_of_motion,
float mass,
SWIGTYPE_p_vec3 body_r_body_com,
SWIGTYPE_p_mat33 body_I_body,
int user_int,
long user_ptr)
public void setAcceptInvalidMassParameters(boolean flag)
public boolean getAcceptInvalidMassProperties()
public int finalizeInternal()
public void printTree()
public void printTreeData()
public int calculateInverseDynamics(SWIGTYPE_p_vecx q, SWIGTYPE_p_vecx u, SWIGTYPE_p_vecx dot_u, SWIGTYPE_p_vecx joint_forces)
public int calculateMassMatrix(SWIGTYPE_p_vecx q, boolean update_kinematics, boolean initialize_matrix, boolean set_lower_triangular_matrix, SWIGTYPE_p_matxx mass_matrix)
public int calculateMassMatrix(SWIGTYPE_p_vecx q, SWIGTYPE_p_matxx mass_matrix)
public int calculateKinematics(SWIGTYPE_p_vecx q, SWIGTYPE_p_vecx u, SWIGTYPE_p_vecx dot_u)
public int calculatePositionKinematics(SWIGTYPE_p_vecx q)
public int calculatePositionAndVelocityKinematics(SWIGTYPE_p_vecx q, SWIGTYPE_p_vecx u)
public int setGravityInWorldFrame(SWIGTYPE_p_vec3 gravity)
public int numBodies()
public int numDoFs()
public int getBodyOrigin(int body_index,
SWIGTYPE_p_vec3 world_origin)
public int getBodyCoM(int body_index,
SWIGTYPE_p_vec3 world_com)
public int getBodyTransform(int body_index,
SWIGTYPE_p_mat33 world_T_body)
public int getBodyAngularVelocity(int body_index,
SWIGTYPE_p_vec3 world_omega)
public int getBodyLinearVelocity(int body_index,
SWIGTYPE_p_vec3 world_velocity)
public int getBodyLinearVelocityCoM(int body_index,
SWIGTYPE_p_vec3 world_velocity)
public int getBodyAngularAcceleration(int body_index,
SWIGTYPE_p_vec3 world_dot_omega)
public int getBodyLinearAcceleration(int body_index,
SWIGTYPE_p_vec3 world_acceleration)
public int getParentIndex(int body_index,
IntBuffer parent_index)
public int getJointType(int body_index,
SWIGTYPE_p_btInverseDynamicsBullet3__JointType joint_type)
public int getJointTypeStr(int body_index,
SWIGTYPE_p_p_char joint_type)
public int getParentRParentBodyRef(int body_index,
SWIGTYPE_p_vec3 r)
public int getBodyTParentRef(int body_index,
SWIGTYPE_p_mat33 T)
public int getBodyAxisOfMotion(int body_index,
SWIGTYPE_p_vec3 axis)
public int getDoFOffset(int body_index,
IntBuffer q_offset)
public int getUserInt(int body_index,
IntBuffer user_int)
public int getUserPtr(int body_index,
SWIGTYPE_p_p_void user_ptr)
public int setUserInt(int body_index,
int user_int)
public int setUserPtr(int body_index,
long user_ptr)
public int setBodyMass(int body_index,
float mass)
public int setBodyFirstMassMoment(int body_index,
SWIGTYPE_p_vec3 first_mass_moment)
public int setBodySecondMassMoment(int body_index,
SWIGTYPE_p_mat33 second_mass_moment)
public int getBodyMass(int body_index,
FloatBuffer mass)
public int getBodyFirstMassMoment(int body_index,
SWIGTYPE_p_vec3 first_mass_moment)
public int getBodySecondMassMoment(int body_index,
SWIGTYPE_p_mat33 second_mass_moment)
public void clearAllUserForcesAndMoments()
public int addUserForce(int body_index,
SWIGTYPE_p_vec3 body_force)
public int addUserMoment(int body_index,
SWIGTYPE_p_vec3 body_moment)
Copyright © 2021. All rights reserved.