mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 10:00:48 +02:00
Removed deprecated TODOs
We only support robot software versions 3.7+
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
|||||||
uint8_t major_version_;
|
uint8_t major_version_;
|
||||||
uint8_t minor_version_;
|
uint8_t minor_version_;
|
||||||
int32_t svn_version_;
|
int32_t svn_version_;
|
||||||
int32_t build_number_; // TODO Exists in version 3.3 above only
|
int32_t build_number_;
|
||||||
std::string build_date_;
|
std::string build_date_;
|
||||||
};
|
};
|
||||||
} // namespace primary_interface
|
} // namespace primary_interface
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ public:
|
|||||||
uint32_t calibration_status_; // According to the docs this should be uint8_t, but then I have 3 bytes left.
|
uint32_t calibration_status_; // According to the docs this should be uint8_t, but then I have 3 bytes left.
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO: Handle pre-3.6 as they don't have kinematics info
|
|
||||||
} // namespace primary_interface
|
} // namespace primary_interface
|
||||||
} // namespace ur_driver
|
} // namespace ur_driver
|
||||||
|
|
||||||
|
|||||||
@@ -118,7 +118,6 @@ public:
|
|||||||
{
|
{
|
||||||
if (data_.find(name) != data_.end())
|
if (data_.find(name) != data_.end())
|
||||||
{
|
{
|
||||||
// TODO: Can we check this somehow?
|
|
||||||
val = boost::strict_get<T>(data_[name]);
|
val = boost::strict_get<T>(data_[name]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -396,7 +396,6 @@ uint32_t HardwareInterface ::getControlFrequency() const
|
|||||||
{
|
{
|
||||||
return ur_driver_->getControlFrequency();
|
return ur_driver_->getControlFrequency();
|
||||||
}
|
}
|
||||||
// TODO: Do this nicer than throwing an exception
|
|
||||||
throw std::runtime_error("ur_driver is not yet initialized");
|
throw std::runtime_error("ur_driver is not yet initialized");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user