1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 01:50:46 +02:00

Corrected bug that returned target_q instead of target_qd

This commit is contained in:
Thomas Timm Andersen
2015-11-16 10:22:33 +01:00
parent 834b103129
commit aa1096db3b

View File

@@ -132,7 +132,7 @@ std::vector<double> RobotStateRT::getQTarget() {
std::vector<double> RobotStateRT::getQdTarget() {
std::vector<double> ret;
val_lock_.lock();
ret = q_target_;
ret = qd_target_;
val_lock_.unlock();
return ret;
}