Universal robot v3.x hardware_interface error
Hello,
I'm trying to connected to a real UR5 robot. After following the tutorial I got the UR package ( https://github.com/ros-industrial/uni... ). In the tutorail it says that a robot with version higher than 3 needs another UR driver. I got that package ( https://github.com/ros-industrial/ur_... ). When I catkin_make, I got this error:
/home/ricktiggelaar/Documents/ROS/src/ur_modern_driver/src/ur_hardware_interface.cpp: In member function ‘bool ros_control_ur::UrHardwareInterface::canSwitch(const std::_cxx11::list<hardware_interface::ControllerInfo>&, const std::_cxx11::list<hardware_interface::ControllerInfo>&) const’:
/home/ricktiggelaar/Documents/ROS/src/ur_modern_driver/src/ur_hardware_interface.cpp:180:22: error: ‘const struct hardware_interface::ControllerInfo’ has no member named ‘hardware_interface’
Also when I run roslaunch ur_bringup ur5_bringup.launch robot_ip:=192.168.1.102
It does say connected to robot but when I echo /joint_state
I don't get anything.
It says something about the hardware interface.
I'm running ROS Melodic on ubuntu 18.04.
Does someone know what to do?