hello, when i try to use catkin_make for my workspace, i got this error
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "gazebo_ros" with
any of the following names:
gazebo_rosConfig.cmake
gazebo_ros-config.cmake
Add the installation prefix of "gazebo_ros" to CMAKE_PREFIX_PATH or set
"gazebo_ros_DIR" to a directory containing one of the above files. If
"gazebo_ros" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
RoboND-Kinematics-Project/gazebo_grasp_plugin/CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/mohamed/Documents/workspace/build/CMakeFiles/CMakeOutput.log".
See also "/home/mohamed/Documents/workspace/build/CMakeFiles/CMakeError.log".
Makefile:1914: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
my workspace contain only this package in the src: https://github.com/udacity/RoboND-Kinematics-Project
i removed my gazebo and installed a new version gazebo9, i thought this what cause the error so i removed it and installed gazebo7 again.
when i try to use catkin_make with a workspace which doesn't contain any thing related to gazebo it works fine.
i am using Ubuntu 16, gazebo 7.14.0, kinetic-kame.
Thanks in advance
↧
CMake_Error, gazebo_ros
↧
Problem building android_core: catkin_make
Hello,
I am trying to build android_core but cannot do it. For some reason i can access the below url from buidscript.gradle in browser but building it threw an error that "" it cannot access the url: **buidscript.gradle:"https://github.com/rosjava/rosjava_bootstrap/raw/kinetic/buildscript.gradle".
So i solved it by updating the **buildscript.gradle** file as follows (i.e. merging both the file from the url and local file):
rootProject.buildscript {
String rosMavenPath = System.getenv("ROS_MAVEN_PATH")
String rosMavenRepository = System.getenv("ROS_MAVEN_REPOSITORY")
repositories {
if (rosMavenPath != null) {
rosMavenPath.tokenize(":").each { path ->
maven {
// We can't use uri() here because we aren't running inside something
// that implements the Script interface.
url "file:${path}"
}
}
}
maven {
url "http://repository.springsource.com/maven/bundles/release"
}
maven {
url "http://repository.springsource.com/maven/bundles/external"
}
if (rosMavenRepository != null) {
maven {
url rosMavenRepository
}
}
maven {
url "https://github.com/rosjava/rosjava_mvn_repo/raw/master"
}
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:2.3.3"
classpath "org.ros.rosjava_bootstrap:gradle_plugins:[0.3,0.4)"
}
}
However, after trying alot, I am now getting the following error on catkin_make (i.e it is failing to get "org.ros.rosjava_bootstrap:gradle_plugins:[0.3,0.4)" (it is a dependency from buildscript.gradle)):
* What went wrong:
A problem occurred configuring root project 'android_core'.
Could not resolve all dependencies for configuration ':classpath'.
Could not resolve org.ros.rosjava_bootstrap:gradle_plugins:[0.3,0.4).
Required by:
project :
> Could not resolve org.ros.rosjava_bootstrap:gradle_plugins:[0.3,0.4).> Failed to list versions for org.ros.rosjava_bootstrap:gradle_plugins.> Unable to load Maven meta-data from https://github.com/rosjava/rosjava_mvn_repo/raw/master/org/ros/rosjava_bootstrap/gradle_plugins/maven-metadata.xml.> Could not GET 'https://github.com/rosjava/rosjava_mvn_repo/raw/master/org/ros/rosjava_bootstrap/gradle_plugins/maven-metadata.xml'.> Connection reset> Could not resolve org.ros.rosjava_bootstrap:gradle_plugins:[0.3,0.4).> Failed to list versions for org.ros.rosjava_bootstrap:gradle_plugins.> Unable to load Maven meta-data from https://github.com/rosjava/rosjava_mvn_repo/raw/master/org/ros/rosjava_bootstrap/gradle_plugins/maven-metadata.xml.> Could not GET 'https://github.com/rosjava/rosjava_mvn_repo/raw/master/org/ros/rosjava_bootstrap/gradle_plugins/maven-metadata.xml'.> Connection reset
I am using ubuntu 16.06, ros kinetic. Using openjdk8 installed using: sudo apt-get install openjdk-8-jdk
and installed rosjava using: sudo apt-get install ros-kinetic-rosjava-build-tools
I am not using any proxy. Never have/had any problems with accessing a valid url through catkin.
Thanks in advance.
↧
↧
Error: bad interpreter: No such file or directory
I am trying to run the following node using rosrun, to send data through my serial port and I get the error:
/opt/ros/kinetic/bin/rosrun: /home/spyros/catkin_ws/src/usb_rs232/scripts/serial_connection.py: /opt/bin/python: bad interpreter: No such file or directory
/opt/ros/kinetic/bin/rosrun: line 109: /home/spyros/catkin_ws/src/usb_rs232/scripts/serial_connection.py: Success
Also, when I compile the code with `catkin_make`, my node isn't on the list of: `Built target [my_node]`
The first version of the code (outside ROS-only python script) works fine. I think the problem has to be in the modification of the code, to run it as a ROS node.
Do you have any possible solution, or a hint of what might be the problem here?
I am new to ROS.
I use Ubuntu 16.04, ROS kinetic, Python 2.7
Thanks in advance!
#!/opt/bin/python
#!/usr/bin/env python
import rospy
import serial
import time
from std_msgs.msg import String
def serial_connection():
rospy.init_node('serial_connection', anonymous = True)
rate = rospy.Rate(10)
syxnotita = 0
euros = 0
mesi_gwnia = 0
while not rospy.is_shutdown():
data = [syxnotita, euros, mesi_gwnia]
ser = serial.Serial('/dev/ttyUSB0', 9600)
print (ser.name)
time.sleep(2)
while ser.isOpen():
print ("Port Open")
for i in range(5):
print ('Hola!')
ser.write("Hola!\n")
time.sleep(1)
rate.sleep()
ser.close()
if __name__ == '__main__':
try:
serial_connection()
except rospy.ROSInterruptException:
pass
---
Edit: The output is:
ls: cannot access '/opt/bin/python': No such file or directory
I used the same interpreter (`#!/opt/bin/python`) when I run the python script (outside ROS) from my terminal. Then I added the line `#!/opt/bin/env python` following the steps of the tutorial for python subscriber node.
↧
custom message fails to build; no such file or directory
I followed the custom message documentation to the letter, and searched all the related questions on here, and unfortunately I am still stuck. Could you please have a look?
I am getting the same error building in Ubuntu 14.04 and 16.04, both running Kinetic.
All my packages that have custom messages fail to build (`catkin_make` exits with error). The custom message definition are part of the package, and are not from another package. The error reason is the same for all the packages with custom messages (from my limited understanding the .msg file is not found for some reason): ` fatal error: ... : No such file or directory ... >`


