Commit 5a6ee827 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

add ControllerState namespace

to fix build on 20.04
parent e90be9a1
......@@ -172,7 +172,7 @@ bool RCSotController::initInterfaces(lhi::RobotHW *robot_hw, ros::NodeHandle &,
lns = "hardware_interface";
// Check if construction finished cleanly
if (state_ != CONSTRUCTED) {
if (state_ != ControllerState::CONSTRUCTED) {
ROS_ERROR("Cannot initialize this controller because it "
"failed to be constructed");
}
......@@ -319,7 +319,7 @@ bool RCSotController::initInterfaces(lhi::RobotHW *robot_hw, ros::NodeHandle &,
if (verbosity_level_ > 0)
ROS_INFO_STREAM("Initialization of sot-controller Ok !");
// success
state_ = INITIALIZED;
state_ = ControllerState::INITIALIZED;
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment