source typo fixes pt3 (only on py3 merged code)

This commit is contained in:
Kunda
2017-02-28 14:32:33 -05:00
parent 6c720ced84
commit a78e8ffd95
32 changed files with 40 additions and 40 deletions

View File

@@ -154,7 +154,7 @@ void Robot6AxisPy::setTcp(Py::Object value)
}
else if (PyObject_TypeCheck(*value, &(Base::PlacementPy::Type))) {
if(! getRobot6AxisPtr()->setTo(*static_cast<Base::PlacementPy*>(*value)->getPlacementPtr()))
throw Base::Exception("Cant reach Point");
throw Base::Exception("Can not reach Point");
}
else {
std::string error = std::string("type must be 'Matrix' or 'Placement', not ");