Ask Your Question
1

unable to build ur_robot_driver

asked 2020-09-16 02:31:51 -0600

shu gravatar image

A previous commit of the ur_driver was working fine for me, but after pulling the latest changes I am now unable to catkin_make my workspace. Can anyone advise how to proceed? The last commit i tested is quite old ( a926789adc0cefc616beb0fda15793cdcd65831b )

 shu@shu-laptop:~$ cd catkin_ws/
shu@shu-laptop:~/catkin_ws$ catkin_make
Base path: /home/shu/catkin_ws
Source space: /home/shu/catkin_ws/src
Build space: /home/shu/catkin_ws/build
Devel space: /home/shu/catkin_ws/devel
Install space: /home/shu/catkin_ws/install
WARNING: Package name "Socket" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
####
#### Running command: "make cmake_check_build_system" in "/home/shu/catkin_ws/build"
####
####
#### Running command: "make -j8 -l8" in "/home/shu/catkin_ws/build"
####
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_RobotMode
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SetModeActionGoal
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_GetRobotMode
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_GetProgramState
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SetModeActionResult
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_ProgramState
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_RawRequest
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SetModeResult
[  0%] Built target actionlib_msgs_generate_messages_eus
[  0%] Built target std_msgs_generate_messages_eus
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_Load
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SetModeAction
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SafetyMode
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_GetSafetyMode
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_Popup
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_IsProgramRunning
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_GetLoadedProgram
[  0%] Built target actionlib_msgs_generate_messages_nodejs
[  0%] Built target std_msgs_generate_messages_nodejs
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_AddToLog
[  0%] Built target actionlib_msgs_generate_messages_py
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SetModeActionFeedback
[  0%] Built target std_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] Built target actionlib_msgs_generate_messages_cpp
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SetModeGoal
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_IsProgramSaved
[  0%] Built target _ur_dashboard_msgs_generate_messages_check_deps_SetModeFeedback
[  0%] Built target actionlib_msgs_generate_messages_lisp
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target _ur_msgs_generate_messages_check_deps_Digital
[  0%] Built target _ur_msgs_generate_messages_check_deps_MasterboardDataMsg
[  0%] Built target _ur_msgs_generate_messages_check_deps_ToolDataMsg
[  0%] Built target _ur_msgs_generate_messages_check_deps_IOStates
[  0%] Built target _ur_msgs_generate_messages_check_deps_SetIO
[  0%] Built target _ur_msgs_generate_messages_check_deps_SetSpeedSliderFraction
[  0%] Built target _ur_msgs_generate_messages_check_deps_RobotStateRTMsg
[  0%] Built target _ur_msgs_generate_messages_check_deps_RobotModeDataMsg
[  0%] Built target controller_manager_msgs_generate_messages_cpp
[  0%] Built target roscpp_generate_messages_lisp
[  0%] Built target Socket_node
[  0%] Built target roscpp_generate_messages_nodejs
[  0%] Built target roscpp_generate_messages_eus
[  0%] Built target roscpp_generate_messages_cpp
[  0%] Built target rosgraph_msgs_generate_messages_nodejs
[  0%] Built target rosgraph_msgs_generate_messages_eus
[  0%] Built target _ur_msgs_generate_messages_check_deps_SetPayload
[  0%] Built target roscpp_generate_messages_py
[  0%] Built target rosgraph_msgs_generate_messages_cpp
[  0%] Built target _ur_msgs_generate_messages_check_deps_Analog
[  0%] Built target rosgraph_msgs_generate_messages_lisp
[  0%] Built target rosgraph_msgs_generate_messages_py
[  0%] Built target controller_manager_msgs_generate_messages_eus
[  0%] Built target controller_manager_msgs_generate_messages_py
[  0%] Built target controller_manager_msgs_generate_messages_nodejs
[  0%] Built target controller_manager_msgs_generate_messages_lisp
[  0%] Built target ur_driver_gencfg
[  0%] Built target contour_vision_node
[  0%] Built target _catkin_empty_exported_target
[  0%] Built target geometry_msgs_generate_messages_nodejs
[  0%] Built target gazebo_disable_link_plugin
[  0%] Built target _exercise_2_2_generate_messages_check_deps_Age
[  1%] Built target ur_hardware_interface
[  2%] Built target gazebo_mimic_joint_plugin
[  2%] Built target geometry_msgs_generate_messages_eus
[  2%] Built target actionlib_generate_messages_cpp
[  2%] Built target sensor_msgs_generate_messages_cpp
[  2%] Built target tf_generate_messages_nodejs
[  2%] Built target tf_generate_messages_eus
[  2%] Built target geometry_msgs_generate_messages_lisp
[  2%] Built target actionlib_generate_messages_nodejs
[  2%] Built target tf_generate_messages_py
[  2%] Built target tf2_msgs_generate_messages_nodejs
[  2%] Built target geometry_msgs_generate_messages_py
[  2%] Built target tf_generate_messages_lisp
[  2%] Built target sensor_msgs_generate_messages_eus
[  2%] Built target actionlib_generate_messages_lisp
[  2%] Built target actionlib_generate_messages_eus
[  2%] Built target tf_generate_messages_cpp
[  2%] Built target tf2_msgs_generate_messages_cpp
[  2%] Built target geometry_msgs_generate_messages_cpp
[  2%] Built target sensor_msgs_generate_messages_lisp
[  2%] Built target tf2_msgs_generate_messages_lisp
[  2%] Built target sensor_msgs_generate_messages_nodejs
[  2%] Built target sensor_msgs_generate_messages_py
[  2%] Built target actionlib_generate_messages_py
[  2%] Built target tf2_msgs_generate_messages_py
[  2%] Built target control_msgs_generate_messages_py
[  2%] Built target tf2_msgs_generate_messages_eus
[  2%] Built target control_msgs_generate_messages_eus
[  2%] Built target control_msgs_generate_messages_nodejs
[  2%] Built target control_msgs_generate_messages_cpp
[  2%] Built target std_srvs_generate_messages_cpp
[  2%] Built target trajectory_msgs_generate_messages_nodejs ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-09-16 02:41:28 -0600

gvdhoorn gravatar image

updated 2020-09-16 02:42:25 -0600

error: ‘ur_msgs::SetPayload::Request {aka struct ur_msgs::SetPayloadRequest_<std::allocator<void> >}’ has no member named ‘center_of_gravity’

It is likely you are using an old version of a dependency (in this case: ur_msgs).

See UniversalRobots/Universal_Robots_ROS_Driver#235.

Note btw: development focuses on Bionic+Melodic and newer.

Xenial+Kinetic are not necessarily actively tested, so there is a chance this will stop working.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-09-16 02:31:51 -0600

Seen: 582 times

Last updated: Sep 16 '20