projects
/
computed_torque_controller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4391230
)
Change std::placeholders usage.
humble
author
Walter Fetter Lages
<w.fetter@ieee.org>
Fri, 3 Feb 2023 04:30:10 +0000
(
01:30
-0300)
committer
Walter Fetter Lages
<w.fetter@ieee.org>
Fri, 3 Feb 2023 04:30:10 +0000
(
01:30
-0300)
src/computed_torque_controller.cpp
patch
|
blob
|
history
diff --git
a/src/computed_torque_controller.cpp
b/src/computed_torque_controller.cpp
index
067d124
..
b02be6d
100644
(file)
--- a/
src/computed_torque_controller.cpp
+++ b/
src/computed_torque_controller.cpp
@@
-81,9
+81,8
@@
namespace effort_controllers
nJoints_=jointNames_.size();
- using std::placeholders::_1;
sub_command_=get_node()->create_subscription<trajectory_msgs::msg::JointTrajectoryPoint>("command",1,
- std::bind(&ComputedTorqueController::commandCB,this,_1));
+ std::bind(&ComputedTorqueController::commandCB,this,
std::placeholders::
_1));
while(robotDescription_.empty())
RCLCPP_WARN_SKIPFIRST_THROTTLE(get_node()->get_logger(),*get_node()->get_clock(),1000,"Waiting for robot model on /robot_description.");