Skip to content

Commit f167306

Browse files
committed
Explicitly declare boost::placeholders usage
Boost 1.73 depreacated the implicit use of boost::placeholders.
1 parent dea9b98 commit f167306

File tree

6 files changed

+11
-0
lines changed

6 files changed

+11
-0
lines changed

franka_example_controllers/src/cartesian_impedance_example_controller.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <pluginlib/class_list_macros.h>
1111
#include <ros/ros.h>
1212

13+
using namespace boost::placeholders;
14+
1315
#include <franka_example_controllers/pseudo_inversion.h>
1416

1517
namespace franka_example_controllers {

franka_example_controllers/src/dual_arm_cartesian_impedance_example_controller.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#include <tf/transform_listener.h>
1919
#include <tf_conversions/tf_eigen.h>
2020

21+
using namespace boost::placeholders;
22+
2123
namespace franka_example_controllers {
2224

2325
bool DualArmCartesianImpedanceExampleController::initArm(

franka_example_controllers/src/force_example_controller.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#include <franka/robot_state.h>
1313

14+
using namespace boost::placeholders;
15+
1416
namespace franka_example_controllers {
1517

1618
bool ForceExampleController::init(hardware_interface::RobotHW* robot_hw,

franka_example_controllers/src/teleop_gripper_node.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include <memory>
1818
#include <mutex>
1919

20+
using namespace boost::placeholders;
21+
2022
using franka_gripper::GraspAction;
2123
using franka_gripper::HomingAction;
2224
using franka_gripper::MoveAction;

franka_example_controllers/src/teleop_joint_pd_example_controller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <vector>
1818

1919
using Vector7d = Eigen::Matrix<double, 7, 1>;
20+
using namespace boost::placeholders;
2021

2122
const std::string kControllerName = "TeleopJointPDExampleController";
2223

franka_gazebo/src/franka_gripper_sim.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <franka_gazebo/franka_gripper_sim.h>
55
#include <pluginlib/class_list_macros.h>
66

7+
using namespace boost::placeholders;
8+
79
namespace franka_gazebo {
810

911
using actionlib::SimpleActionServer;

0 commit comments

Comments
 (0)