Skip to content
Snippets Groups Projects
Commit ea37a686 authored by Fabian Reister's avatar Fabian Reister
Browse files

human sim: adding param

parent 1a4eaa40
No related branches found
No related tags found
1 merge request!28Draft: Dev -> Main
......@@ -93,6 +93,8 @@ namespace armarx::navigation::components::human_simulator
properties.humanParams.goalDistanceThreshold, "p.human.goalDistanceThreshold", "");
def->optional(properties.humanParams.minLinearVelocity, "p.human.maxLinearVelocity", "");
def->optional(properties.humanParams.maxLinearVelocity, "p.human.maxLinearVelocity", "");
def->optional(properties.objectPoseProviderName, "p.objectPoseProviderName", "");
return def;
}
......@@ -206,7 +208,7 @@ namespace armarx::navigation::components::human_simulator
const objpose::ObjectPoseSeq obstacles =
ObjectPoseClientPluginUser::getObjectPosesByProvider(
"R003_grasping_challenge_robot_placement_with_ivt_obstacles");
properties.objectPoseProviderName);
const auto objects = armarx::navigation::util::asSceneObjects(obstacles);
......
......@@ -135,6 +135,8 @@ namespace armarx::navigation::components::human_simulator
human::simulation::SimulatedHumanParams humanParams;
std::string robotName = "Armar6";
std::string objectPoseProviderName = "R003_grasping_challenge";
};
Properties properties;
/* Use a mutex if you access variables from different threads
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment