deprecate field 'reference_position

This commit is contained in:
wim 2010-06-28 21:07:36 +00:00
parent 12a8e7ead3
commit b78a3ba597
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ bool JointCalibration::initXml(TiXmlElement* config)
} }
else else
{ {
ROS_WARN("The field 'reference_position' of a joint calibraiton is deprecated. Use the 'rising' and 'falling' fields instead.");
try try
{ {
this->reference_position = boost::lexical_cast<double>(reference_position_str); this->reference_position = boost::lexical_cast<double>(reference_position_str);