public int GetBodyTransform(int body_index, out Matrix3x3FloatData world_T_body) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyTransform(Native, body_index, out world_T_body)); }
internal int AddBody(int body_index, int parent_index, JointType joint_type, Vector3 parent_r_parent_body_ref, Matrix3x3FloatData body_T_parent_ref, Vector3 body_axis_of_motion, int mass, Vector3 body_r_body_com, Matrix3x3FloatData body_I_body, int user_int, IntPtr user_ptr) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_addBody(Native, body_index, parent_index, joint_type, ref parent_r_parent_body_ref, ref body_T_parent_ref, ref body_axis_of_motion, mass, ref body_r_body_com, ref body_I_body, user_int, user_ptr)); }
public MultiBodyTree CreateMultiBodyTree() { return(new MultiBodyTree(UnsafeNativeMethodsInverseDynamics.MultiBodyTreeCreator_CreateMultiBodyTree(Native))); }
public int SetBodySecondMassMoment(int body_index, ref Matrix3x3FloatData second_mass_moment) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_setBodySecondMassMoment(Native, body_index, ref second_mass_moment)); }
public int SetUserInt(int body_index, int user_int) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_setUserInt(Native, body_index, user_int)); }
public int GetParentRParentBodyRef(int body_index, out Vector3 r) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getParentRParentBodyRef(Native, body_index, out r)); }
public int SetBodyFirstMassMoment(int body_index, ref Vector3 first_mass_moment) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_setBodyFirstMassMoment(Native, body_index, ref first_mass_moment)); }
public int GetBodyAxisOfMotion(int body_index, out Vector3 axis) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyAxisOfMotion(Native, body_index, out axis)); }
public int GetBodyCoM(int body_index, out Vector3 world_com) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyCoM(Native, body_index, out world_com)); }
public int GetBodyAngularAcceleration(int body_index, out Vector3 world_dot_omega) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyAngularAcceleration(Native, body_index, out world_dot_omega)); }
public int GetBodyAngularVelocity(int body_index, out Vector3 world_omega) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyAngularVelocity(Native, body_index, out world_omega)); }
public bool GetAcceptInvalidMassProperties() { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getAcceptInvalidMassProperties(Native)); }
public void ClearAllUserForcesAndMoments() { UnsafeNativeMethodsInverseDynamics.MultiBodyTree_clearAllUserForcesAndMoments(Native); }
public int GetNumBodies() { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTreeCreator_getNumBodies(Native)); }
public int GetDoFOffset(int body_index, out int q_offset) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getDoFOffset(Native, body_index, out q_offset)); }
public int GetBodyDotJacobianTransU(int body_index, out Vector3 world_dot_jac_trans_u) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyDotJacobianTransU(Native, body_index, out world_dot_jac_trans_u)); }
public int GetParentIndex(int body_index, out int parent_index) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getParentIndex(Native, body_index, out parent_index)); }
public int GetBodyJacobianTrans(int body_index, int numBodyDof, int numBaseDof, float[] world_jac_trans) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyJacobianTrans(Native, body_index, numBodyDof, numBaseDof, world_jac_trans)); }
//public IntPtr GetUserPtr(int body_index) //{ // return UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getUserPtr(Native, body_index); //} public void SetAcceptInvalidMassParameters(bool flag) { UnsafeNativeMethodsInverseDynamics.MultiBodyTree_setAcceptInvalidMassParameters(Native, flag); }
public int GetBodyLinearAcceleration(int body_index, out Vector3 world_acceleration) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyLinearAcceleration(Native, body_index, out world_acceleration)); }
public int SetBodyMass(int body_index, float mass) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_setBodyMass(Native, body_index, mass)); }
public int GetBodyLinearVelocityCoM(int body_index, out Vector3 world_velocity) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyLinearVelocityCoM(Native, body_index, out world_velocity)); }
public void SetGravityInWorldFrame(Vector3 gravity) { UnsafeNativeMethodsInverseDynamics.MultiBodyTree_setGravityInWorldFrame(Native, ref gravity); }
public int GetBodyOrigin(int body_index, out Vector3 world_origin) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyOrigin(Native, body_index, out world_origin)); }
public MultiBodyTree(bool preventDelete = false) { Native = UnsafeNativeMethodsInverseDynamics.MultiBodyTree_new(); _init(preventDelete); }
public int GetBodyTParentRef(int body_index, out Matrix3x3FloatData T) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTree_getBodyTParentRef(Native, body_index, out T)); }
public void AddUserForce(int body_index, Vector3 body_force) { UnsafeNativeMethodsInverseDynamics.MultiBodyTree_addUserForce(Native, body_index, ref body_force); }
public int CreateFromMultiBody(MultiBody multiBody) { return(UnsafeNativeMethodsInverseDynamics.MultiBodyTreeCreator_createFromBtMultiBody(Native, multiBody.Native)); }