You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the InverseKinematics(Model, Qinit, ConstraintSet, Qres) I get
"Access violation reading location 0x0000000000000000."
with no indication where the violation is?
Is there an example of using the InverseKinematics function anywhere so i can check where I am missing something?
The model is imported via URDF using the AddOn, i have defined the body ids, target rotation and location, weights and used the end effector location as body_points in the constraint set and cant find any null pointers in the variables.
The text was updated successfully, but these errors were encountered:
And just a quick note that explaining what you are doing is not as helpful as just posting the code snippet that produces the error ;). That way people can more easly see if there are any obvious mistakes ;)
yes I set Qres up as a vector of zeros. Thank you for sending that link, I was trying to attempt to use the secondary version of the function which uses a constraint set and a target rotation instead though, but if i can get either version to work that would be great!
Also apologies i thought i had attached the code snippets but obviosuly missed it. I have added my attempt to use the same variation of the inverse kinematics function you have used in the toolkit which compiles and runs(see attatched zip), however it returns false on the call for Inverse Kinematics function.
Can i check that the units should be radians for angles and meters for locations as maybe this casues issue with the functions if they arent scaled properly?
When calling the InverseKinematics(Model, Qinit, ConstraintSet, Qres) I get
"Access violation reading location 0x0000000000000000."
with no indication where the violation is?
Is there an example of using the InverseKinematics function anywhere so i can check where I am missing something?
The model is imported via URDF using the AddOn, i have defined the body ids, target rotation and location, weights and used the end effector location as body_points in the constraint set and cant find any null pointers in the variables.
The text was updated successfully, but these errors were encountered: