Replies: 1 comment 3 replies
-
|
Hello @Zkjoker, First, to clarify, were you seeking the derivative of the distance function ? The tricky thing is that hpp-fcl (the collision library used by pinocchio) doesn't play well with Casadi. However, I found a helpful tutorial that uses ellipsoid representations for robot bodies and calculates the minimal distance analytically using Casadi: tutorial . I believe this could be a valuable resource for your work. I hope this can help. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear Pinocchio Team,
I'm currently using Pinocchio with CasADi for robot motion planning and truly appreciate the interface for kinematics symbolic conversion.
I was wondering if I might kindly seek your expertise on collision detection integration:
Core question:
Is there currently a way to export collision detection results (e.g., minimal distance between links/obstacles) as CasADi symbolic expressions?
Use case:
I aim to incorporate collision avoidance either:
As hard constraints (e.g., distance(q) ≥ d_safe)
Or as soft constraints in the objective function (e.g., penalty terms)
If possible, could you please advise:
Whether such functionality exists? (Any minimal example would be immensely helpful!)
If not yet supported, are there any planned implementations or recommended workarounds?
I completely understand this might require significant effort to clarify, so thank you sincerely for your time and insights. Your guidance would greatly advance my project!
Best regards,
Kai
Beta Was this translation helpful? Give feedback.
All reactions