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);
^
I got the following error, how could I resolve it? This happened on both ROS melodic and kinetic.