Skip to content

catkin compile error #1

@robopassio

Description

@robopassio

I got the following error, how could I resolve it? This happened on both ROS melodic and kinetic.

/catkin_ws/mobile_manipulation_planning/my-ws/src/robot_motion_control/kuka_motion_control/src/control_laws.cpp: In constructor 'kuka_motion_controller::RobotController::RobotController(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)':
/catkin_ws/mobile_manipulation_planning/my-ws/src/robot_motion_control/kuka_motion_control/src/control_laws.cpp:28:10: error: no match for 'operator=' (operand types are 'planning_scene_monitor::PlanningSceneMonitorPtr {aka std::shared_ptr<planning_scene_monitor::PlanningSceneMonitor>}' and 'boost::detail::sp_if_not_array<planning_scene_monitor::PlanningSceneMonitor>::type {aka boost::shared_ptr<planning_scene_monitor::PlanningSceneMonitor>}')
     psm_ =  boost::make_shared<planning_scene_monitor::PlanningSceneMonitor>(robot_desciption_param);
          ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions