84 const Eigen::Vector2f goal =
115 scene.
staticScene->distanceToObstaclesCostmap.emplace(distanceField_);
133 if (plan.has_value())
135 globalTrajectory_ = plan->trajectory;
138 .linearVelocity = Eigen::Vector2f::Zero(),
150 if (plan.has_value())
152 globalTrajectory_ = plan->trajectory;
155 .linearVelocity = Eigen::Vector2f::Zero(),
172 const auto projection =
178 const auto wpBefore = projection.wayPointBefore.waypoint.pose.translation();
179 const auto wpAfter = projection.wayPointAfter.waypoint.pose.translation();
182 (wpAfter - wpBefore).head<2>().normalized() * projection.projection.velocity;
193 distanceField_(distanceField), params_(params)
197 human_.
pose = sampledPose.value();