The package organization follows the documentation:

where the custom message file is called my_msg.msg and is inside the msg directory. The contents of `my_msg.msg` are not suspect either:
int32 my_int
float64 my_float
The package.xml does contain the needed lines:
message_generation message_runtime
The CMakeLists.txt contains everything the documentation mentions, and I even ran `catkin_create_pkg test` to make sure all the items are arranged in the correct order. Here is the file:
cmake_minimum_required(VERSION 2.8.3)
project(g_custom_messages)
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
message_generation
)
add_message_files(
FILES
my_msg.msg
)
generate_messages(DEPENDENCIES std_msgs )
catkin_package(CATKIN_DEPENDS message_runtime)
include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(custom_msg_subscriber src/custom_msg_subscriber.cpp)
target_link_libraries(custom_msg_subscriber ${catkin_LIBRARIES})
and in the source code (file name is `custom_msg_subscriber.cpp` and it is inside the src directory), I am refrencing the custom message as `#include `, and am accessing the data via:
void poseMessageReceived(const g_custom_messages::my_msg &msg)
{
storeInt = msg.my_int;
storeFloat = msg.my_float;
}
All the web search gymnastics I did have not helped. Could you please let me know why am I getting an error?
↧
Invoking :make -j2" fail after catkin_make
Hi i have this error when catkin_make. How do i solve this?
[ 38%] Linking CXX executable /home/ubuntu/catkin_ws/devel/lib/sick_tim/sick_tim310_1130000m01
[ 41%] Linking CXX executable /home/ubuntu/catkin_ws/devel/lib/sick_tim/sick_mrs1000
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_get_device_descriptor'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_get_config_descriptor'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_set_debug'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_close'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_init'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_detach_kernel_driver'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_open'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_release_interface'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_get_device_list'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_exit'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_unref_device'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_kernel_driver_active'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_ref_device'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_bulk_transfer'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_free_device_list'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_claim_interface'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_free_config_descriptor'
collect2: error: ld returned 1 exit status
sick_tim/CMakeFiles/sick_tim310_1130000m01.dir/build.make:141: recipe for target '/home/ubuntu/catkin_ws/devel/lib/sick_tim/sick_tim310_1130000m01' failed
make[2]: *** [/home/ubuntu/catkin_ws/devel/lib/sick_tim/sick_tim310_1130000m01] Error 1
CMakeFiles/Makefile2:1715: recipe for target 'sick_tim/CMakeFiles/sick_tim310_1130000m01.dir/all' failed
make[1]: *** [sick_tim/CMakeFiles/sick_tim310_1130000m01.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_get_device_descriptor'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_get_config_descriptor'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_set_debug'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_close'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_init'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_detach_kernel_driver'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_open'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_release_interface'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_get_device_list'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_exit'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_unref_device'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_kernel_driver_active'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_ref_device'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_bulk_transfer'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_free_device_list'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_claim_interface'
/home/ubuntu/catkin_ws/devel/lib/libsick_tim_3xx.so: undefined reference to `libusb_free_config_descriptor'
collect2: error: ld returned 1 exit status
sick_tim/CMakeFiles/sick_mrs1000.dir/build.make:219: recipe for target '/home/ubuntu/catkin_ws/devel/lib/sick_tim/sick_mrs1000' failed
make[2]: *** [/home/ubuntu/catkin_ws/devel/lib/sick_tim/sick_mrs1000] Error 1
CMakeFiles/Makefile2:1518: recipe for target 'sick_tim/CMakeFiles/sick_mrs1000.dir/all' failed
make[1]: *** [sick_tim/CMakeFiles/sick_mrs1000.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j2" failed
↧
↧
Catkin_make bug or problem with rviz? ( tinyxml2 )
I have a problem building catkin_ws because of rviz (tinyxml2)
OS: Ubuntu 16.4
ROS: Kinetic
emara@ProBook:~/catkin_ws$ catkin_make
Base path: /home/emara/catkin_ws
Source space: /home/emara/catkin_ws/src
Build space: /home/emara/catkin_ws/build
Devel space: /home/emara/catkin_ws/devel
Install space: /home/emara/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/emara/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/emara/catkin_ws/build"
####
[ 1%] Built target options
[ 1%] Built target json-c
[ 6%] Built target csm-static
[ 6%] Built target egsl
[ 10%] Built target csm
[ 10%] Built target gpc
[ 10%] Built target std_msgs_generate_messages_lisp
[ 10%] Built target geometry_msgs_generate_messages_nodejs
[ 10%] Built target std_msgs_generate_messages_nodejs
[ 10%] Built target geometry_msgs_generate_messages_lisp
[ 10%] Built target std_msgs_generate_messages_py
[ 10%] Built target geometry_msgs_generate_messages_eus
[ 10%] Built target std_msgs_generate_messages_cpp
[ 10%] Built target geometry_msgs_generate_messages_cpp
[ 10%] Built target geometry_msgs_generate_messages_py
[ 10%] Built target std_msgs_generate_messages_eus
[ 10%] Built target nav_msgs_generate_messages_py
[ 10%] Built target _hector_nav_msgs_generate_messages_check_deps_GetNormal
[ 10%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRobotTrajectory
[ 10%] Built target _hector_nav_msgs_generate_messages_check_deps_GetSearchPosition
[ 10%] Built target _hector_nav_msgs_generate_messages_check_deps_GetDistanceToObstacle
[ 10%] Built target nav_msgs_generate_messages_lisp
[ 10%] Built target nav_msgs_generate_messages_eus
[ 10%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRecoveryInfo
[ 10%] Built target nav_msgs_generate_messages_nodejs
[ 10%] Built target nav_msgs_generate_messages_cpp
[ 10%] Built target actionlib_msgs_generate_messages_nodejs
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_LookupTransformFeedback
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_LookupTransformActionFeedback
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_LookupTransformActionGoal
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_LookupTransformGoal
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_LookupTransformActionResult
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_TFMessage
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_LookupTransformAction
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_FrameGraph
[ 10%] Built target actionlib_msgs_generate_messages_cpp
[ 10%] Built target actionlib_msgs_generate_messages_py
[ 10%] Built target actionlib_msgs_generate_messages_eus
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_LookupTransformResult
[ 10%] Built target _tf2_msgs_generate_messages_check_deps_TF2Error
[ 10%] Built target actionlib_msgs_generate_messages_lisp
[ 10%] Built target rosgraph_msgs_generate_messages_py
[ 10%] Built target _catkin_empty_exported_target
[ 10%] Built target roscpp_generate_messages_nodejs
[ 10%] Built target roscpp_generate_messages_lisp
[ 10%] Built target roscpp_generate_messages_eus
[ 10%] Built target roscpp_generate_messages_cpp
[ 10%] Built target rosgraph_msgs_generate_messages_nodejs
[ 10%] Built target rosgraph_msgs_generate_messages_eus
[ 10%] Built target roscpp_generate_messages_py
[ 10%] Built target rosgraph_msgs_generate_messages_cpp
[ 10%] Built target gtest
[ 10%] Built target rosgraph_msgs_generate_messages_lisp
[ 10%] Built target _actionlib_generate_messages_check_deps_TestRequestAction
[ 10%] Built target _actionlib_generate_messages_check_deps_TestAction
[ 10%] Built target _actionlib_generate_messages_check_deps_TestResult
[ 10%] Built target _actionlib_generate_messages_check_deps_TestRequestActionGoal
[ 10%] Built target _actionlib_generate_messages_check_deps_TestGoal
[ 10%] Built target _actionlib_generate_messages_check_deps_TwoIntsActionResult
[ 10%] Built target _actionlib_generate_messages_check_deps_TestFeedback
[ 10%] Built target _actionlib_generate_messages_check_deps_TestActionGoal
[ 10%] Built target _actionlib_generate_messages_check_deps_TestRequestFeedback
[ 10%] Built target _actionlib_generate_messages_check_deps_TestRequestGoal
[ 10%] Built target _actionlib_generate_messages_check_deps_TestRequestActionResult
[ 10%] Built target _actionlib_generate_messages_check_deps_TestActionFeedback
[ 10%] Built target _actionlib_generate_messages_check_deps_TwoIntsGoal
[ 10%] Built target _actionlib_generate_messages_check_deps_TestActionResult
[ 10%] Built target _actionlib_generate_messages_check_deps_TwoIntsActionFeedback
[ 10%] Built target _actionlib_generate_messages_check_deps_TwoIntsFeedback
[ 10%] Built target _actionlib_generate_messages_check_deps_TestRequestResult
[ 10%] Built target _actionlib_generate_messages_check_deps_TwoIntsResult
[ 10%] Built target _actionlib_generate_messages_check_deps_TwoIntsActionGoal
[ 10%] Built target _actionlib_generate_messages_check_deps_TestRequestActionFeedback
[ 10%] Built target bond_generate_messages_lisp
[ 10%] Built target sensor_msgs_generate_messages_eus
[ 10%] Built target _actionlib_generate_messages_check_deps_TwoIntsAction
[ 10%] Built target map_to_image_node
[ 10%] Built target sensor_msgs_generate_messages_py
[ 10%] Built target sensor_msgs_generate_messages_nodejs
[ 10%] Built target sensor_msgs_generate_messages_lisp
[ 10%] Built target sensor_msgs_generate_messages_cpp
[ 10%] Built target nodelet_generate_messages_nodejs
[ 10%] Built target bond_generate_messages_py
[ 10%] Built target nodelet_generate_messages_eus
[ 10%] Built target nodelet_generate_messages_cpp
[ 10%] Built target nodelet_generate_messages_py
[ 10%] Built target bond_generate_messages_cpp
[ 10%] Built target nodelet_generate_messages_lisp
[ 10%] Built target bond_generate_messages_nodejs
[ 10%] Built target bond_generate_messages_eus
[ 12%] Built target rplidarNode
[ 12%] Built target rplidarNodeClient
[ 12%] Built target visualization_msgs_generate_messages_nodejs
[ 12%] Built target visualization_msgs_generate_messages_eus
[ 12%] Built target _tf_generate_messages_check_deps_tfMessage
[ 12%] Built target visualization_msgs_generate_messages_lisp
[ 12%] Built target _tf_generate_messages_check_deps_FrameGraph
[ 12%] Built target visualization_msgs_generate_messages_py
[ 12%] Built target visualization_msgs_generate_messages_cpp
[ 12%] Built target topic_tools_generate_messages_nodejs
[ 12%] Built target pcl_msgs_generate_messages_cpp
[ 12%] Built target pcl_ros_gencfg
[ 12%] Built target nodelet_topic_tools_gencfg
[ 12%] Built target dynamic_reconfigure_generate_messages_py
[ 12%] Built target pcl_msgs_generate_messages_eus
[ 12%] Built target dynamic_reconfigure_generate_messages_nodejs
[ 12%] Built target dynamic_reconfigure_gencfg
[ 12%] Built target topic_tools_generate_messages_py
[ 12%] Built target topic_tools_generate_messages_lisp
[ 12%] Built target std_srvs_generate_messages_py
[ 12%] Built target dynamic_reconfigure_generate_messages_cpp
[ 12%] Built target std_srvs_generate_messages_cpp
[ 12%] Built target dynamic_reconfigure_generate_messages_eus
[ 12%] Built target pcl_msgs_generate_messages_lisp
[ 12%] Built target dynamic_reconfigure_generate_messages_lisp
[ 12%] Built target std_srvs_generate_messages_lisp
[ 12%] Built target pcl_msgs_generate_messages_py
[ 12%] Built target pcl_msgs_generate_messages_nodejs
[ 12%] Built target std_srvs_generate_messages_nodejs
[ 12%] Built target topic_tools_generate_messages_cpp
[ 12%] Built target topic_tools_generate_messages_eus
[ 12%] Built target std_srvs_generate_messages_eus
[ 12%] Built target polar_scan_matcher
[ 13%] Built target amcl_pf
[ 13%] Built target amcl_gencfg
[ 13%] Built target amcl_map
[ 13%] Automatic moc for target executable
[ 13%] Automatic moc for target rviz
[ 13%] Built target _hector_mapping_generate_messages_check_deps_HectorIterData
[ 13%] Built target executable_automoc
[ 13%] Built target _hector_mapping_generate_messages_check_deps_HectorDebugInfo
[ 13%] Built target rviz_automoc
[ 13%] Automatic moc for target rviz_default_plugin
[ 13%] Automatic moc for target rviz_image_view
[ 13%] Automatic moc for target render_points_test
[ 14%] Automatic moc for target line_edit_with_button_test
[ 14%] Built target rviz_image_view_automoc
[ 14%] Built target rviz_default_plugin_automoc
[ 14%] Built target render_points_test_automoc
[ 14%] Built target line_edit_with_button_test_automoc
[ 14%] Automatic moc for target connect_test
[ 14%] Automatic moc for target new_display_dialog_test
[ 14%] Automatic moc for target render_panel_test
[ 14%] Automatic moc for target interactive_marker_test
[ 14%] Built target connect_test_automoc
[ 14%] Built target new_display_dialog_test_automoc
[ 14%] Built target interactive_marker_test_automoc
[ 14%] Built target render_panel_test_automoc
[ 14%] Automatic moc for target color_editor_test
[ 14%] Automatic moc for target two_render_widgets
[ 14%] Automatic moc for target myviz
[ 14%] Automatic moc for target rviz_plugin_tutorials
[ 14%] Built target two_render_widgets_automoc
[ 14%] Built target color_editor_test_automoc
[ 14%] Built target myviz_automoc
[ 14%] Built target rviz_plugin_tutorials_automoc
[ 15%] Built target costmap_2d_gencfg
[ 15%] Built target basic_shapes
[ 15%] Built target voxel_grid
[ 17%] Built target points_and_lines
[ 17%] Built target map_msgs_generate_messages_cpp
[ 17%] Built target map_msgs_generate_messages_lisp
[ 17%] Built target map_msgs_generate_messages_nodejs
[ 17%] Built target map_msgs_generate_messages_eus
[ 17%] Built target map_msgs_generate_messages_py
[ 17%] Built target _costmap_2d_generate_messages_check_deps_VoxelGrid
[ 17%] Built target base_local_planner_gencfg
[ 17%] Built target dwa_local_planner_gencfg
[ 17%] Built target global_planner_gencfg
[ 17%] Built target _base_local_planner_generate_messages_check_deps_Position2DInt
[ 17%] Built target move_base_gencfg
[ 17%] Built target _navfn_generate_messages_check_deps_SetCostmap
[ 17%] Built target move_base_msgs_generate_messages_nodejs
[ 17%] Built target _navfn_generate_messages_check_deps_MakeNavPlan
[ 17%] Built target move_base_msgs_generate_messages_lisp
[ 17%] Built target move_base_msgs_generate_messages_eus
[ 17%] Built target move_base_msgs_generate_messages_py
[ 17%] Built target move_base_msgs_generate_messages_cpp
[ 18%] Built target test_math_utils_sanity
[ 18%] Built target sm_animate
[ 18%] Built target test_json_ld
[ 18%] Built target test_json
[ 19%] Built target json2carmen
[ 20%] Built target json_pipe
[ 20%] Built target log2pdf
[ 21%] Built target carmen2json
[ 21%] Built target json_decimate
[ 23%] Built target sm2
[ 23%] Built target json_extract_field
[ 24%] Built target ld_select
[ 24%] Built target sm1
[ 24%] Built target ld_alternate
[ 24%] Built target sm3
[ 25%] Built target ld_noise
[ 25%] Built target ld_slip
[ 25%] Built target ld_fisher
[ 25%] Built target ld_smooth
[ 25%] Built target json_extract
[ 25%] Built target ld_resample
[ 25%] Built target ld_remove_doubles
[ 25%] Built target ld_recover
[ 25%] Built target json_split
[ 25%] Built target ld_cluster_curv
[ 25%] Built target ld_exp_tro1
[ 25%] Built target json2matlab
[ 25%] Built target ld_linearize
[ 25%] Built target test_options
[ 25%] Built target ld_purify
[ 25%] Built target test2
[ 26%] Built target egsl_test
[ 26%] Built target egsl_test_allocation
[ 28%] Built target hector_nav_msgs_generate_messages_py
[ 28%] Built target kdl_conversions
[ 28%] Built target eigen_conversions
[ 29%] Built target hector_nav_msgs_generate_messages_lisp
[ 30%] Built target hector_nav_msgs_generate_messages_cpp
[ 30%] Built target hector_nav_msgs_generate_messages_eus
[ 30%] Built target hector_nav_msgs_generate_messages_nodejs
[ 30%] Built target tf2_msgs_generate_messages_nodejs
[ 31%] Built target tf2_msgs_generate_messages_py
[ 32%] Built target tf2_msgs_generate_messages_cpp
[ 34%] Built target tf2_msgs_generate_messages_eus
[ 35%] Built target tf2_msgs_generate_messages_lisp
[ 37%] Built target actionlib_generate_messages_cpp
[ 40%] Built target actionlib_generate_messages_py
[ 40%] Built target geotiff_writer
[ 42%] Built target actionlib_generate_messages_nodejs
[ 43%] Built target actionlib_generate_messages_lisp
[ 46%] Built target actionlib_generate_messages_eus
[ 46%] Built target laser_scan_sparsifier
[ 47%] Built target laser_scan_splitter
[ 48%] Built target tf_generate_messages_lisp
[ 48%] Built target tf_generate_messages_cpp
[ 48%] Built target tf_generate_messages_py
[ 48%] Built target tf_generate_messages_nodejs
[ 48%] Built target tf_generate_messages_eus
[ 48%] Built target amcl_sensors
[ 48%] Built target hector_mapping_generate_messages_cpp
[ 48%] Built target hector_mapping_generate_messages_nodejs
[ 48%] Built target hector_mapping_generate_messages_py
[ 48%] Built target hector_mapping_generate_messages_lisp
[ 50%] Built target hector_mapping_generate_messages_eus
[ 50%] Built target costmap_2d_generate_messages_lisp
[ 50%] Built target costmap_2d_generate_messages_cpp
[ 50%] Built target connect_test
[ 50%] Built target costmap_2d_generate_messages_eus
[ 50%] Built target costmap_2d_generate_messages_py
[ 50%] Built target costmap_2d_generate_messages_nodejs
[ 50%] Built target base_local_planner_generate_messages_nodejs
[ 51%] Built target base_local_planner_generate_messages_lisp
[ 51%] Built target base_local_planner_generate_messages_eus
[ 51%] Built target base_local_planner_generate_messages_py
[ 51%] Built target base_local_planner_generate_messages_cpp
[ 51%] Built target navfn_generate_messages_nodejs
[ 51%] Built target navfn_generate_messages_cpp
[ 51%] Built target navfn_generate_messages_py
[ 52%] Built target navfn_generate_messages_eus
[ 52%] Built target navfn_generate_messages_lisp
[ 52%] Built target tf2_msgs_generate_messages
[ 52%] Built target hector_nav_msgs_generate_messages
[ 53%] Built target tf2
[ 54%] Built target hector_geotiff_plugins
[ 54%] Built target actionlib_gencpp
[ 54%] Built target geotiff_node
[ 54%] Built target geotiff_saver
[ 54%] Built target actionlib_generate_messages
[ 54%] Built target laser_scan_sparsifier_node
[ 54%] Built target laser_scan_sparsifier_nodelet
[ 54%] Built target laser_scan_splitter_nodelet
[ 54%] Built target laser_scan_splitter_node
[ 54%] Built target hector_mapping_generate_messages
[ 54%] Built target tf_generate_messages
[ 54%] Built target costmap_2d_generate_messages
[ 54%] Built target base_local_planner_generate_messages
[ 54%] Built target navfn_generate_messages
[ 54%] Built target map_server_image_loader
[ 54%] Built target map_server-map_saver
[ 54%] Built target rtest
[ 56%] Built target tf2_py
[ 56%] Built target actionlib
[ 56%] Built target map_server
[ 56%] Built target tf2_ros
[ 56%] Built target tf2_ros_buffer_server
[ 57%] Built target tf2_ros_static_transform_publisher
[ 58%] Built target amcl
[ 58%] Built target tf
[ 59%] Built target fake_localization
[ 59%] Built target tf_change_notifier
[ 59%] Built target testBroadcaster
[ 60%] Built target costmap_2d
[ 60%] Built target static_transform_publisher
[ 60%] Built target tf_empty_listener
[ 60%] Built target tf_monitor
[ 60%] Built target testListener
[ 60%] Built target tf_echo
[ 60%] Built target transform_listener_unittest
[ 60%] Built target pose_and_orientation_to_imu_node
[ 60%] Built target imu_attitude_to_tf_node
[ 60%] Built target hector_map_server
[ 60%] Built target hector_trajectory_server
[ 60%] Built target ncd_parser
[ 62%] Built target interactive_markers
[ 62%] Built target psm_node
[ 62%] Built target laser_ortho_projector
[ 63%] Built target laser_scan_matcher
[ 63%] Built target scan_to_cloud_converter_node
[ 64%] Built target tf_conversions
[ 64%] Built target interactive_marker_test
[ 65%] Built target costmap_2d_node
[ 65%] Built target costmap_2d_cloud
[ 65%] Built target costmap_2d_markers
[ 67%] Built target layers
[ 67%] Built target pong
[ 67%] Built target selection
[ 67%] Built target point_cloud
[ 68%] Built target basic_controls
[ 69%] Built target cube
[ 69%] Built target simple_marker
[ 69%] Built target menu
[ 69%] Built target laser_ortho_projector_node
[ 69%] Built target laser_ortho_projector_nodelet
[ 69%] Built target laser_scan_matcher_node
[ 69%] Built target laser_scan_matcher_nodelet
[ 69%] Built target hector_mapping
[ 69%] Built target point_grid
[ 69%] Built target clear_costmap_recovery
[ 70%] Built target move_slow_and_clear
[ 73%] Built target base_local_planner
[ 74%] Built target navfn
[ 84%] Built target rviz
[ 84%] Built target executable
[ 84%] Built target trajectory_planner_ros
[ 85%] Built target rviz_image_view
[ 85%] Built target line_edit_with_button_test
[ 85%] Built target render_points_test
[ 85%] Built target new_display_dialog_test
[ 86%] Built target render_panel_test
[ 86%] Built target color_editor_test
[ 86%] Meta target for rviz_sip Python bindings...
[ 87%] Built target two_render_widgets
[ 87%] Built target librviz_sip
[ 87%] Built target myviz
[ 89%] Built target rqt_rviz
[ 89%] Built target carrot_planner
[ 90%] Built target rviz_plugin_tutorials
[ 90%] Built target dwa_local_planner
[ 91%] Built target navfn_node
[ 92%] Built target global_planner
[ 92%] Built target rotate_recovery
[ 92%] Built target planner
[ 92%] Built target move_base
[ 92%] Built target move_base_node
[ 92%] Building CXX object rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/robot_model_display.cpp.o
[ 92%] Building CXX object rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/tools/move_tool.cpp.o
[ 92%] Building CXX object rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/tools/point_tool.cpp.o
[ 92%] Building CXX object rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/tools/pose_tool.cpp.o
**/home/emara/catkin_ws/src/rviz/src/rviz/default_plugin/robot_model_display.cpp: In member function ‘virtual void rviz::RobotModelDisplay::load()’:
/home/emara/catkin_ws/src/rviz/src/rviz/default_plugin/robot_model_display.cpp:185:41: error: no matching function for call to ‘urdf::Model::initXml(tinyxml2::XMLElement*)’
if( !descr.initXml( doc.RootElement() ))**
^
In file included from /home/emara/catkin_ws/src/rviz/src/rviz/default_plugin/robot_model_display.cpp:34:0:
/opt/ros/kinetic/include/urdf/model.h:55:8: note: candidate: bool urdf::Model::initXml(TiXmlElement*)
bool initXml(TiXmlElement *xml);
^
/opt/ros/kinetic/include/urdf/model.h:55:8: note: no known conversion for argument 1 from ‘tinyxml2::XMLElement*’ to ‘TiXmlElement*’
/opt/ros/kinetic/include/urdf/model.h:57:8: note: candidate: bool urdf::Model::initXml(TiXmlDocument*)
bool initXml(TiXmlDocument *xml);
^
/opt/ros/kinetic/include/urdf/model.h:57:8: note: no known conversion for argument 1 from ‘tinyxml2::XMLElement*’ to ‘TiXmlDocument*’
[ 92%] Building CXX object rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/tools/goal_tool.cpp.o
[ 92%] Building CXX object rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/tools/initial_pose_tool.cpp.o
rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/build.make:1166: recipe for target 'rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/robot_model_display.cpp.o' failed
make[2]: *** [rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/robot_model_display.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:22619: recipe for target 'rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/all' failed
make[1]: *** [rviz/src/rviz/default_plugin/CMakeFiles/rviz_default_plugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
↧
Why do we need to Install a node Executable
Hello,
I am newbie in ROS and CMake (catkin) thing. I have a cmake, in which a node is added as executable:
add_executable(${PROJECT_NAME}_node src/implementation.cpp src/NodeName2_node.cpp)
So, I can run this node from launch file of other projects.
Later in Cmake, he also installed that executable by following statements:
install(TARGETS ${PROJECT_NAME}_node ${PROJECT_NAME}
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
I did not understand why he needed to install those executable. Can someone please explain this.
↧
catkin_make cpp error-- couln't find package
After I type catkin_create_pkg the all folders and files created in `ros_basics_tutorials`.
However After this command, I type
cd catkin_ws
and then
catkin_make
This error is shown
I couldn't solve? How can solve it?
selcuk@ubuntu:~/catkin_ws$ catkin_make
Base path: /home/selcuk/catkin_ws
Source space: /home/selcuk/catkin_ws/src
Build space: /home/selcuk/catkin_ws/build
Devel space: /home/selcuk/catkin_ws/devel
Install space: /home/selcuk/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in
"/home/selcuk/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/selcuk/catkin_ws/build/devel
-- Using CMAKE_PREFIX_PATH: /home/selcuk/catkin_ws/devel;/opt/ros/melodic
-- This workspace overlays: /home/selcuk/catkin_ws/devel;/opt/ros/melodic
-- Using PYTHON_EXECUTABLE: /home/selcuk/python/anaconda2/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/selcuk/catkin_ws/build/test_results
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 2 packages in topological order:
-- ~~ - ros_basics_tutorials
-- ~~ - naoqi_driver
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'ros_basics_tutorials'
-- ==> add_subdirectory(ros_basics_tutorials)
-- Could NOT find cpp (missing: cpp_DIR)
-- Could not find the required component 'cpp'. The following CMake
error indicates that you either need
to install the package with the same
name or change your environment so
that it can be found. CMake Error at
/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83
(find_package): Could not find a
package configuration file provided by
"cpp" with any of the following
names:
cppConfig.cmake
cpp-config.cmake
Add the installation prefix of "cpp"
to CMAKE_PREFIX_PATH or set "cpp_DIR"
to a directory containing one of the
above files. If "cpp" provides a
separate development package or SDK,
be sure it has been installed. Call
Stack (most recent call first):
ros_basics_tutorials/CMakeLists.txt:10
(find_package)
-- Configuring incomplete, errors occurred! See also
"/home/selcuk/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also
"/home/selcuk/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target
'cmake_check_build_system' failed
make: *** [cmake_check_build_system]
Error 1 Invoking "make
cmake_check_build_system" failed
↧
Update project tree of ROS package in QT creator
I'm using QT creator to edit my ROS package. However, when I want to create a new source file within my package using > roscd my_package> cd src > touch newFile.cpp
in my Terminal and then in QT-creator I add the following lines to my CMakeLists.txt
> add_executable(newExec src/newFile.cpp) > target_link_libraries(newExec ${catkin_LIBRARIES}) > add_dependencies(newExec my_package_generate_messages_cpp)
and hit the "Build Now"-button, the project-tree is not updated even though it should. The only way, that I can make the file show up is by shutting down qtcreator and reopen it. How can I have this done more conveniently (/what am I doing wrong)?
↧
↧
catkin_make build failed kinetic android
Hi,
I'm trying to install Android along with kinetic ROS on Linux 16.04 LTS.
Once I get to the "catkin_make" step the build fails. I'm following this tutorial [http://wiki.ros.org/android/Tutorials/kinetic/Installation%20-%20ROS%20Development%20Environment](http://wiki.ros.org/android/Tutorials/kinetic/Installation%20-%20ROS%20Development%20Environment)
getting stuck on the last step of 3.1.
The first thing that failed was the address of my java directory. So I have to change it every time with `export JAVA_HOME="/usr/lib/jvm/java-8-oracle/jre/` after that when I use the catkin_make the build starts and suddenly fails like this.
luis@luischd:~/android_core$ catkin_make
Base path: /home/luis/android_core
Source space: /home/luis/android_core/src
Build space: /home/luis/android_core/build
Devel space: /home/luis/android_core/devel
Install space: /home/luis/android_core/install
####
#### Running command: "make cmake_check_build_system" in "/home/luis/android_core/build"
####
####
#### Running command: "make -j4 -l4" in "/home/luis/android_core/build"
####
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_238rznishtaj5ln8ltl852uvm.run(/home/luis/android_core/src/android_core/build.gradle:25)
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /opt/android-sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':android_10'.
> The SDK directory '/opt/android-sdk' does not exist.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.507 secs
android_core/CMakeFiles/gradle-android_core.dir/build.make:57: fallo en las instrucciones para el objetivo 'android_core/CMakeFiles/gradle-android_core'
make[2]: *** [an
droid_core/CMakeFiles/gradle-android_core] Error 1
CMakeFiles/Makefile2:447: fallo en las instrucciones para el objetivo 'android_core/CMakeFiles/gradle-android_core.dir/all'
make[1]: *** [android_core/CMakeFiles/gradle-android_core.dir/all] Error 2
Makefile:138: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
↧
roslaunch doesn't register with catkin_make but does with catkin_make install?
Hi,
When I make my workspace with
catkin_make
and then source my workspace with
source devel/setup.bash
roslaunch can't recognise any of my packages with the tab function but if i type out the full command such as
roslaunch xsens_driver xsens_driver.launch
however when I run
catkin_make install
and then
source install/setup.bash
my packages are there for me. Why is this occurring because it never use to occur and now when I try to follow someone else package it causes problems? Thanks in advance for any help on this issue :) This problem has caused me to develop a hatred for launch files.
↧
catkin_make won't compile on my raspberry pi
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- theora_image_transport: 1 messages, 0 services
-- Checking for module 'ogg'
-- No package 'ogg' found
CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
image_transport_plugins/theora_image_transport/CMakeLists.txt:12 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/pi/new_catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pi/new_catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:318: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
I have been trying for days to get raspicam_node working I have ros kinetic downloaded on my pi and can not for the life of me get a workspace to run a catkin_make with raspicam_node
this particular error has had me stumped for hours it says that it cannot find the package ogg when it is going through the theora_image_transport package I have googled everything and what it seems to point to is something with Cmake but I have no idea how to fix it
↧
catkin_make error - /home/ritesh/catkin_ws/src/Sphero-ROS-master/sphero_gazebo/src/gazebo_sphero_controller.cpp:23:10: fatal error: gazebo/math/gzmath.hh: No such file or directory
I have ROS Melodic on my computer. I started by installing Sphero ROS (https://github.com/eborghi10/Sphero-ROS) for controlling through the keyboard. Then I also installed ROS turtlebot (https://github.com/turtlebot/turtlebot). Finally I installed the Robot Controllers (https://github.com/fetchrobotics/robot_controllers).
I ran catkin_make but I keep getting this error -
/home/ritesh/catkin_ws/src/Sphero-ROS-master/sphero_gazebo/src/gazebo_sphero_controller.cpp:23:10: fatal error: gazebo/math/gzmath.hh: No such file or directory
include
compilation terminated.
Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/build.make:62: recipe for target 'Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/src/gazebo_sphero_controller.cpp.o' failed
make[2]: [Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/src/gazebo_sphero_controller.cpp.o] Error 1
CMakeFiles/Makefile2:6580: recipe for target 'Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/all' failed
make[1]: [Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: * [all] Error 2
Invoking "make -j4 -l4" failed
I looked for solutions online but am unable to fix it. Can someone help please?
↧
↧
Roslaunch can't locate node, but rosrun works fine
I'm working on a simple node written entirely in python. To make it work with roslaunch, I made it into a package. I got the package working fine, and I can run `rosrun my_package controller` just fine. However, when I run it in a roslaunch file, it gives the error ` ERROR: cannot launch node of type [my_package/controller]: can't locate node [controller] in package [my_package]` What is wrong with my environment or package?
As a minimal example, I get this with the simple launch file:
What I've tried so far:
1. Changing the name of the executable from "controller" to "controller.py" (And adjusting in the launch file)
2. Setting 777 permissions on the executable
3. Relaunching the terminal
4. `source`ing .bashrc again (which has setup.bash in it)
5. Rerunning `catkin_make` a lot
↧
ETH Modular sensor fusion framework fails to launch
I am running ROS Kinetic on Ubuntu Xenial on an x86_64, with kernel 4.15.0-29-generic. I am trying to follow the following tutorial: http://wiki.ros.org/ethzasl_sensor_fusion/Tutorials/Introductory%20Tutorial%20for%20Multi-Sensor%20Fusion%20Framework
I followed all the steps to compile the framework as mentioned in the tutorial and could not make it work. So I used the additional packages mentioned and compiled all 4 of them:
https://github.com/catkin/catkin_simple
https://github.com/ethz-asl/glog_catkin
https://github.com/ethz-asl/asctec_mav_framework
https://github.com/ethz-asl/ethzasl_msf
which seems to be more successful. However, when I try to launch the package mentioned (viconpos_sensor), I keep getting the following error:
[viconpos_sensor.launch] is not a launch file name The traceback for the exception was written to the log file
Is it a compilation issue? Did I not set everything up correctly?
Here is my environment:
ROS_ROOT=/opt/ros/kinetic/share/ros
ROS_PACKAGE_PATH=/home/yukti/Desktop/MSF_PACKAGE/catkin_simple-master:/home/yukti/catkin_ws/src:/opt/ros/kinetic/share
ROS_MASTER_URI=http://localhost:11311
ROS_VERSION=1
ROS_SPACE=/home/yukti/ros/rosbuild
ROSLISP_PACKAGE_DIRECTORIES=/home/yukti/Desktop/MSF_PACKAGE/devel/share/common-lisp:/home/yukti/catkin_ws/devel/share/common-lisp
ROS_DISTRO=kinetic
ROS_ETC_DIR=/opt/ros/kinetic/etc/ros
Some more information that would help replicate the bug is as follows:
i have a master folder MSF_PACKAGE on my desktop that has the aforementioned packages listed within it. And I have set up my catkin workspace. Here is how I tried to compile the program:
catkin_make --source ~/Desktop/MSF_PACKAGE/glog_catkin-master/
source devel/setup.bash
rospack profile
and repeated this for all the other packages.
Any help would be appreciated. Thanks!
↧
The error when running catkin_make descartes package
In file included from /opt/ros/kinetic/include/moveit/kinematic_constraints/kinematic_constraint.h:41:0,
from /home/tardiss/panarobot_ws/src/descartes/descartes_trajectory/include/descartes_trajectory/cart_trajectory_pt.h:28,
from /home/tardiss/panarobot_ws/src/descartes/descartes_trajectory/include/descartes_trajectory/axial_symmetric_pt.h:22,
from /home/tardiss/panarobot_ws/src/descartes/descartes_trajectory/src/axial_symmetric_pt.cpp:1:
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h: In constructor ‘moveit::core::JumpThreshold::JumpThreshold(double)’:
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:81:60: error: no matching function for call to ‘moveit::core::JumpThreshold::JumpThreshold()’
explicit JumpThreshold(double jt_factor) : JumpThreshold()
^
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:81:60: note: candidates are:
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: constexpr moveit::core::JumpThreshold::JumpThreshold(const moveit::core::JumpThreshold&)
struct JumpThreshold
^
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: candidate expects 1 argument, 0 provided
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: constexpr moveit::core::JumpThreshold::JumpThreshold(moveit::core::JumpThreshold&&)
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: candidate expects 1 argument, 0 provided
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h: In constructor ‘moveit::core::JumpThreshold::JumpThreshold(double, double)’:
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:86:83: error: no matching function for call to ‘moveit::core::JumpThreshold::JumpThreshold()’
explicit JumpThreshold(double jt_revolute, double jt_prismatic) : JumpThreshold()
^
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:86:83: note: candidates are:
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: constexpr moveit::core::JumpThreshold::JumpThreshold(const moveit::core::JumpThreshold&)
struct JumpThreshold
^
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: candidate expects 1 argument, 0 provided
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: constexpr moveit::core::JumpThreshold::JumpThreshold(moveit::core::JumpThreshold&&)
/opt/ros/kinetic/include/moveit/robot_state/robot_state.h:71:8: note: candidate expects 1 argument, 0 provided
↧
Catkin_make runs another cmakelists file
Every time I run catkin_make on a new workspace, I get the output of another cmakelists file (naturally catkin_make fails) that I used in another non-ros program. I've looked in the catkin_make source sys.path to see if the path had somehow been modified. Moreover, I checked the bashrc to see if I was adding paths but it seems that there's nothing odd there either.
↧
↧
SteadyTimer related types not found
I was trying to install the ROS wrapper for Astra camera on a raspberry pi 3, however, I faced the following issue during `catkin_make`:
In file included from /home/erle/catkin_ws/src/bond_core/bondcpp/src/timeout.cpp:30:0:
/home/erle/catkin_ws/src/bond_core/bondcpp/include/bondcpp/timeout.h:58:8: error: ‘SteadyTimer’ in namespace ‘ros’ does not name a type
ros::SteadyTimer timer_;
^
/home/erle/catkin_ws/src/bond_core/bondcpp/include/bondcpp/timeout.h:59:8: error: ‘SteadyTime’ in namespace ‘ros’ does not name a type
ros::SteadyTime deadline_;
^
/home/erle/catkin_ws/src/bond_core/bondcpp/include/bondcpp/timeout.h:63:33: error: ‘SteadyTimerEvent’ in namespace ‘ros’ does not name a type
void timerCallback(const ros::SteadyTimerEvent &e);
^
This is just part of the errors, but I noticed that most of them mentioned about this SteadyTimer. How should I solve this?
↧
CMake Error: Project 'nav_core' tried to find library '-lpthread'
I can't to build navigation stack (https://github.com/ros-planning/navigation).
My system is: Ubuntu 16.04 4.15.0-43-generic, ROS Kinetic.
What I do:
mkdir -p navigation_ws/src
cd navigation_ws/src
catkin_init_workspace
git clone -b kinetic-devel https://github.com/ros-planning/navigation
cd ..
catkin_make
The error message is:
CMake Error at /home/username/navigation_ws/devel/share/costmap_2d/cmake/costmap_2dConfig.cmake:148 (message):
Project 'nav_core' tried to find library '-lpthread'. The library is
neither a target nor built/installed properly. Did you compile project
'costmap_2d'? Did you find_package() it before the subdirectory containing
its code is included?
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
navigation/nav_core/CMakeLists.txt:4 (find_package)
Then I found that '-l-lpthread' instead of '-lpthread' presents in files: devel/lib/pkgconfig/costmap_2d.pc, build/navigation/costmap_2d/catkin_generated/pkg.installspace.context.pc.py, build/navigation/costmap_2d/catkin_generated/pkg.develspace.context.pc.py and build/navigation/costmap_2d/catkin_generated/installspace/costmap_2d.pc
Please, help to solve this problem.
↧
catkin_make issue updating .srv and .cpp file simultaneously
Think of a situation where rosnode (written in c++) is using messages generated by a .srv file. You want to add a field to the .srv file and use it in the rosnode. If you make these changes simultaneously, catkin_make will fail because it does not yet recognize the new field you have added. Is there a way to make sure that message_generation occurs before compilation of c++ files during catkin_make? Would this even avoid the issue?
↧