ros catkin_make error (Indigo)

asked 2016-05-30 09:45:22 -0500

cyberpunk gravatar image

updated 2016-05-30 13:33:04 -0500

spmaniato gravatar image

So I am using a guide from ERLE ROBOTICS to simulate a drone flight.When I try to execute the catkin_make command (aftrer creating the workspace )it shows up this error : Invoking "make -j8 -l8" failed. I know someone asked this a few time ago but I cant seem to understand what is going on...

EDIT here is the full error message:

`~/simulation/ros_catkin_ws$ catkin_make
Base path: /home/cyberpunk/simulation/ros_catkin_ws
Source space: /home/cyberpunk/simulation/ros_catkin_ws/src
Build space: /home/cyberpunk/simulation/ros_catkin_ws/build
Devel space: /home/cyberpunk/simulation/ros_catkin_ws/devel
Install space: /home/cyberpunk/simulation/ros_catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/cyberpunk/simulation/ros_catkin_ws/build"
####
####
#### Running command: "make -j8 -l8" in "/home/cyberpunk/simulation/ros_catkin_ws/build"
####
[  2%] Built target glog_src
[  2%] Built target std_msgs_generate_messages_py
[  2%] Built target mark_plugin
[  3%] Building CXX object mavros/libmavconn/CMakeFiles/mavconn.dir/src/interface.cpp.o
[  3%] Built target _mav_msgs_generate_messages_check_deps_CommandRateThrust
[  3%] Built target _mav_msgs_generate_messages_check_deps_CommandTrajectory
[  3%] Built target _mav_msgs_generate_messages_check_deps_CommandRollPitchYawrateThrust
[  3%] Built target _mav_msgs_generate_messages_check_deps_CommandAttitudeThrust
[  3%] Built target _mav_msgs_generate_messages_check_deps_MotorSpeed
[  3%] [  3%] Built target std_msgs_generate_messages_lisp
Built target geometry_msgs_generate_messages_py
[  3%] Built target geometry_msgs_generate_messages_lisp
[  3%] Built target geometry_msgs_generate_messages_cpp
[  3%] Built target std_msgs_generate_messages_cpp
[  3%] Built target _mav_msgs_generate_messages_check_deps_CommandVelocityTrajectory
[  3%] Built target _mav_msgs_generate_messages_check_deps_CommandMotorSpeed
[  3%] Built target octomap_msgs_generate_messages_py
[  3%] Built target sensor_msgs_generate_messages_py
[  3%] Built target _planning_msgs_generate_messages_check_deps_WayPoint
[  3%] [  3%] Built target _planning_msgs_generate_messages_check_deps_OctomapScan
Built target _planning_msgs_generate_messages_check_deps_PlannerService
[  3%] Built target _planning_msgs_generate_messages_check_deps_WaypointType
[  3%] Built target _planning_msgs_generate_messages_check_deps_WayPointArray
[  3%] Built target _planning_msgs_generate_messages_check_deps_PlanningResponse
[  3%] [  3%] [  3%] Built target sensor_msgs_generate_messages_cpp
Built target octomap_msgs_generate_messages_cpp
Built target sensor_msgs_generate_messages_lisp
[  3%] Built target octomap_msgs_generate_messages_lisp
[  3%] Built target rosgraph_msgs_generate_messages_lisp
[  3%] [  3%] Built target rosgraph_msgs_generate_messages_cpp
Built target rosgraph_msgs_generate_messages_py
[  3%] Built target roscpp_generate_messages_cpp
[  3%] [  3%] Built target roscpp_generate_messages_lisp
Built target roscpp_generate_messages_py
[  3%] Built target _planning_msgs_generate_messages_check_deps_Octomap
[  4%] [  4%] Built target diffdrive_plugin_6w
Built target aircraft_plugin
[  4%] Built target gazebo_ros_force_based_move
[  4%] [  5%] Built target diffdrive_plugin_multi_wheel
Built target hector_gazebo_plugins_gencfg
[  6%] Scanning dependencies of target _mavros_generate_messages_check_deps_Mavlink
Built target hector_gazebo_reset_plugin
Scanning dependencies of target hector_servo_plugin
Scanning dependencies of target liftdrag_plugin
Scanning dependencies of target _mavros_generate_messages_check_deps_FileTruncate
Scanning dependencies of target diagnostic_msgs_generate_messages_cpp
Scanning dependencies of target _mavros_generate_messages_check_deps_FileRename
[  6%] Built target diagnostic_msgs_generate_messages_cpp
[  6%] Built target _hector_gazebo_plugins_generate_messages_check_deps_SetBias
Scanning dependencies of target _mavros_generate_messages_check_deps_FileWrite
Scanning dependencies of target _mavros_generate_messages_check_deps_FileClose
[  6%] Built target _mavros_generate_messages_check_deps_FileTruncate
[  6%] Built target _mavros_generate_messages_check_deps_FileRename
Scanning dependencies of target _mavros_generate_messages_check_deps_State
[  6%] Scanning dependencies of target _mavros_generate_messages_check_deps_WaypointPush
Built target _mavros_generate_messages_check_deps_Mavlink
[  6%] Built target _mavros_generate_messages_check_deps_FileWrite
Scanning dependencies of target _mavros_generate_messages_check_deps_RadioStatus
Scanning dependencies of target _mavros_generate_messages_check_deps_FileChecksum
[  6%] Built target _mavros_generate_messages_check_deps_FileClose
Scanning dependencies of target _mavros_generate_messages_check_deps_ParamPush
[  6%] Built target _mavros_generate_messages_check_deps_State
[  6%] Built target _mavros_generate_messages_check_deps_WaypointPush
[  6%] Built target _mavros_generate_messages_check_deps_RadioStatus
Scanning dependencies of target _mavros_generate_messages_check_deps_FileMakeDir
Scanning dependencies of target _mavros_generate_messages_check_deps_CommandBool
[  6%] [  7%] Built target _mavros_generate_messages_check_deps_FileChecksum
Scanning dependencies of target _mavros_generate_messages_check_deps_FileRead
Building CXX object ardupilot_sitl_gazebo_plugin/liftdrag_plugin/CMakeFiles/liftdrag_plugin.dir/src/liftdrag_plugin.cc.o
Scanning dependencies of target _mavros_generate_messages_check_deps_CommandTOL
[  8%] [  8%] Built target _mavros_generate_messages_check_deps_ParamPush
Building CXX object hector_gazebo/hector_gazebo_plugins/CMakeFiles/hector_servo_plugin.dir/src/servo_plugin.cpp.o
Scanning dependencies of target _mavros_generate_messages_check_deps_ParamSet
[  8%] Built target _mavros_generate_messages_check_deps_CommandBool
Scanning dependencies of target _mavros_generate_messages_check_deps_RCIn
[  8%] [  8%] Built target _mavros_generate_messages_check_deps_FileMakeDir
Built target _mavros_generate_messages_check_deps_FileRead
Scanning dependencies of target _mavros_generate_messages_check_deps_VFR_HUD
[  8%] Built target _mavros_generate_messages_check_deps_CommandTOL
Scanning dependencies of target _mavros_generate_messages_check_deps_FileOpen
[  8%] Built target _mavros_generate_messages_check_deps_ParamSet
Scanning dependencies of target _mavros_generate_messages_check_deps_ActuatorControl
Scanning dependencies of ...
(more)
edit retag flag offensive close merge delete

Comments

Above that error message should be a short description with the description of why the error occured. We will need this in order to solve the issue.

Laurens Verhulst gravatar image Laurens Verhulst  ( 2016-05-30 10:07:47 -0500 )edit

This seems to be the actual error: error: too few arguments to function ‘uint16_t mavlink_finalize_message_chan(mavlink_message_t*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)’

spmaniato gravatar image spmaniato  ( 2016-05-30 13:31:07 -0500 )edit

yes , any idea what to do?

cyberpunk gravatar image cyberpunk  ( 2016-05-30 13:53:21 -0500 )edit

Looks like the function expects more arguments than provided by you. Not sure though. I have never used the mentioned package/tutorial by you. Did you do modifications to the package or are you trying to compile straight from source?

Laurens Verhulst gravatar image Laurens Verhulst  ( 2016-05-31 03:28:01 -0500 )edit

straight from the source

cyberpunk gravatar image cyberpunk  ( 2016-05-31 04:22:55 -0500 )edit