Skip to content

Humanoid model: Limb positions initialization #1428

Answered by Ozaq
ThoChat asked this question in Q&A
Discussion options

You must be logged in to vote

I finally had some time to check your code. You forgot to pass on the parameters to the add agent call. Apply this patch to your code to have all parameters available

diff --git a/libjupedsim/src/simulation.cpp b/libjupedsim/src/simulation.cpp
index 8c1814096..8048bbb56 100644
--- a/libjupedsim/src/simulation.cpp
+++ b/libjupedsim/src/simulation.cpp
@@ -348,7 +348,21 @@ JPS_AgentId JPS_Simulation_AddHumanoidModelV0Agent(
                 parameters.agentScale,
                 parameters.obstacleScale,
                 parameters.forceDistance,
-                parameters.radius}};
+                parameters.radius,
+                parameters.height,
+                intoPoint(parameter…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@Ozaq
Comment options

Ozaq Oct 22, 2024
Maintainer

@ThoChat
Comment options

@chraibi
Comment options

@Ozaq
Comment options

Ozaq Nov 29, 2024
Maintainer

Answer selected by ThoChat
@ThoChat
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants