diff --git a/src/parsers/urdf/model.hxx b/src/parsers/urdf/model.hxx index 17573ef02d7e168bb06be82c38a1b9c6c9fcb6f4..e6158c14147117513f16c077ddc6a1881cfcd2ad 100644 --- a/src/parsers/urdf/model.hxx +++ b/src/parsers/urdf/model.hxx @@ -89,20 +89,20 @@ inline void parseTree (::urdf::LinkConstPtr link, Model & model, const SE3 & pla typedef JointModelFreeFlyer::ConfigVector_t ConfigVector_t; typedef JointModelFreeFlyer::TangentVector_t TangentVector_t; - typedef ConfigVector_t::Scalar Scalar_t; + typedef ConfigVector_t::Scalar Scalar; ConfigVector_t lower_position; - lower_position.fill(std::numeric_limits<Scalar_t>::min()); + lower_position.fill(std::numeric_limits<Scalar>::min()); ConfigVector_t upper_position; - upper_position.fill(std::numeric_limits<Scalar_t>::max()); + upper_position.fill(std::numeric_limits<Scalar>::max()); TangentVector_t max_effort; - max_effort.fill(std::numeric_limits<Scalar_t>::max()); + max_effort.fill(std::numeric_limits<Scalar>::max()); TangentVector_t max_velocity; - max_velocity.fill(std::numeric_limits<Scalar_t>::max()); + max_velocity.fill(std::numeric_limits<Scalar>::max()); model.addJointAndBody(parent_joint_id, JointModelFreeFlyer(), jointPlacement, Y, max_effort, max_velocity, lower_position, upper_position,