Verified Commit 0a8d482f authored by Justin Carpentier's avatar Justin Carpentier
Browse files

urdf: change variable name

parent d3559559
......@@ -25,7 +25,7 @@ namespace pinocchio
{
struct UrdfGeomVisitorBase
{
typedef FrameTpl<urdf_value_type, 0> Frame;
typedef FrameTpl<urdf_scalar_type, 0> Frame;
virtual Frame getBodyFrame (const std::string& name, FrameIndex& fid) const = 0;
};
......@@ -46,7 +46,7 @@ namespace pinocchio
}
fid = model.getFrameId(link_name, BODY);
PINOCCHIO_CHECK_INPUT_ARGUMENT(model.frames[fid].type == BODY);
return model.frames[fid].template cast<urdf_value_type>();
return model.frames[fid].template cast<urdf_scalar_type>();
}
};
......
......@@ -20,7 +20,7 @@ namespace pinocchio
{
namespace details
{
typedef double urdf_value_type;
typedef double urdf_scalar_type;
template<typename _Scalar, int Options>
class UrdfVisitorBaseTpl {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment