-
Notifications
You must be signed in to change notification settings - Fork 117
moveit_ros_planning_interface dependency triggers ros::init() error #300
Comments
Can you give me a backtrace? I tried to replicate this and things seem to work for me. |
Meanwhile I found out that the error appears only if I add dependencies to some of my other selfmade packages (which I accidently still had included when the error appeared first, sorry for the sloppiness). The error goes away if I remove these dependencies. Anyway, here's the backtrace:
I don't know whether it's very helpful. Maybe you anyways get an idea where the problem might come from or how I could further debug it? I don't really need to add the moveit_ros_planning_interface dependency for my project, but it's probably best if we can track down the source of the error so it doesn't appear again. System info: I'm using Ubuntu 12.04 64-bit, ROS Groovy from Ubuntu repos and tried MoveIt both from source and Ubuntu repos. |
I think I have a similar issue but with
|
When I accidently add the moveit_ros_planning_interface dependency to one of my projects not containing any code other than a .cpp file with the contents
, I reproducibly keep getting runtime errors like "You must call ros::init() before creating the first NodeHandle".
I don't know whether this dependency is needed by the end user under any circumstances; if not, maybe some kind of warning can be inserted somewhere?
The text was updated successfully, but these errors were encountered: