cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::GripperCommandAction<std::allocator > > >’ to ‘bool’ in return
return controller_actionclient;
^
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h: In instantiation of ‘bool moveit_simple_controller_manager::ActionBasedControllerHandle::isConnected() const [with T = controlmsgs::FollowJointTrajectoryAction<std::allocator >]’:
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/src/moveit_simple_controller_manager.cpp:131:93: required from here
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h:95:12: error: cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::FollowJointTrajectoryAction<std::allocator > > >’ to ‘bool’ in return
cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::GripperCommandAction<std::allocator > > >’ to ‘bool’ in return
return controller_actionclient;
^
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h: In instantiation of ‘bool moveit_simple_controller_manager::ActionBasedControllerHandle::isConnected() const [with T = controlmsgs::FollowJointTrajectoryAction<std::allocator >]’:
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/src/moveit_simple_controller_manager.cpp:131:93: required from here
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h:95:12: error: cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::FollowJointTrajectoryAction<std::allocator > > >’ to ‘bool’ in return
cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<actioncontroller::MultiDofFollowJointTrajectoryAction<std::allocator > > >’ to ‘bool’ in return
ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/build.make:62: recipe for target 'ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/src/moveit_simple_controller_manager.cpp.o' failed
make[2]: *** [ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/src/moveit_simple_controller_manager.cpp.o] Error 1
cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::GripperCommandAction<std::allocator > > >’ to ‘bool’ in return
return controller_actionclient;
^
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h: In instantiation of ‘bool moveit_simple_controller_manager::ActionBasedControllerHandle::isConnected() const [with T = controlmsgs::FollowJointTrajectoryAction<std::allocator >]’:
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/src/moveit_simple_controller_manager.cpp:131:93: required from here
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h:95:12: error: cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::FollowJointTrajectoryAction<std::allocator > > >’ to ‘bool’ in return
cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::GripperCommandAction<std::allocator > > >’ to ‘bool’ in return
return controller_actionclient;
^
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h: In instantiation of ‘bool moveit_simple_controller_manager::ActionBasedControllerHandle::isConnected() const [with T = controlmsgs::FollowJointTrajectoryAction<std::allocator >]’:
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/src/moveit_simple_controller_manager.cpp:131:93: required from here
/home/lisa/WORKSPACE/src/ROS_quadrotor_simulator/moveit_simple_controller_manager/include/moveit_simple_controller_manager/action_based_controller_handle.h:95:12: error: cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<controlmsgs::FollowJointTrajectoryAction<std::allocator > > >’ to ‘bool’ in return
cannot convert ‘const boost::shared_ptr<actionlib::SimpleActionClient<actioncontroller::MultiDofFollowJointTrajectoryAction<std::allocator > > >’ to ‘bool’ in return
ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/build.make:62: recipe for target 'ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/src/moveit_simple_controller_manager.cpp.o' failed
make[2]: *** [ROS_quadrotor_simulator/moveit_simple_controller_manager/CMakeFiles/moveit_simple_controller_manager.dir/src/moveit_simple_controller_manager.cpp.o] Error 1